espresso-arm
espresso-arm copied to clipboard
Error when launching web server -- HALP!
When I start espressoGUI in python, I receive the following 2 lines returned:
remi.server INFO Started websocket server 0.0.0.0:43979 remi.server INFO Started httpserver http://127.0.0.1:8081/
Once I go to access the site from a web browser, it returns the following:
Traceback (most recent call last):
File "/home/pi/.local/lib/python2.7/site-packages/remi/server.py", line 809, in do_GET
self.client.root = self.main(*self.server.userdata)
File "espressoGUI.py", line 42, in main
self.powerSwitch = gui.PrettySwitch('Power', False)
AttributeError: 'module' object has no attribute 'PrettySwitch'
remi.request INFO built UI (path=/)
remi.request ERROR error processing GET request
Traceback (most recent call last):
File "/home/pi/.local/lib/python2.7/site-packages/remi/server.py", line 809, in do_GET
self.client.root = self.main(*self.server.userdata)
File "espressoGUI.py", line 42, in main
self.powerSwitch = gui.PrettySwitch('Power', False)
AttributeError: 'module' object has no attribute 'PrettySwitch'
remi.request INFO built UI (path=/)
remi.request ERROR error processing GET request
Traceback (most recent call last):
File "/home/pi/.local/lib/python2.7/site-packages/remi/server.py", line 809, in do_GET
self.client.root = self.main(*self.server.userdata)
File "espressoGUI.py", line 42, in main
self.powerSwitch = gui.PrettySwitch('Power', False)
AttributeError: 'module' object has no attribute 'PrettySwitch'
^Cremi.server INFO *** signal 2 received.
remi.server DEBUG ** serve_forever() quitting
remi.update DEBUG stopped update thread
Any tips for what the cause may be?
Regards,