Skip to content

docker image build by Dockefile cannot execute the multirtc.py #51

@cirrusasf

Description

@cirrusasf

I can build the docker image with docker build -t <docker_image> .

After I successfully built the image, I run this image

docker run -it --entrypoint /bin/bash <docker_image>

inside the docker, change to multirtc environment
conda activate multirtc

I ran the command

python src/multirtc/multirtc.py --work-dir /home/conda/projects/capella/20250618_Rosamond/work --resolution 3.0 --demtype 'Copernicus 30m' CAPELLASP CAPELLA_C15_SP_SICD_VV_20250618062741_20250618062751.ntf

it show errors:

raceback (most recent call last):
File "/home/conda/multirtc/src/multirtc/multirtc.py", line 14, in
from s1reader.s1_orbit import retrieve_orbit_file
File "/opt/conda/envs/multirtc/lib/python3.13/site-packages/s1reader/init.py", line 5, in
from s1reader.s1_burst_slc import Sentinel1BurstSlc
File "/opt/conda/envs/multirtc/lib/python3.13/site-packages/s1reader/s1_burst_slc.py", line 11, in
import isce3
File "/home/conda/isce3/isce3_install/packages/isce3/init.py", line 2, in
from .ext import extisce3
File "/home/conda/isce3/isce3_install/packages/isce3/ext/init.py", line 3, in
from . import isce3 as extisce3
ImportError: cannot import name 'isce3' from partially initialized module 'isce3.ext' (most likely due to a circular import) (/home/conda/isce3/isce3_install/packages/isce3/ext/init.py)

it complains about the circular import

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions