it’s the second time that I found this problem with the BrickPI.
When I call the BrickPiUpdateValues() function from python2.7, I get this error as result:
>>> import BrickPi >>> BrickPi.BrickPiUpdateValues() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "build/bdist.linux-armv7l/egg/BrickPi.py", line 551, in BrickPiUpdateValues File "build/bdist.linux-armv7l/egg/BrickPi.py", line 680, in BrickPiTx File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 462, in write if self.fd is None: raise portNotOpenError AttributeError: 'Serial' object has no attribute 'fd'
Last time I had to rewrite the entire microsd card. Are there any other different options?
PS: I tried reinstalling the serial lib of python but it didn’t change the situation.