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

ListEditor_demo.py fails with PySide #109

Closed
pberkes opened this issue Apr 26, 2013 · 2 comments
Closed

ListEditor_demo.py fails with PySide #109

pberkes opened this issue Apr 26, 2013 · 2 comments

Comments

@pberkes
Copy link
Contributor

pberkes commented Apr 26, 2013

The Standard_Editors/ListEditor_demo.py example runs with these backends

ETS_TOOLKIT=qt4 QT_API=pyqt python ListEditor_demo.py
ETS_TOOLKIT=wx python ListEditor_demo.py 

With pyside

ETS_TOOLKIT=qt4 QT_API=pyside python ListEditor_demo.py

clicking on the arrow buttons gives a traceback:

Traceback (most recent call last):
  File "/Users/pberkes/egit/meta-geophysics/meta-ETS/traitsui/traitsui/qt4/list_editor.py", line 280, in popup_menu
    proxy    = sender.proxy
AttributeError: 'NoneType' object has no attribute 'proxy'
@MatthieuDartiailh
Copy link
Contributor

This behavior is reported as a known pitfall in Pyside and mentioned here http://qt-project.org/wiki/PySide_Pitfalls. I don't know if one can use the suggested trick to avoid that issue.

@corranwebster
Copy link
Contributor

This appears to be fixed as of TraitsUI 5.1. Closing.

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

3 participants