-
Notifications
You must be signed in to change notification settings - Fork 34
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: setValue when running scene.spool() #114
Comments
Hello Thomas! Can you try loading the file through: spool --load=A_T343co ? |
Hi! (base) ulrich@ulrich-ThinkPad-T490s:~/work/Aqaba/Aqaba_INSar/data$ spool --load=A_T343co
Traceback (most recent call last):
File "/home/ulrich/mambaforge3/bin/spool", line 8, in <module>
sys.exit(main())
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/__main__.py", line 111, in main
spool(import_file=ns.load)
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/spool.py", line 393, in spool
spool_app = Spool(*args, **kwargs)
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/spool.py", line 46, in __init__
self.importScene(import_file)
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/spool.py", line 61, in importScene
self.spool_win.model.importFile(filename)
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/scene_model.py", line 171, in importFile
self.setScene(Scene.import_data(filename))
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/scene.py", line 459, in dynclassmethod
return func(Scene(), *args, **kwargs)
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/scene.py", line 960, in _import_data
raise ImportError("File %s does not exist!" % path)
ImportError: File A_T343co does not exist!
(base) ulrich@ulrich-ThinkPad-T490s:~/work/Aqaba/Aqaba_INSar/data$ ls
A_T114do.npz A_T114do.yml A_T114up.npz A_T114up.yml A_T343co.npz A_T343co.yml D_T254co.npz D_T254co.yml D_T350co.npz D_T350co.yml fault_model_ribot_et_al_transformed.txt |
Ah sorry my bad- its already imported to kite format. Then just:
should do the trick |
Hi Thomas again! I now understood the root of your initial issue. There is a problem in pyqtgraph version 0.11-0.12. From their changelog it is not clear when they really merged this fix. They start to support python 3.10 with 0.12.4- which pyqtgraph version do you have installed? With pyqtgraph 0.13.3 it works form me on python3.11 ubuntu 20,04. See here: pyqtgraph/pyqtgraph#1809 Sorry for the inconvenience! |
Hi Hannes,
and then:
but it might not be related to kite. |
ok the problem with qt5 was with conda (mamba) which to install pyvista, installs qt-main 5.15.8.
|
Could you please try if the proposed fix in branch |
I confirm it works!
|
Thanks, please let me know when there are some remaining issues in the GUI. I only did some shallow testing and there may be more things which have to be adjusted to support that range of pyqtgraph versions. |
as far as I tested, everything works fine. |
Hi, I have a similar problem after installing kite with pip in a conda base environment (I did not manage to install it without using pip). However, the above command did not work for me, I get the following output:
Has something changed with bugfix/compatibility in the meantime or is the problem on my side? (Python 3.11.5) |
Hi! The bugfix/compatibility branch has been merged into master and was deleted. Please checkout the master branch! A new pip package has not been released yet-as we want to fix sth else as well for the new release. |
Hi,
I'm running the following script:
With a file that Hannes Vasyurabathke provided me 2 years ago.
The file should be fine, as I can process the data and plot them with matplotlib.
But when I try running the gui, I get the following error:
(Python 3.10.13)
The text was updated successfully, but these errors were encountered: