Any updates or an estimated time to availability? It's really inconvenient to not know and to keep checking.
Michael Matyas
@Michael Matyas
Best posts made by Michael Matyas
-
RE: Onion Cloud Maintenance
-
Homemade Stock Ticker tutorial
I am interested in trying to work with Python on the Onion, so I tried to walk through the "homemade stock ticker" tutorial in the projects section. I followed the instructions thoroughly but in the end could not reproduce the results of the project. Upon running a single instance of the code I received the following error:
root@Omega-2166:/# ./stock.sh AAPL
Clearing display
Traceback (most recent call last):
File "./stock_script.py", line 5, in <module>
import json
File "/usr/lib/python2.7/json/init.py", line 108, in <module>
from .decoder import JSONDecoder
File "/usr/lib/python2.7/json/decoder.py", line 24, in <module>
NaN, PosInf, NegInf = _floatconstants()
File "/usr/lib/python2.7/json/decoder.py", line 18, in _floatconstants
_BYTES = '7FF80000000000007FF0000000000000'.decode('hex')
LookupError: no codec search functions registered: can't find encoding
Initializing display
Writing '' to displayIt appears to me that there is some incompatibility with the JSON lib that the tutorial calls for importing. I loaded Python per the tutorial, but it looks like some additional step is necessary. Has anyone worked with this tutorial and gotten a different result?
Latest posts made by Michael Matyas
-
RE: Onion Cloud Maintenance
Any updates or an estimated time to availability? It's really inconvenient to not know and to keep checking.
-
Homemade Stock Ticker tutorial
I am interested in trying to work with Python on the Onion, so I tried to walk through the "homemade stock ticker" tutorial in the projects section. I followed the instructions thoroughly but in the end could not reproduce the results of the project. Upon running a single instance of the code I received the following error:
root@Omega-2166:/# ./stock.sh AAPL
Clearing display
Traceback (most recent call last):
File "./stock_script.py", line 5, in <module>
import json
File "/usr/lib/python2.7/json/init.py", line 108, in <module>
from .decoder import JSONDecoder
File "/usr/lib/python2.7/json/decoder.py", line 24, in <module>
NaN, PosInf, NegInf = _floatconstants()
File "/usr/lib/python2.7/json/decoder.py", line 18, in _floatconstants
_BYTES = '7FF80000000000007FF0000000000000'.decode('hex')
LookupError: no codec search functions registered: can't find encoding
Initializing display
Writing '' to displayIt appears to me that there is some incompatibility with the JSON lib that the tutorial calls for importing. I loaded Python per the tutorial, but it looks like some additional step is necessary. Has anyone worked with this tutorial and gotten a different result?