Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PerformanceTest is incompatible with PyQtGraph 0.11 #34

Open
tstenner opened this issue Sep 18, 2020 · 2 comments
Open

PerformanceTest is incompatible with PyQtGraph 0.11 #34

tstenner opened this issue Sep 18, 2020 · 2 comments

Comments

@tstenner
Copy link
Contributor

Almost all examples run without issues (after i pip install pyqtgraph) but python PerformanceTest.py fails with

Created outlet with name BetaGen and type EEG
Created outlet with name GeneratedCentreOutMarkers and type Markers
looking for an EEG stream...
Reading from inlet named BetaGen with channels ['RAW1', 'SPK1', 'RAW2', 'SPK2', 'RAW3', 'SPK3'] sending data at 16384.0 Hz
Looking for stream with type Markers
Reading from inlet named GeneratedCentreOutMarkers with channels ['EventMarkers']
Traceback (most recent call last):
  File "PerformanceTest.py", line 308, in <module>
    qwindow.parent().setWindowTitle("pylsl PerformanceTest")
AttributeError: 'NoneType' object has no attribute 'setWindowTitle'

Edit:
But i get the same error in master (l300), so it must be sth else than your changes. pyqtgraph==0.11.0

Originally posted by @agricolab in #33 (comment)

@agricolab
Copy link
Contributor

PerformanceTest.py runs fine after pyqtgraph was uninstalled (with printouts), and with visualization after pip install pyqtgraph==0.10

@agricolab
Copy link
Contributor

if haspyqtgraph:
    qapp = pg.QtGui.QApplication(sys.argv)
    qwindow = pg.plot(title="pylsl PerformanceTest")
    qwindow.clear()

runs with pyqtgraph==0.11 and pyqtgraph==0.10

Could be linked to the deprecation of PlotWindow?
https://pyqtgraph.readthedocs.io/en/latest/graphicswindow.html#pyqtgraph.PlotWindow

agricolab added a commit to agricolab/liblsl-Python that referenced this issue Sep 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants