-
Notifications
You must be signed in to change notification settings - Fork 47
Description
I have just installed dronecan_gui_tool on a fresh install of ubuntu 22.04.5 LTS using the recommended method in the readme. When I go to open the subscriber panel it does not show.
So I cloned the repo and run the app manually and this is what I have found.
Traceback
Traceback (most recent call last):
File "/home/madman/Documents/git/gui_tool/dronecan_gui_tool/main.py", line 165, in <lambda>
lambda: SubscriberWindow.spawn(self, self._node, self._active_data_type_detector))
File "/home/madman/Documents/git/gui_tool/dronecan_gui_tool/widgets/subscriber.py", line 292, in spawn
SubscriberWindow(parent, node, active_data_type_detector).show()
File "/home/madman/Documents/git/gui_tool/dronecan_gui_tool/widgets/subscriber.py", line 143, in __init__
self._clear_button = make_icon_button('fa6.trash', 'Clear output and reset stat counters', self,
File "/home/madman/Documents/git/gui_tool/dronecan_gui_tool/widgets/__init__.py", line 598, in make_icon_button
b.setIcon(get_icon(icon_name))
File "/home/madman/Documents/git/gui_tool/dronecan_gui_tool/widgets/__init__.py", line 591, in get_icon
return qtawesome.icon(name)
File "/usr/local/lib/python3.10/dist-packages/qtawesome/__init__.py", line 268, in icon
return _instance().icon(*names, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/qtawesome/iconic_font.py", line 463, in icon
self._parse_options(specific_options, general_options, names[i])
File "/usr/local/lib/python3.10/dist-packages/qtawesome/iconic_font.py", line 529, in _parse_options
prefix, chars = self._get_prefix_chars(names)
File "/usr/local/lib/python3.10/dist-packages/qtawesome/iconic_font.py", line 561, in _get_prefix_chars
raise Exception(error)
Exception: Invalid icon name "trash" in font "fa6"
I did some digging. Looks like it might just be a typo as we are using fa6.trash to add the trash icon in the RealtimeLogWidget and also in ExtractorWidget. I am assuming it is just a typo and we are wanting to use the solid versions of the icons as that is what we are using for pause and video? If this is not the case, then I believe the correct icon is fa6.trash-can.
After fixing this, I also got an error on fa6.puzzle-piece. I could not see a fa6 version of a puzzle piece, but there is the solid fa6s.puzzle-piece