Skip to content

spool load GMTSAR interferogram error #135

@Stephen0255

Description

@Stephen0255

Hi,
I install pyrocko and kite using commands below on a ubuntu-24.04 machine
conda install -c pyrocko pyrocko
conda activate pyrocko
pip install utm
pip install kite,
when I load the GMTSAR interferogram, it shows:

(pyrocko) zs@zs-VM:/work/pyrocko/kite$ ls
phasefilt_mask_ll.grd
(pyrocko) zs@zs-VM:
/work/pyrocko/kite$ spool --load phasefilt_mask_ll.grd
/home/zs/miniconda3/envs/pyrocko/lib/python3.14/site-packages/kite/init.py:2: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources
Traceback (most recent call last):
File "/home/zs/miniconda3/envs/pyrocko/bin/spool", line 3, in
from kite.spool.main import main
File "/home/zs/miniconda3/envs/pyrocko/lib/python3.14/site-packages/kite/spool/init.py", line 2, in
from .spool import Spool, spool
File "/home/zs/miniconda3/envs/pyrocko/lib/python3.14/site-packages/kite/spool/spool.py", line 17, in
from .tab_aps import KiteAPS # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/zs/miniconda3/envs/pyrocko/lib/python3.14/site-packages/kite/spool/tab_aps.py", line 10, in
from .tab_covariance import KiteSubplot
File "/home/zs/miniconda3/envs/pyrocko/lib/python3.14/site-packages/kite/spool/tab_covariance.py", line 14, in
pen_covariance_model = pg.mkPen((204, 0, 0), width=2, style=QtCore.Qt.DotLine)
File "/home/zs/miniconda3/envs/pyrocko/lib/python3.14/site-packages/pyqtgraph/functions.py", line 451, in mkPen
pen.setStyle(style)
~~~~~~~~~~~~^^^^^^^
TypeError: 'PySide6.QtGui.QPen.setStyle' called with wrong argument types:
PySide6.QtGui.QPen.setStyle(PenStyle)
Supported signatures:
PySide6.QtGui.QPen.setStyle(arg__1: PySide6.QtCore.Qt.PenStyle, /)

how to resolve it? Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions