Any updates or an estimated time to availability? It's really inconvenient to not know and to keep checking.
Best posts made by Michael Matyas
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
Traceback (most recent call last):
File "./stock_script.py", line 5, in <module>
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
Writing '' to display
It 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?