andrewjw / smartdisplay-backend Goto Github PK
View Code? Open in Web Editor NEWCode for the backend that powers my personal smart display
License: MIT License
Code for the backend that powers my personal smart display
License: MIT License
----------------------------------------
Exception occurred during processing of request from ('192.168.1.36', 52493)
Traceback (most recent call last):
File "/usr/local/lib/python3.12/socketserver.py", line 318, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/local/lib/python3.12/socketserver.py", line 349, in process_request
self.finish_request(request, client_address)
File "/usr/local/lib/python3.12/socketserver.py", line 362, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/local/lib/python3.12/socketserver.py", line 761, in __init__
self.handle()
File "/usr/local/lib/python3.12/http/server.py", line 436, in handle
self.handle_one_request()
File "/usr/local/lib/python3.12/http/server.py", line 424, in handle_one_request
method()
File "/display/smartdisplay/smart_display_handler.py", line 30, in do_GET
data = self.trains_to_london()
^^^^^^^^^^^^^^^^^^^^^^^
File "/display/smartdisplay/smart_display_handler.py", line 132, in trains_to_london
"trains": get_trains_to_london()
^^^^^^^^^^^^^^^^^^^^^^
File "/display/smartdisplay/trains.py", line 64, in get_trains_to_london
"is_late": _is_late(train.std, train.etd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/display/smartdisplay/trains.py", line 106, in _is_late
ehour, eminute = int(estimated.split(":")[0]), int(estimated.split(":")[1])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: 'Cancelled'
----------------------------------------
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
Dockerfile
python 3.12-slim
.github/workflows/build.yml
actions/checkout v4
actions/setup-python v5
requirements.txt
soco ==0.30.2
pillow ==10.2.0
requests ==2.31.0
types-requests ==2.31.0.20240125
types-Pillow ==10.2.0.20240125
pycodestyle ==2.11.1
mypy ==1.8.0
nre-darwin-py ==0.4.0
sentry-sdk ==1.40.0
prometheus-api-client ==0.5.4
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.