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

db file doesnt exist - run_08_timeseries_misreg #460

Closed
jaha2600 opened this issue Mar 15, 2022 · 3 comments
Closed

db file doesnt exist - run_08_timeseries_misreg #460

jaha2600 opened this issue Mar 15, 2022 · 3 comments

Comments

@jaha2600
Copy link

I am running through the stackSentinel.py shell scripts having built files using the following command:
stackSentinel.py -s ./SLC/ -d ./DEM/dem.envi -a ./AuxDir/ -o orbits/ -b '6.389 6.701 2.200 3.405' -c 2

I attach my conda envrionment .yml file (as isce2.txt) and slc filelist slc_list.txt.

Up until this morning I was receiving the error shown in #458 , so I have changed my python version to 3.9.10 (conda install -c conda-forge python=3.9.10). This now allows stage_07 to run correctly. However run_08 now fails out with the error shown below:

./run_08_timeseries_misreg
This is the Open Source version of ISCE.
Some of the workflows depend on a separate licensed package.
To obtain the licensed package, please make a request for ISCE
through the website: https://download.jpl.nasa.gov/ops/request/index.cfm.
Alternatively, if you are a member, or can become a member of WinSAR
you may be able to obtain access to a version of the licensed sofware at
https://winsar.unavco.org/software/isce
Traceback (most recent call last):
File "/home/jasmine/miniconda3/envs/isce2/lib/python3.10/site-packages/isce/contrib/stack/stripmapStack/invertMisreg.py", line 205, in
main()
File "/home/jasmine/miniconda3/envs/isce2/lib/python3.10/site-packages/isce/contrib/stack/stripmapStack/invertMisreg.py", line 142, in main
polyInfo = getPolyInfo(pairDirs[0])
File "/home/jasmine/miniconda3/envs/isce2/lib/python3.10/site-packages/isce/contrib/stack/stripmapStack/invertMisreg.py", line 77, in getPolyInfo
with shelve.open(os.path.join(filename,'misreg'),flag='r') as db:
File "/home/jasmine/miniconda3/envs/isce2/lib/python3.9/shelve.py", line 243, in open
return DbfilenameShelf(filename, flag, protocol, writeback)
File "/home/jasmine/miniconda3/envs/isce2/lib/python3.9/shelve.py", line 227, in init
Shelf.init(self, dbm.open(filename, flag), protocol, writeback)
File "/home/jasmine/miniconda3/envs/isce2/lib/python3.9/dbm/init.py", line 85, in open
raise error[0]("db file doesn't exist; "

dbm.error: db file doesn't exist; use 'c' or 'n' flag to create a new db
This is the Open Source version of ISCE.
Some of the workflows depend on a separate licensed package.
To obtain the licensed package, please make a request for ISCE
through the website: https://download.jpl.nasa.gov/ops/request/index.cfm.
Alternatively, if you are a member, or can become a member of WinSAR
you may be able to obtain access to a version of the licensed sofware at
https://winsar.unavco.org/software/isce
Traceback (most recent call last):
File "/home/jasmine/miniconda3/envs/isce2/lib/python3.10/site-packages/isce/contrib/stack/stripmapStack/invertMisreg.py", line 205, in
main()
File "/home/jasmine/miniconda3/envs/isce2/lib/python3.10/site-packages/isce/contrib/stack/stripmapStack/invertMisreg.py", line 142, in main
polyInfo = getPolyInfo(pairDirs[0])
File "/home/jasmine/miniconda3/envs/isce2/lib/python3.10/site-packages/isce/contrib/stack/stripmapStack/invertMisreg.py", line 77, in getPolyInfo
with shelve.open(os.path.join(filename,'misreg'),flag='r') as db:
File "/home/jasmine/miniconda3/envs/isce2/lib/python3.9/shelve.py", line 243, in open
return DbfilenameShelf(filename, flag, protocol, writeback)
File "/home/jasmine/miniconda3/envs/isce2/lib/python3.9/shelve.py", line 227, in init
Shelf.init(self, dbm.open(filename, flag), protocol, writeback)
File "/home/jasmine/miniconda3/envs/isce2/lib/python3.9/dbm/init.py", line 85, in open
raise error[0]("db file doesn't exist; "
dbm.error: db file doesn't exist; use 'c' or 'n' flag to create a new db

@f2695443173
Copy link

May I ask if you have solved this problem? I have also encountered the same problem and am eager to know how you resolved it.

1 similar comment
@xiangbenzhang
Copy link

May I ask if you have solved this problem? I have also encountered the same problem and am eager to know how you resolved it.

@mhmnia
Copy link

mhmnia commented Jun 14, 2024

Check the paths where you export them.
You can deactivate the stripmapStack address if you use Sentinel-1 ...

export PATH = ~ /tools/isce2-main/contrib/stack/topsStack/:$PATH
#export PATH= ~ / tools/isce2-main/contrib/stack/stripmapStack:$PATH

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