3drobotics / solodevguide

Solo Development Guide (SDG).
http://dev.3dr.com/
40 stars 62 forks source link

Running webserver example on Solo gives ERROR LOADING MAVNATIVE #287

Closed DarylWM closed 8 years ago

DarylWM commented 8 years ago

Running server.py on Solo gives the following error:

... running script...

ERROR LOADING MAVNATIVE - falling back to python implementation Connecting to udpin:0.0.0.0:14550... Traceback (most recent call last): File "/log/solo-script/server.py", line 43, in eventlet.spawn(latlog, vehicle) AttributeError: 'module' object has no attribute 'spawn' Exception in thread Thread-2 (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 551, in bootstrap_inner File "/usr/lib/python2.7/threading.py", line 504, in run File "/log/solo-script/env/lib/python2.7/site-packages/dronekit/mavlink.py", line 89, in mavlink_thread_out <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'error' Exception in thread Thread-1 (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner File "/usr/lib/python2.7/threading.py", line 504, in run File "/log/solo-script/env/lib/python2.7/site-packages/dronekit/mavlink.py", line 124, in mavlink_thread_in File "/log/solo-script/env/lib/python2.7/site-packages/dronekit/__init.py", line 1244, in listener <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'time'

while running it locally works nicely.