Skip to content
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

Open
Thomas-Ulrich opened this issue Dec 1, 2023 · 12 comments
Open

TypeError: setValue when running scene.spool() #114

Thomas-Ulrich opened this issue Dec 1, 2023 · 12 comments

Comments

@Thomas-Ulrich
Copy link

Thomas-Ulrich commented Dec 1, 2023

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)

@hvasbath
Copy link
Member

hvasbath commented Dec 4, 2023

Hello Thomas! Can you try loading the file through: spool --load=A_T343co ?

@Thomas-Ulrich
Copy link
Author

Hi!
It does not work this way for me (I also tried the yml and npz files):

(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

@hvasbath
Copy link
Member

hvasbath commented Dec 4, 2023

Ah sorry my bad- its already imported to kite format. Then just:

spool A_T343co.yml

should do the trick

@hvasbath
Copy link
Member

hvasbath commented Dec 10, 2023

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!

@Thomas-Ulrich
Copy link
Author

Hi Hannes,
I have 0.11.
Note that it seems that the PyQt5 installed by kite conflicts with other PyQt5:

(base) ulrich@ulrich-ThinkPad-T490s:~/work/Aqaba/aqaba_setup/scripts/fig4_INSar$ pip install kite
Requirement already satisfied: kite in /home/ulrich/mambaforge3/lib/python3.10/site-packages (1.5.7)
Requirement already satisfied: numpy>=1.17.3 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from kite) (1.23.3)
Requirement already satisfied: scipy>=1.6.0 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from kite) (1.11.3)
Collecting PyQt5>=5.15.0 (from kite)
  Using cached PyQt5-5.15.10-cp37-abi3-manylinux_2_17_x86_64.whl.metadata (2.1 kB)
Collecting pyqtgraph==0.11.0 (from kite)
  Using cached pyqtgraph-0.11.0-py3-none-any.whl (800 kB)
Requirement already satisfied: pyrocko>=2022.06.10 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from kite) (2023.10.11)
Requirement already satisfied: utm>=0.7.0 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from kite) (0.7.0)
Requirement already satisfied: geojson>=2.5.0 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from kite) (3.0.1)
Collecting PyQt5-sip<13,>=12.13 (from PyQt5>=5.15.0->kite)
  Using cached PyQt5_sip-12.13.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl.metadata (504 bytes)
Collecting PyQt5-Qt5>=5.15.2 (from PyQt5>=5.15.0->kite)
  Using cached PyQt5_Qt5-5.15.2-py3-none-manylinux2014_x86_64.whl (59.9 MB)
Requirement already satisfied: pyyaml in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from pyrocko>=2022.06.10->kite) (6.0.1)
Requirement already satisfied: matplotlib in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from pyrocko>=2022.06.10->kite) (3.8.2)
Requirement already satisfied: requests in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from pyrocko>=2022.06.10->kite) (2.31.0)
Requirement already satisfied: contourpy>=1.0.1 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from matplotlib->pyrocko>=2022.06.10->kite) (1.1.1)
Requirement already satisfied: cycler>=0.10 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from matplotlib->pyrocko>=2022.06.10->kite) (0.10.0)
Requirement already satisfied: fonttools>=4.22.0 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from matplotlib->pyrocko>=2022.06.10->kite) (4.38.0)
Requirement already satisfied: kiwisolver>=1.3.1 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from matplotlib->pyrocko>=2022.06.10->kite) (1.4.5)
Requirement already satisfied: packaging>=20.0 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from matplotlib->pyrocko>=2022.06.10->kite) (23.2)
Requirement already satisfied: pillow>=8 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from matplotlib->pyrocko>=2022.06.10->kite) (9.2.0)
Requirement already satisfied: pyparsing>=2.3.1 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from matplotlib->pyrocko>=2022.06.10->kite) (2.4.0)
Requirement already satisfied: python-dateutil>=2.7 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from matplotlib->pyrocko>=2022.06.10->kite) (2.8.2)
Requirement already satisfied: charset-normalizer<4,>=2 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from requests->pyrocko>=2022.06.10->kite) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from requests->pyrocko>=2022.06.10->kite) (2.8)
Requirement already satisfied: urllib3<3,>=1.21.1 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from requests->pyrocko>=2022.06.10->kite) (2.0.6)
Requirement already satisfied: certifi>=2017.4.17 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from requests->pyrocko>=2022.06.10->kite) (2019.3.9)
Requirement already satisfied: six in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from cycler>=0.10->matplotlib->pyrocko>=2022.06.10->kite) (1.12.0)
Using cached PyQt5-5.15.10-cp37-abi3-manylinux_2_17_x86_64.whl (8.2 MB)
Using cached PyQt5_sip-12.13.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl (338 kB)
Installing collected packages: PyQt5-Qt5, pyqtgraph, PyQt5-sip, PyQt5
Successfully installed PyQt5-5.15.10 PyQt5-Qt5-5.15.2 PyQt5-sip-12.13.0 pyqtgraph-0.11.0

