Open
Description
Hi,
I'm running the following script:
(base) ulrich@ulrich-ThinkPad-T490s:~/work/Aqaba/Aqaba_INSar$ cat test.py
from kite import Scene
import kite
print(kite.__version__)
# Import Matlab container to kite
scene = Scene.load('data/A_T343co')
scene.spool() # start the GUI for data inspection and Quadtree parametrisation
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:
(base) ulrich@ulrich-ThinkPad-T490s:~/work/Aqaba/Aqaba_INSar$ python test.py
1.5.7
Traceback (most recent call last):
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/spool.py", line 158, in buildViews
self.addView(v)
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/spool.py", line 175, in addView
view = view(self)
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/tab_scene.py", line 56, in __init__
self.dialogTransect = KiteToolTransect(scene_plot, spool)
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/tab_scene.py", line 196, in __init__
self.plt_wdgt.showGrid(True, True, alpha=0.5)
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/pyqtgraph/graphicsItems/PlotItem/PlotItem.py", line 376, in showGrid
self.ctrl.gridAlphaSlider.setValue(v)
TypeError: setValue(self, a0: int): argument 1 has unexpected type 'numpy.float64'
Traceback (most recent call last):
File "/home/ulrich/work/Aqaba/Aqaba_INSar/test.py", line 6, in <module>
scene.spool() # start the GUI for data inspection and Quadtree parametrisation
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/scene.py", line 854, in spool
spool(scene=self)
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 44, in __init__
self.addScene(scene)
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/spool.py", line 58, in addScene
self.spool_win.addScene(scene)
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/spool.py", line 147, in addScene
self.buildViews()
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/spool.py", line 158, in buildViews
self.addView(v)
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/spool.py", line 175, in addView
view = view(self)
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/tab_scene.py", line 56, in __init__
self.dialogTransect = KiteToolTransect(scene_plot, spool)
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/tab_scene.py", line 196, in __init__
self.plt_wdgt.showGrid(True, True, alpha=0.5)
File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/pyqtgraph/graphicsItems/PlotItem/PlotItem.py", line 376, in showGrid
self.ctrl.gridAlphaSlider.setValue(v)
TypeError: setValue(self, a0: int): argument 1 has unexpected type 'numpy.float64'
(Python 3.10.13)
Metadata
Metadata
Assignees
Labels
No labels
Activity