Opened 8 years ago

Closed 8 years ago

#51454 closed defect (fixed)

py35-spyder-devel @3.0.0b2 +qt5 won't load after update to Qt5.6

Reported by: randawg Owned by: eborisch (Eric A. Borisch)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: mkae (Marko Käning)
Port: py-spyder-devel

Description

I've recently upgraded my Qt and PyQt from 5.5 to 5.6, and Spyder3.0.0beta2+qt5 will no longer load but exits with the following error:

Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/spyderlib/spyder.py", line 3119, in main
    mainwindow = run_spyder(app, options, args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/spyderlib/spyder.py", line 3005, in run_spyder
    main.setup()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/spyderlib/spyder.py", line 856, in setup
    self.editor = Editor(self)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/spyderlib/plugins/editor.py", line 399, in __init__
    self.initialize_plugin()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/spyderlib/plugins/__init__.py", line 298, in initialize_plugin
    self.plugin_actions = self.get_plugin_actions()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/spyderlib/plugins/editor.py", line 634, in get_plugin_actions
    triggered=self.load)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/spyderlib/utils/qthelpers.py", line 240, in create_action
    action.triggered.connect(triggered)
TypeError: decorated slot has no signature compatible with triggered(bool)

I deactivated Qt/PyQt5.6 and went back to 5.5.1_1, and Spyder3+Qt5 works just fine again, so it appears that this is some sort of incompatibility with Qt5.6. This only affects the +qt5 variant, as the regular qt4 version also loads without issue. I'm on Yosemite with xcode 7.2.1.

Change History (6)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to eborisch@…
Port: py-spyder-devel added; py35-spyder-devel removed

In the future, please Cc the port maintainers (port info --maintainers py35-spyder-devel), if any.

comment:2 Changed 8 years ago by eborisch (Eric A. Borisch)

Upstream is aware. Fixes will arrive in b3.

https://github.com/spyder-ide/spyder/issues/3145.

Fix is to revert to PyQt5.5 (5.5.1_1) for now. I'll close this issue once new upstream beta is available.

comment:3 Changed 8 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:4 Changed 8 years ago by mkae (Marko Käning)

Hi @eborisch, I saw that upstream has fixed this.

Can you integrate it on MacPorts?

comment:5 Changed 8 years ago by eborisch (Eric A. Borisch)

py-spyder-devel has been updated to 3.0.2; are you still having issues?

comment:6 Changed 8 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

py-spyder-devel is up to version 3.1.4. I see no problems with qt5.

Note: See TracTickets for help on using tickets.