-
Notifications
You must be signed in to change notification settings - Fork 99
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
TypeError: unsupported operand type(s) for &: 'int' and 'KeyboardModifier' when running multiple tests on python 3.11 or 3.8 not using the EDM environment when running python chaco/examples/demo/multiaxis_using_Plot.py #863
Comments
@mdickinson Is this something that should be fixed by the recent compatibility of TraitsUI with the latest PySide 6? |
Can you please try running these with current main branch Pyface and TraitsUI to see if these have been fixed, ie. do:
and then try the failing tests. Several errors like this were fixed in Pyface recently. |
Hi Corran: I installed the latest Pyface and TraitsUI, here is the version that is printed out: However, the same error still occurs in many demos such as: chaco/examples/demo/domain_limits.py |
@homosapien-lcy can you test this again with the latest pyface and traitsui? |
The error remains after I reinstalled these two packages with the following command:
Then I ran
and if I click one the plot and close it, the same error will happen.
Indeed, the latest commit in traitsui is on 4/17 (https://github.com/enthought/traitsui/commits/main) and pyface on 4/6 (https://github.com/enthought/pyface/commits/main), and I don't they are related to this problem |
Problem Description
When running multiple demos using python 3.11 or 3.8 (without EDM), a TypeError: unsupported operand type(s) for &: 'int' and 'KeyboardModifier' will occur after closing the plot window
Reproduction Steps:
python chaco/examples/demo/multiaxis_using_Plot.py
Expected behavior:
Plot a multiple axis plot without error.
OS, Python version:
[MacOS, python 3.11 or python 3.8 (without EDM, the example will pass on EDM)]
The text was updated successfully, but these errors were encountered: