Hello Everyone - I just got this unit and it has been running fine all night. This morning I came in and the hashing stopped. Went to the web browser and am getting this below. Suggestions??
Note: I am a total NOOB when it comes to all of this. Please be kind!
AttributeError
AttributeError: 'NoneType' object has no attribute 'get'
Traceback (most recent call last)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2552, in __call__
return [Suspicious link removed]gi_app(environ, start_response)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2532, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2529, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/home/pi/Defaults/HTML/mainpage.py", line 174, in index
lcd_data = cgminer_data.get("LCD", {})
AttributeError: 'NoneType' object has no attribute 'get'
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.
You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:
dump() shows all variables in the frame
dump(obj) dumps all that's known about the object
Hi, this is indicitive of CGMiner crashing could be pool connection, internet connection or mining hardware related). For optimum diagnostics, you need to SSH in to the unit and see what CGminer is doing and if it is running, etc. This is all documented early on in this post.
Who did you get the SmartHub from?
Cheers
IamGPIO