Skip to content

error matplotlib #1

Description

@trig-triendlg

Can anybody help me?

I want to connect to my GDS-2072E to ubuntu Linux and tried both - USB and Ethernet.
I run:
OpenWave-3KA-master/src$ python3 OpenWave-3KA.py
and get Error:


OpenWave-3KA is Copyright (c) 2021 Good Will Instrument Co., Ltd All Rights Reserved.
[...]
OpenWave-3KA V1.00

port.config found!
('ASRL/dev/ttyACM0::INSTR',)
len= 1
x.x.x.80:3000
x.x.x.180:3000
GDS-2072E connected to TCPIP0::x.x.x.80::3000::SOCKET successfully!
Traceback (most recent call last):
File "/home/xxxx/Downloads/GW-INSTEK_GDS-2072E/github/OpenWave-3KA-master/src/OpenWave-3KA.py", line 214, in start_waveform_window
waveform = Window(interface)
File "/home/xxxx/Downloads/GW-INSTEK_GDS-2072E/github/OpenWave-3KA-master/src/OpenWave-3KA.py", line 257, in init
self.toolbar = NavigationToolbar(self.canvas, self)
File "/home/xxxx/.local/lib/python3.10/site-packages/matplotlib/backends/backend_qt.py", line 622, in init
QtWidgets.QToolBar.init(self, parent)
TypeError: arguments did not match any overloaded call:
QToolBar(str, parent: QWidget = None): argument 1 has unexpected type 'Window'
QToolBar(parent: QWidget = None): argument 1 has unexpected type 'Window'
QGuiApplication::font(): no QGuiApplication instance and no application font set.


My guess is a problem with the versions, but i don´t want to play with old ones..
installed versions:
python: 3.10.6 (main, Nov 2 2022, 18:53:38) [GCC 11.3.0]
PyVISA 1.12.0
PyVISA-py 0.5.3
matplotlib 3.6.2
numpy 1.21.5
Pillow 9.0.1
PySide2 5.15.2.1
python-dateutil 2.8.2
pyparsing 2.4.7
six 1.16.0

pyserial 3.5
pyusb 1.2.1
PyVISA-py 0.5.3

I tried to follow the errormessages, but that's not easy...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions