[SOLVED] Problem running bridge.py


i updated yun openwrt 1.4.1. now, i'm getting error when invoke bridge.begin() in sketches , that's causing sketch hang. example, if run-bridge traceback:
code: [select]
root@arduino6:/usr/lib/python2.7/bridge# exec python -u ./bridge.py
traceback (most recent call last):
 file "bridge.py", line 32, in <module>
   import packet
 file "/usr/lib/python2.7/bridge/packet.py", line 31, in <module>
   from subprocess import call
 file "/usr/lib/python2.7/subprocess.py", line 432, in <module>
   import pickle
eoferror: eof read object expected

so, bridge.py doesn't far , sketch hangs. have ideas what's causing , how fix it?
thanks,
mike

the problem appears fixed. ran
code: [select]
python -vc 'import pickle' , discovered pickle.pyc seems corrupt. output running command indicated first line of pickle.pyc not read. deleted pickle.pyc , ran import command again. noticed pickle.pyc got rebuilt, time worked. conclusion original file got buggered when updated openwrt. wonder other files broken...

for sketch working again.
mike


Arduino Forum > Products > Arduino Yún (Moderator: fabioc84) > [SOLVED] Problem running bridge.py


arduino

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support