Open austingrove opened 4 years ago
What version of wxPython are you running?
wxPython 2.8.12.1 wxPython-common 2.8.12.1
wxPython 2.8.12.1
That's a very old version of wxPython. Try upgrading to the latest (4.x) and see if that fixes your issue.
Ok, I was able to get wxpython to 4.1 but am encountering this error now.
ERROR in command ['load', 'console']: 'module' object has no attribute '__version__'
Traceback (most recent call last):
File "/usr/local/bin/mavproxy.py", line 658, in process_stdin
fn(args[1:])
File "/usr/local/bin/mavproxy.py", line 470, in cmd_module
load_module(modname, **kwargs)
File "/usr/local/bin/mavproxy.py", line 406, in load_module
m = import_package(modpath)
File "/usr/local/bin/mavproxy.py", line 563, in import_package
mod = __import__(name)
File "/usr/local/lib/python2.7/dist-packages/MAVProxy/modules/mavproxy_console.py", line 9, in <module>
from MAVProxy.modules.lib import wxconsole
File "/usr/local/lib/python2.7/dist-packages/MAVProxy/modules/lib/wxconsole.py", line 11, in <module>
from MAVProxy.modules.lib import win_layout
File "/usr/local/lib/python2.7/dist-packages/MAVProxy/modules/lib/win_layout.py", line 4, in <module>
import os, wx, pickle
File "/usr/local/lib/python2.7/dist-packages/wx/__init__.py", line 12, in <module>
__version__ = wx.__version__.VERSION_STRING
AttributeError: 'module' object has no attribute '__version__'
ERROR in command ['load', 'map']: 'module' object has no attribute '__version__'
Traceback (most recent call last):
File "/usr/local/bin/mavproxy.py", line 658, in process_stdin
fn(args[1:])
File "/usr/local/bin/mavproxy.py", line 470, in cmd_module
load_module(modname, **kwargs)
File "/usr/local/bin/mavproxy.py", line 408, in load_module
module = m.init(mpstate, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/MAVProxy/modules/mavproxy_map/__init__.py", line 834, in init
return MapModule(mpstate)
File "/usr/local/lib/python2.7/dist-packages/MAVProxy/modules/mavproxy_map/__init__.py", line 62, in __init__
from MAVProxy.modules.mavproxy_map import mp_slipmap
File "/usr/local/lib/python2.7/dist-packages/MAVProxy/modules/mavproxy_map/mp_slipmap.py", line 19, in <module>
from MAVProxy.modules.lib import win_layout
File "/usr/local/lib/python2.7/dist-packages/MAVProxy/modules/lib/win_layout.py", line 4, in <module>
import os, wx, pickle
File "/usr/local/lib/python2.7/dist-packages/wx/__init__.py", line 12, in <module>
__version__ = wx.__version__.VERSION_STRING
AttributeError: 'module' object has no attribute '__version__'
Log Directory:
Telemetry log: mav.tlog
MAV> Waiting for heartbeat from tcp:127.0.0.1:5760
Traceback (most recent call last):
File "/usr/local/bin/mavproxy.py", line 909, in periodic_tasks
m.idle_task()
File "/usr/local/lib/python2.7/dist-packages/MAVProxy/modules/mavproxy_wp.py", line 228, in idle_task
self.module('map').add_menu(self.menu)
AttributeError: 'module' object has no attribute '__version__'
Traceback (most recent call last):
File "/usr/local/bin/mavproxy.py", line 909, in periodic_tasks
m.idle_task()
File "/usr/local/lib/python2.7/dist-packages/MAVProxy/modules/mavproxy_rally.py", line 80, in idle_task
self.module('map').add_menu(self.menu)
AttributeError: 'module' object has no attribute '__version__'
Traceback (most recent call last):
File "/usr/local/bin/mavproxy.py", line 909, in periodic_tasks
m.idle_task()
File "/usr/local/lib/python2.7/dist-packages/MAVProxy/modules/mavproxy_fence.py", line 69, in idle_task
self.module('map').add_menu(self.menu)
AttributeError: 'module' object has no attribute '__version__'
You will have to reinstall MAVProxy under python 4. Not sure how that works, maybe you could try "sudo pip4 install MAVProxy". But before that uninstall MAVProxy from your machine.
Unable to see the vehicle in mavproxy map and error is showing in the command line.
Any help?
Window 1:
dronekit-sitl copter-3.3 --home=38.575978,-121.461803,584,353
Window 2:mavproxy.py --master=tcp:127.0.0.1:5760 --out=2.168.1.9:14550 --out=udpout:127.0.0.1:14550 --out=udpout:127.0.0.1:14549 --console --map --moddebug 3
error on window 2 on scroll or click:
OS: osx VM: Vagrant VM OS: Ubuntu 14.04.6 LTS (GNU/Linux 3.13.0-170-generic x86_64) Python -v: 2.7.6 pymavlink: 2.4.8 dronekit: 2.9.2 dronekit-sitl: 3.3.0 MAVProxy: 1.8.19