With completlety new hat i got this error:
pi@raspberrypi:~/Pimoroni/skywriter $ sudo python test.py Traceback (most recent call last): File "test.py", line 2, in <module> import skywriter File "/usr/local/lib/python2.7/dist-packages/skywriter.py", line 488, in <module> i2c.write_i2c_block_data(SW_ADDR, 0xa1, [0b00000000, 0b00011111, 0b00000000, 0b00011111]) IOError: [Errno 5] Input/output error Error in atexit._run_exitfuncs: Traceback (most recent call last): File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/usr/local/lib/python2.7/dist-packages/skywriter.py", line 479, in _exit stop_poll() TypeError: 'NoneType' object is not callable Error in sys.exitfunc: Traceback (most recent call last): File "/usr/lib/python2.7/atexit.py", line 24, in _run_exitfuncs func(*targs, **kargs) File "/usr/local/lib/python2.7/dist-packages/skywriter.py", line 479, in _exit stop_poll() TypeError: 'NoneType' object is not callable
Tested with few different sd cards with various raspbian image on two pi’s (pi zero and version b). Every time the same error. Installer throws no exceptions, everything went smoothly. Moreover:
pi@raspberrypi:~/Pimoroni/skywriter $ sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: – – – – – – – –