and then:

(base) ulrich@ulrich-ThinkPad-T490s:~/work/Aqaba/aqaba_setup/scripts/fig4_INSar$ python test.py 
1.5.7
Cannot mix incompatible Qt library (5.15.8) with this library (5.15.2)
Aborted (core dumped)

but it might not be related to kite.

@Thomas-Ulrich
Copy link
Author

Thomas-Ulrich commented Dec 11, 2023

ok the problem with qt5 was with conda (mamba) which to install pyvista, installs qt-main 5.15.8.
deinstalling qt-main and installing pyvista with pip fixed the qt problem.
But upgrading pyqtgraph lead to a new problem:

(base) ulrich@ulrich-ThinkPad-T490s:~/work/Aqaba/aqaba_setup/scripts/fig4_INSar$ pip install pyqtgraph==0.13.3
Collecting pyqtgraph==0.13.3
  Using cached pyqtgraph-0.13.3-py3-none-any.whl (960 kB)
Requirement already satisfied: numpy>=1.20.0 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from pyqtgraph==0.13.3) (1.23.3)
Installing collected packages: pyqtgraph
  Attempting uninstall: pyqtgraph
    Found existing installation: pyqtgraph 0.11.0
    Uninstalling pyqtgraph-0.11.0:
      Successfully uninstalled pyqtgraph-0.11.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
kite 1.5.7 requires pyqtgraph==0.11.0, but you have pyqtgraph 0.13.3 which is incompatible.
Successfully installed pyqtgraph-0.13.3
(base) ulrich@ulrich-ThinkPad-T490s:~/work/Aqaba/aqaba_setup/scripts/fig4_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 37, in __init__
    scene_plot = KiteScenePlot(model)
  File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/tab_scene.py", line 106, in __init__
    KitePlot.__init__(self, model=model, los_arrow=True)
  File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/base.py", line 183, in __init__
    self.transFromFrame()
  File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/base.py", line 272, in transFromFrame
    self.image.scale(frame.dE, frame.dN)
TypeError: scale(self): too many arguments
Traceback (most recent call last):
  File "/home/ulrich/work/Aqaba/aqaba_setup/scripts/fig4_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 37, in __init__
    scene_plot = KiteScenePlot(model)
  File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/tab_scene.py", line 106, in __init__
    KitePlot.__init__(self, model=model, los_arrow=True)
  File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/base.py", line 183, in __init__
    self.transFromFrame()
  File "/home/ulrich/mambaforge3/lib/python3.10/site-packages/kite/spool/base.py", line 272, in transFromFrame
    self.image.scale(frame.dE, frame.dN)
TypeError: scale(self): too many arguments

@emolch
Copy link
Member

emolch commented Dec 11, 2023

Could you please try if the proposed fix in branch bugfix/compatibility fixes this?

@Thomas-Ulrich
Copy link
Author

Thomas-Ulrich commented Dec 11, 2023

