ZELLMECHANIK-DRESDEN / ShapeOut2

graphical user interface for analysis and visualization of RT-DC data sets
https://shapeout2.readthedocs.io
GNU General Public License v3.0
8 stars 6 forks source link

Failure at startup #145

Closed matteounimib closed 1 year ago

matteounimib commented 1 year ago

pipx install shapeout2 .local/bin/shapeout2 It open a windows with the following error.

Unhandled exception in Shape-Out version 2.13.6: Traceback (most recent call last): File "/home/me/.local/bin/shapeout2", line 8, in sys.exit(main()) ^^^^^^ File "/home/me/.local/pipx/venvs/shapeout2/lib/python3.11/site-packages/shapeout2/main.py", line 35, in main window = ShapeOut2(*app.arguments()[1:]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/me/.local/pipx/venvs/shapeout2/lib/python3.11/site-packages/shapeout2/gui/main.py", line 88, in init dclab.rtdc_dataset.fmt_dcor.APIHandler.add_api_key(api_key) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'dclab.rtdc_dataset.fmt_dcor' has no attribute 'APIHandler'

paulmueller commented 1 year ago

Hi, this is due to a regression dclab. An intermediate solution is to downgrade dclab to a version below 0.53.0

pipx install shapeout2 "dclab<0.53.0"

paulmueller commented 1 year ago

This bug is already fixed in the master branch.

paulmueller commented 1 year ago

This is fixed in Shape-Out 2.13.7