-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
message_box example and factories(about, critical, questions, etc.) don't work #108
Comments
Sounds like a PySide bug. Can you test on PyQt and confirm? |
Indeed, this does seem to work with PyQt. |
Thanks. Marking as PySide bug. |
Message box doesn't work with PySide2 Simply using message box leads to error with PySide2: from enaml.stdlib.message_box import information
...
triggered ::
information(self, "Testing",
("If you see this then presumably PySide-Enaml bug was patched.\n" +
"But it still can be broken if Python hangs after pressing OK.")
)
... Error:
Presumably now it's worth investigations as PySide2 was added to pypi. I installed PySide2-5.11.1 from pip ( Related issue about work arounds for this bug stopped working with PySide1. But I didn't test them with PySide2 because I'm more interested in upstream solution rather than a work around. |
Indeed this is new I believe. I will try to investigate but I do not know when I will find time to do so. |
In trying to run the message_box example, if I click on any of the buttons I get the error message:
AttributeError: 'NoneType' object has no attribute 'setWidget'
. The call stack shows that this happens in the call toset_parent
.Possibly relevant: I am using PySide rather than PyQt.
The text was updated successfully, but these errors were encountered: