Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP Server Errors (Similar to #19) #39

Open
nicholasb2101 opened this issue Sep 29, 2018 · 0 comments
Open

HTTP Server Errors (Similar to #19) #39

nicholasb2101 opened this issue Sep 29, 2018 · 0 comments

Comments

@nicholasb2101
Copy link

After tireless hours of running into compatibility issues, I've made it to somewhat of a point where I can take readings from my sensors. But when I try and view the via the built-in HTTP server I run into an error:

Exception happened during processing of request from ('192.168.1.237', 46793) Traceback (most recent call last): File "/usr/lib/python2.7/SocketServer.py", line 290, in _handle_request_nobloc k self.process_request(request, client_address) File "/usr/lib/python2.7/SocketServer.py", line 318, in process_request self.finish_request(request, client_address) File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python2.7/SocketServer.py", line 652, in __init__ self.handle() File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle self.handle_one_request() File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request method() File "/home/pi/AirPi/outputs/http.py", line 323, in do_GET page = replace(page, "$time$", self.server.httpoutput.lastUpdate) AttributeError: 'HTTP' object has no attribute 'lastUpdate'

This occurs when I initially try to load the webpage (which I had previously enabled in~AirPi/cfg/settings.cfg). I haven't the slightest clue as to what I can do so any help would be much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant