-
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
NotImplementedError when running examples/demo/updating_plot/updating_plot1.py #896
Comments
I think this is not as easy to fix as we think... after replacing _create_window with _create_component, a 'PySide6.QtWidgets.QWidget.init' called with wrong argument type error will be raised.
Same for examples/demo/canvas/canvas.py
Also, the '_create_viewport' in examples/demo/canvas/canvas.py is called by _create_window, thus changing the name will cause a no attribute error:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem Description
When running examples/demo/updating_plot/updating_plot1.py, a NotImplementedError will be raised. It seems that this error comes from enable/enable/examples/_example_support.py and the _create_component is left unimplemented. If this is deliberately left unimplemented then no fix is needed.
Reproduction Steps:
Full Stacktrace:
Links:
https://github.com/enthought/chaco/blob/main/examples/demo/updating_plot/updating_plot1.py
https://github.com/enthought/enable/blob/main/enable/examples/_example_support.py#L33
OS, Python version: [MacOS, python3.11]
Package Version
altgraph 0.17.2
autopep8 2.0.1
boto3 1.26.50
botocore 1.29.50
camelot-py 0.10.1
certifi 2022.12.7
cffi 1.15.1
chaco 5.1.0
chardet 5.1.0
charset-normalizer 3.1.0
click 8.1.3
contourpy 1.0.7
cPython 0.0.6
cryptography 39.0.0
cycler 0.11.0
Cython 0.29.33
distro 1.8.0
dnspython 2.3.0
enable 5.3.1
et-xmlfile 1.1.0
examples 1.0.2
fonttools 4.39.0
future 0.18.2
idna 3.4
importlib-metadata 6.6.0
importlib-resources 5.12.0
install 1.3.5
isort 5.12.0
jmespath 1.0.1
kiwisolver 1.4.4
macholib 1.15.2
matplotlib 3.7.1
numpy 1.24.1
opencv-python 4.7.0.68
openpyxl 3.0.10
packaging 23.0
pandas 1.5.2
pdfminer.six 20221105
Pillow 9.3.0
pip 21.2.4
pycodestyle 2.10.0
pycparser 2.21
pydantic 1.10.7
pyface 8.0.0
pymongo 4.3.3
PyMuPDF 1.21.1
pyparsing 3.0.9
PyPDF2 2.12.1
PyQt5 5.15.9
PyQt5-Qt5 5.15.2
PyQt5-sip 12.11.1
PySide6 6.4.2
PySide6-Addons 6.4.2
PySide6-Essentials 6.4.2
python-dateutil 2.8.2
pytz 2022.7.1
requests 2.28.2
s3transfer 0.6.0
scipy 1.10.1
setuptools 58.0.4
shiboken6 6.4.2
six 1.15.0
tabula-py 2.6.0
tabulate 0.9.0
textract-trp 0.1.3
tomli 2.0.1
traits 6.4.1
traitsui 7.4.3
typing_extensions 4.4.0
urllib3 1.26.15
vtk 9.2.6
wheel 0.37.0
zipp 3.15.0
The text was updated successfully, but these errors were encountered: