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

Failed to disconnect signal when closing main window with PySide2 #12

Open
titusjan opened this issue Sep 1, 2019 · 1 comment
Open

Comments

@titusjan
Copy link
Owner

titusjan commented Sep 1, 2019

When using the PySide2 binding the following errror occurs when you close a/the main window.

Traceback (most recent call last):
  File "/Users/kenter/prog/py/argos/argos/widgets/mainwindow.py", line 826, in closeEvent
    self.finalize()
  File "/Users/kenter/prog/py/argos/argos/widgets/mainwindow.py", line 127, in finalize
    self.collector.sigContentsChanged.disconnect(self.collectorContentsChanged)
RuntimeError: Failed to disconnect signal sigContentsChanged(QString).

My suspicion is that it occurs because the disconnect is called in the closeEvent. More investigation is needed.

@titusjan
Copy link
Owner Author

By the way this is on OS-X 10.14.6

Python         : 3.6.7 |Anaconda, Inc.| (default, Oct 23 2018, 14:01:38) [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]
pyside2        : 5.12.4 (Qt: 5.12.1)
numpy          : 1.17.0
scipy          : 1.3.1
pandas         : 0.25.0
pyqtgraph      : 0.11.0.dev0
exdir          : 
pgcolorbar     : 1.0.0
cmlib          : 1.0.1
h5py           : 2.9.0 (libhdf5: 1.10.5)
netCDF4        : 1.5.1.2 (libncdf4: 4.6.2, libhdf5: 1.10.5)
pillow (PIL)   : 6.1.0
argos          : 0.3.0.rc2 (debugging-mode)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant