Vitables 3.0.2 doesn't start
Opened this issue · 5 comments
Setup
- OS: macOS Big Sur version 11.2.3 (20D91)
- conda: 4.9.2
- vitables: 3.0.2
Steps to reproduce
conda create -n vitables python=3.8
conda install -c conda-forge vitables
vitables file.h5
Result
Instead of opening vitables there is just a python process hanging indefinitely and the application seems to not respond.
I tried also:
- using pip to install the package
- python 3.7
- python 3.9
- development version from git-clones repository
The problem seems to be related to Qt on Mac and it seems to be solved by setting the environment variable QT_MAC_WANTS_LAYER
to 1
, so e.g. this works
QT_MAC_WANTS_LAYER=1 vitables some_file.h5
Setup
- OS: macOS Big Sur version 11.2.3 (20D91)
- conda: 4.9.2
- vitables: 3.0.2
Steps to reproduce
conda create -n vitables python=3.8
conda install -c conda-forge vitables
vitables file.h5
Result
Instead of opening vitables there is just a python process hanging indefinitely and the application seems to not respond.
I tried also:
- using pip to install the package
- python 3.7
- python 3.9
- development version from git-clones repository
Same here, but on a Win10. Same on a 64bit Win7 machine.
With this configuration and both python 3.8 and 3.9 I cannot reproduce this problem anymore for some reason....
pyqt 5.15.7 py38h872f513_3 conda-forge
pyqt5-sip 12.11.0 py38haf9be31_3 conda-forge
qt-main 5.15.8 h23c57ac_13 conda-forge
qtpy 2.3.1 pyhd8ed1ab_0 conda-forge
and for python>=3.10 issue #118 pops out.
Is the problem present in 3.0.3 package too?
On ubuntu 22.04 (python 3.10)
File "/usr/share/vitables/vitables/utils.py", line 152, in insertInMenu if not isinstance(entries, collections.Iterable🙁 AttributeError: module 'collections' has no attribute 'Iterable'