Skip to content

Ubuntu 24.04.1 LTS Packets on the Can bus are not displayed #78

@AlekseyMamontov

Description

@AlekseyMamontov

Installation directly causes an error.

sudo pip install dronecan_gui_tool

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
    
    See /usr/share/doc/python3.12/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

Installation via

pipx
pipx install dronecan_gui_tool
pipx install git+https://github.com/DroneCAN/gui_tool@master

or rough through

pip install dronecan_gui_tool --break-system-packages
..
Leads to the same effect
Знімок екрана з 2025-01-13 14-16-08

Message in the terminal upon program start


 dronecan_gui_tool

2025-01-13 14:15:02,139 INFO dronecan_gui_tool.main Spawned
2025-01-13 14:15:02,866 INFO dronecan_gui_tool.main Starting the application
QSocketNotifier: Can only be used with threads started with QThread
2025-01-13 14:15:18,769 INFO dronecan.node Adding handler for service uavcan.protocol.GetNodeInfo
2025-01-13 14:15:18,870 INFO dronecan_gui_tool.main Creating main window; iface 'can0'
2025-01-13 14:15:18,879 INFO dronecan.node Adding handler for message uavcan.protocol.NodeStatus
2025-01-13 14:15:18,879 INFO dronecan.node Adding handler for service uavcan.protocol.GetNodeInfo
2025-01-13 14:15:18,880 INFO dronecan.node Adding handler for message uavcan.protocol.NodeStatus
QLayout: Attempting to add QLayout "" to RealtimeLogWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to RealtimeLogWidget "", which already has a layout
2025-01-13 14:15:18,932 INFO dronecan.node Adding handler for message uavcan.protocol.debug.LogMessage
QLayout: Attempting to add QLayout "" to DynamicNodeIDAllocatorWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to FileServerWidget "", which already has a layout
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
QLayout: Attempting to add QLayout "" to MainWindow "", which already has a layout
QLayout: Attempting to add QLayout "" to MainWindow "", which already has a layout
QLayout: Attempting to add QLayout "" to MainWindow "", which already has a layout
2025-01-13 14:15:19,057 INFO dronecan_gui_tool.main Init complete, invoking the Qt event loop
2025-01-13 14:15:24,664 INFO dronecan_gui_tool.widgets.bus_monitor Spawned new bus monitor process <Process name='bus_monitor' pid=12152 parent=12016 started daemon>
QSocketNotifier: Can only be used with threads started with QThread
QLayout: Attempting to add QLayout "" to RealtimeLogWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to RealtimeLogWidget "", which already has a layout


packages are sent via the canbus
Знімок екрана з 2025-01-13 14-22-51

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions