[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:
so, bridge.py doesn't far , sketch hangs. have ideas what's causing , how fix it?
thanks,
mike
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
for sketch working again.
mike
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
Post a Comment