I confirm it works!
(installed with pip install git+https://github.com/pyrocko/kite.git@bugfix/compatibility and tested: the GUI opens)
Note that it did not install a newer pyqtgraph:

Collecting git+https://github.com/pyrocko/kite.git@bugfix/compatibility
  Cloning https://github.com/pyrocko/kite.git (to revision bugfix/compatibility) to /tmp/pip-req-build-cq32i6ku
  Running command git clone --filter=blob:none --quiet https://github.com/pyrocko/kite.git /tmp/pip-req-build-cq32i6ku
  Running command git checkout -b bugfix/compatibility --track origin/bugfix/compatibility
  Switched to a new branch 'bugfix/compatibility'
  Branch 'bugfix/compatibility' set up to track remote branch 'bugfix/compatibility' from 'origin'.
  Resolved https://github.com/pyrocko/kite.git to commit 376efb9d6f44f08f5e3ab1b15c9280771096c047
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.17.3 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from kite==1.5.8.dev5+g376efb9) (1.23.3)
Requirement already satisfied: scipy>=1.6.0 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from kite==1.5.8.dev5+g376efb9) (1.11.3)
Requirement already satisfied: PyQt5>=5.15.0 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from kite==1.5.8.dev5+g376efb9) (5.15.10)
Requirement already satisfied: pyqtgraph>=0.11.0 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from kite==1.5.8.dev5+g376efb9) (0.13.3)
Requirement already satisfied: pyrocko>=2022.06.10 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from kite==1.5.8.dev5+g376efb9) (2023.10.11)
Requirement already satisfied: utm>=0.7.0 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from kite==1.5.8.dev5+g376efb9) (0.7.0)
Requirement already satisfied: geojson>=2.5.0 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from kite==1.5.8.dev5+g376efb9) (3.1.0)
Requirement already satisfied: PyQt5-sip<13,>=12.13 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from PyQt5>=5.15.0->kite==1.5.8.dev5+g376efb9) (12.13.0)
Requirement already satisfied: PyQt5-Qt5>=5.15.2 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from PyQt5>=5.15.0->kite==1.5.8.dev5+g376efb9) (5.15.2)
Requirement already satisfied: pyyaml in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from pyrocko>=2022.06.10->kite==1.5.8.dev5+g376efb9) (6.0.1)
Requirement already satisfied: matplotlib in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from pyrocko>=2022.06.10->kite==1.5.8.dev5+g376efb9) (3.8.2)
Requirement already satisfied: requests in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from pyrocko>=2022.06.10->kite==1.5.8.dev5+g376efb9) (2.31.0)
Requirement already satisfied: contourpy>=1.0.1 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from matplotlib->pyrocko>=2022.06.10->kite==1.5.8.dev5+g376efb9) (1.1.1)
Requirement already satisfied: cycler>=0.10 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from matplotlib->pyrocko>=2022.06.10->kite==1.5.8.dev5+g376efb9) (0.10.0)
Requirement already satisfied: fonttools>=4.22.0 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from matplotlib->pyrocko>=2022.06.10->kite==1.5.8.dev5+g376efb9) (4.38.0)
Requirement already satisfied: kiwisolver>=1.3.1 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from matplotlib->pyrocko>=2022.06.10->kite==1.5.8.dev5+g376efb9) (1.4.5)
Requirement already satisfied: packaging>=20.0 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from matplotlib->pyrocko>=2022.06.10->kite==1.5.8.dev5+g376efb9) (23.2)
Requirement already satisfied: pillow>=8 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from matplotlib->pyrocko>=2022.06.10->kite==1.5.8.dev5+g376efb9) (9.2.0)
Requirement already satisfied: pyparsing>=2.3.1 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from matplotlib->pyrocko>=2022.06.10->kite==1.5.8.dev5+g376efb9) (2.4.0)
Requirement already satisfied: python-dateutil>=2.7 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from matplotlib->pyrocko>=2022.06.10->kite==1.5.8.dev5+g376efb9) (2.8.2)
Requirement already satisfied: charset-normalizer<4,>=2 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from requests->pyrocko>=2022.06.10->kite==1.5.8.dev5+g376efb9) (3.3.2)
Requirement already satisfied: idna<4,>=2.5 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from requests->pyrocko>=2022.06.10->kite==1.5.8.dev5+g376efb9) (2.8)
Requirement already satisfied: urllib3<3,>=1.21.1 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from requests->pyrocko>=2022.06.10->kite==1.5.8.dev5+g376efb9) (2.0.6)
Requirement already satisfied: certifi>=2017.4.17 in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from requests->pyrocko>=2022.06.10->kite==1.5.8.dev5+g376efb9) (2019.3.9)
Requirement already satisfied: six in /home/ulrich/mambaforge3/lib/python3.10/site-packages (from cycler>=0.10->matplotlib->pyrocko>=2022.06.10->kite==1.5.8.dev5+g376efb9) (1.12.0)
Building wheels for collected packages: kite
  Building wheel for kite (pyproject.toml) ... done
  Created wheel for kite: filename=kite-1.5.8.dev5+g376efb9-cp310-cp310-linux_x86_64.whl size=735914 sha256=d6aa0363ae3a66b785994243d1287a0b1e83404e4373d3c9f34de109e93513ad
  Stored in directory: /tmp/pip-ephem-wheel-cache-z78elsx1/wheels/fb/c0/7b/c028c4b884d6f58a4f96b5046e03b8d6c7f323838793932cae
Successfully built kite
Installing collected packages: kite
  Attempting uninstall: kite
    Found existing installation: kite 1.5.7
    Uninstalling kite-1.5.7:
      Successfully uninstalled kite-1.5.7
Successfully installed kite-1.5.8.dev5+g376efb9

@emolch
Copy link
Member

emolch commented Dec 12, 2023

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.

@Thomas-Ulrich
Copy link
Author

as far as I tested, everything works fine.

@mmustacb
Copy link

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:

(base) marija@marija-MS-7C37:/media/marija/New Volume1/InSAR/Kite/test_COMET_LiSCAR$ pip install git+https://github.com/pyrocko/kite.git@bugfix/compatibility
Collecting git+https://github.com/pyrocko/kite.git@bugfix/compatibility
Cloning https://github.com/pyrocko/kite.git (to revision bugfix/compatibility) to /tmp/pip-req-build-gs0wsgmr
Running command git clone --filter=blob:none --quiet https://github.com/pyrocko/kite.git /tmp/pip-req-build-gs0wsgmr
WARNING: Did not find branch or tag 'bugfix/compatibility', assuming revision or ref.
Running command git checkout -q bugfix/compatibility
error: pathspec 'bugfix/compatibility' did not match any file(s) known to git
error: subprocess-exited-with-error

× git checkout -q bugfix/compatibility did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git checkout -q bugfix/compatibility did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Has something changed with bugfix/compatibility in the meantime or is the problem on my side?

(Python 3.11.5)

@hvasbath
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants