no logging checkboxes visible in cfclient
no logging checkboxes visible in cfclient
I'm having difficulties with the "Log Blocks" tab in cfclient: according to the screenshots in the manual/tutorial the variables to be logged can be selected using the respective checkboxes but these are not visible in my client. I'm running the client on a Linux machine (Linux Mint 19.3, Linux 5.3.0-40-generic #32~18.04.1-Ubuntu SMP Mon Feb 3 14:05:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux). Otherwise the cfclient runs fine.
I've noticed that I'm getting multiple debug/error messages in the console output when doing a mouseover in the area where the checkboxes should be:
===== 2020.03.02 21:03:46 =====
Traceback (most recent call last):
File "/home/uwe/Development/bitcraze/crazyflie-clients-python/src/cfclient/ui/tabs/LogBlockTab.py", line 290, in paint
subElementRect(QStyle.SE_CheckBoxIndicator, option)
TypeError: subElementRect(self, QStyle.SubElement, QStyleOption, QWidget): not enough arguments
...
More details can be found in the attached console dump file.
Any ideas what's causing this?
Thanks and regards
Tintin
I've noticed that I'm getting multiple debug/error messages in the console output when doing a mouseover in the area where the checkboxes should be:
===== 2020.03.02 21:03:46 =====
Traceback (most recent call last):
File "/home/uwe/Development/bitcraze/crazyflie-clients-python/src/cfclient/ui/tabs/LogBlockTab.py", line 290, in paint
subElementRect(QStyle.SE_CheckBoxIndicator, option)
TypeError: subElementRect(self, QStyle.SubElement, QStyleOption, QWidget): not enough arguments
...
More details can be found in the attached console dump file.
Any ideas what's causing this?
Thanks and regards
Tintin
- Attachments
-
- cfclient_output.txt
- (11.87 KiB) Downloaded 180 times
Re: no logging checkboxes visible in cfclient
Hi!
We haven't tested the cfclient on Linux mint yet, as we mainly work on Ubuntu. On Ubuntu 18.04 there is no problem with the check-boxes but Qtgui has a tendency to be a bit tricky on different OSes
Do you mind sending us a screenshot of the cfclient? And are you able to use the logging configurations + logging functionality ?
We haven't tested the cfclient on Linux mint yet, as we mainly work on Ubuntu. On Ubuntu 18.04 there is no problem with the check-boxes but Qtgui has a tendency to be a bit tricky on different OSes
Do you mind sending us a screenshot of the cfclient? And are you able to use the logging configurations + logging functionality ?
Re: no logging checkboxes visible in cfclient
Hi Kimberly,
thanks for the quick reply. I'm currently not at my cfclient computer but I'll send you some screenshots asap, i.e. this evening.
I haven't used the logging functionality yet but the plotting function works fine.
Regards
Tintin
thanks for the quick reply. I'm currently not at my cfclient computer but I'll send you some screenshots asap, i.e. this evening.
I haven't used the logging functionality yet but the plotting function works fine.
Regards
Tintin
Re: no logging checkboxes visible in cfclient
Hi,
here are the requested screenshots of my cfclient. The only tab showing a problem is the "Log Blocks" tab, afaik.
Let me know if you need more info about my system / installation. Thanks for your assistance.
Regards
Tintin
here are the requested screenshots of my cfclient. The only tab showing a problem is the "Log Blocks" tab, afaik.
Let me know if you need more info about my system / installation. Thanks for your assistance.
Regards
Tintin
-
- Bitcraze
- Posts: 630
- Joined: Tue Jun 30, 2015 7:47 am
Re: no logging checkboxes visible in cfclient
There used to be a similar problem on OSX, see https://github.com/bitcraze/crazyflie-c ... issues/308
QT is usually the problem, it might be worth trying another version.
QT is usually the problem, it might be worth trying another version.
Re: no logging checkboxes visible in cfclient
Currently I have the following Qt-related versions installed:
dpkg -l python3-pyqt5
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii python3-pyqt5 5.10.1+dfsg- amd64 Python 3 bindings for Qt5
dpkg -l python3-pyqt5.qtsvg
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii python3-pyqt5. 5.10.1+dfsg- amd64 Python 3 bindings for Qt5's SVG m
pip3 show pyqtgraph
Name: pyqtgraph
Version: 0.10.0
Summary: Scientific Graphics and GUI Library for Python
Home-page: http://www.pyqtgraph.org
Author: Luke Campagnola
Author-email: luke.campagnola@gmail.com
License: MIT
Location: /home/uwe/.local/lib/python3.6/site-packages
Requires: numpy
Which version would you recommend?
dpkg -l python3-pyqt5
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii python3-pyqt5 5.10.1+dfsg- amd64 Python 3 bindings for Qt5
dpkg -l python3-pyqt5.qtsvg
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii python3-pyqt5. 5.10.1+dfsg- amd64 Python 3 bindings for Qt5's SVG m
pip3 show pyqtgraph
Name: pyqtgraph
Version: 0.10.0
Summary: Scientific Graphics and GUI Library for Python
Home-page: http://www.pyqtgraph.org
Author: Luke Campagnola
Author-email: luke.campagnola@gmail.com
License: MIT
Location: /home/uwe/.local/lib/python3.6/site-packages
Requires: numpy
Which version would you recommend?
-
- Bitcraze
- Posts: 630
- Joined: Tue Jun 30, 2015 7:47 am
Re: no logging checkboxes visible in cfclient
We have one linux machine that uses 5.12.3 that seems to work.
I have 5.14.1 on my machine (OSX) and it actually seems to be a problem there. The check boxes appear too far to the right.
I'll create an issue for it https://github.com/bitcraze/crazyflie-c ... issues/393
I have 5.14.1 on my machine (OSX) and it actually seems to be a problem there. The check boxes appear too far to the right.
I'll create an issue for it https://github.com/bitcraze/crazyflie-c ... issues/393
Re: no logging checkboxes visible in cfclient
O.K., thanks for the info and for creating an issue. In the meantime I'm using the client in the VM, but it would be more convenient to have it working natively. Regards, Tintin
Re: no logging checkboxes visible in cfclient
Here's some updated info on the issue: after upgrading from Linux Mint 19.3 to LM 20 the logging tab is now displayed correctly:
Re: no logging checkboxes visible in cfclient
Thanks for givingus an update!
Which version of the cfclient was/is this actually? Then I can update the issue posting about this.
Which version of the cfclient was/is this actually? Then I can update the issue posting about this.