cfclient fails to start
Posted: Fri Feb 05, 2021 10:10 am
Hi,
after recently updating/pulling the cfclient source the client gui fails to start under Linux Mint 20.1
I've tried reinstalling the client but that didn't help either.
Here's the console output:
python3 -m cfclient.gui
INFO:__main__:Disabling STL printouts
INFO:cfclient.utils.input.inputreaders:Input readers: ['linuxjsdev', 'pysdl2']
INFO:cfclient.utils.input.inputreaders:Successfully initialized [linuxjsdev]
INFO:cfclient.utils.input.inputreaders:Could not initialize [pysdl2]: No SDL2 support on Linux
INFO:cfclient.utils.input.inputinterfaces:Found interfaces: ['leapmotion', 'wiimote', 'zmqpull']
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [leapmotion]: Leap Motion library probably not installed (No module named 'leapsdk')
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [wiimote]: Missing cwiid (wiimote) driver No module named 'cwiid'
INFO:cfclient.utils.config:Dist config read from /home/ngl/Development/bitcraze/crazyflie-clients-python/src/cfclient/configs/config.json
INFO:cfclient.utils.config:Config file read from [/home/ngl/.config/cfclient/config.json]
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [zmqpull]: ZMQ input disabled in config file
===== 2021.02.05 11:02:28 =====
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/ngl/Development/bitcraze/crazyflie-clients-python/src/cfclient/gui.py", line 197, in <module>
main()
File "/home/ngl/Development/bitcraze/crazyflie-clients-python/src/cfclient/gui.py", line 164, in main
from .ui.main import MainUI
File "/home/ngl/Development/bitcraze/crazyflie-clients-python/src/cfclient/ui/main.py", line 34, in <module>
import cfclient.ui.tabs
File "/home/ngl/Development/bitcraze/crazyflie-clients-python/src/cfclient/ui/tabs/__init__.py", line 44, in <module>
from .lighthouse_tab import LighthouseTab
File "/home/ngl/Development/bitcraze/crazyflie-clients-python/src/cfclient/ui/tabs/lighthouse_tab.py", line 43, in <module>
from cflib.crazyflie.mem.lighthouse_memory import LighthouseMemHelper
ImportError: cannot import name 'LighthouseMemHelper' from 'cflib.crazyflie.mem.lighthouse_memory' (/home/ngl/.local/lib/python3.8/site-packages/cflib/crazyflie/mem/lighthouse_memory.py)
after recently updating/pulling the cfclient source the client gui fails to start under Linux Mint 20.1
I've tried reinstalling the client but that didn't help either.
Here's the console output:
python3 -m cfclient.gui
INFO:__main__:Disabling STL printouts
INFO:cfclient.utils.input.inputreaders:Input readers: ['linuxjsdev', 'pysdl2']
INFO:cfclient.utils.input.inputreaders:Successfully initialized [linuxjsdev]
INFO:cfclient.utils.input.inputreaders:Could not initialize [pysdl2]: No SDL2 support on Linux
INFO:cfclient.utils.input.inputinterfaces:Found interfaces: ['leapmotion', 'wiimote', 'zmqpull']
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [leapmotion]: Leap Motion library probably not installed (No module named 'leapsdk')
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [wiimote]: Missing cwiid (wiimote) driver No module named 'cwiid'
INFO:cfclient.utils.config:Dist config read from /home/ngl/Development/bitcraze/crazyflie-clients-python/src/cfclient/configs/config.json
INFO:cfclient.utils.config:Config file read from [/home/ngl/.config/cfclient/config.json]
INFO:cfclient.utils.input.inputinterfaces:Could not initialize [zmqpull]: ZMQ input disabled in config file
===== 2021.02.05 11:02:28 =====
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/ngl/Development/bitcraze/crazyflie-clients-python/src/cfclient/gui.py", line 197, in <module>
main()
File "/home/ngl/Development/bitcraze/crazyflie-clients-python/src/cfclient/gui.py", line 164, in main
from .ui.main import MainUI
File "/home/ngl/Development/bitcraze/crazyflie-clients-python/src/cfclient/ui/main.py", line 34, in <module>
import cfclient.ui.tabs
File "/home/ngl/Development/bitcraze/crazyflie-clients-python/src/cfclient/ui/tabs/__init__.py", line 44, in <module>
from .lighthouse_tab import LighthouseTab
File "/home/ngl/Development/bitcraze/crazyflie-clients-python/src/cfclient/ui/tabs/lighthouse_tab.py", line 43, in <module>
from cflib.crazyflie.mem.lighthouse_memory import LighthouseMemHelper
ImportError: cannot import name 'LighthouseMemHelper' from 'cflib.crazyflie.mem.lighthouse_memory' (/home/ngl/.local/lib/python3.8/site-packages/cflib/crazyflie/mem/lighthouse_memory.py)