install_ocssw.py failed with exit code 1.

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
alsahli
Posts: 11
Joined: Wed May 03, 2006 6:27 am America/New_York
Answers: 0

install_ocssw.py failed with exit code 1.

by alsahli » Mon Oct 23, 2017 7:55 pm America/New_York

Hi these,

I installed SeaDAS7.4 on fedora 26.  I made sure that seadas requirements are met (i.e., java, basch, python, git and cURL). But, when I tried to install the OCSSW.PY codes, I got the following error message:
execution exception: java.io.IOException: install_ocssw.py failed with exit code 1.
Check log for more details.
Installing bundles.sha256sum (1 of 14)
--2017-10-24 02:44:29--  https://oceandata.sci.gsfc.nasa.gov/ocssw/bundles.sha256sum
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... xx.xxx.xx.xx, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2982 (2.9K) [application/octet-stream]
Saving to: ‘bundles.sha256sum’

     0K ..                                                    100% 44.5M=0s

2017-10-24 02:44:30 (44.5 MB/s) - ‘bundles.sha256sum’ saved [2982/2982]

Installing common (2 of 14)
Installing OCSSW_bash.env (3 of 14)
--2017-10-24 02:44:33--  https://oceandata.sci.gsfc.nasa.gov/ocssw/OCSSW_bash.env
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... xx.xxx.xx.xx, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2894 (2.8K) [application/octet-stream]
Saving to: ‘OCSSW_bash.env’

     0K ..                                                    100% 60.1M=0s

2017-10-24 02:44:35 (60.1 MB/s) - ‘OCSSW_bash.env’ saved [2894/2894]

Installing README (4 of 14)
--2017-10-24 02:44:35--  https://oceandata.sci.gsfc.nasa.gov/ocssw/README
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... xx.xxx.xx.xx, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3358 (3.3K) [application/octet-stream]
Saving to: ‘README’

     0K ...                                                   100% 36.8M=0s

2017-10-24 02:44:36 (36.8 MB/s) - ‘README’ saved [3358/3358]

Installing src (5 of 14)
Installing ocrvc (6 of 14)
Installing modis (7 of 14)
Installing modisa (8 of 14)
Installing hmodisa (9 of 14)
Installing bin (10 of 14)
Installing bin3 (11 of 14)
Installing scripts (12 of 14)
Python version acceptable
Installing aqua-luts (13 of 14)
Error! could not establish a network connection. Check your network connection.
If you do not find a problem, please try again later.
Error - Could not install luts for aqua
_________________________________
Please, any help!
I have to submit my technical report soon. But, this issue caused a great delay :confused:

Regards,
Mohammad Alsahli

Filters:

OB.DAACx - SeanBailey
Posts: 1519
Joined: Wed Sep 18, 2019 6:15 pm America/New_York
Answers: 1
Been thanked: 9 times

install_ocssw.py failed with exit code 1.

by OB.DAACx - SeanBailey » Mon Oct 23, 2017 8:07 pm America/New_York

See: https://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?pid=32349#pid32349

A work-around would be to install another python2.7 version (e.g. Anaconda)

Sean

alsahli
Posts: 11
Joined: Wed May 03, 2006 6:27 am America/New_York
Answers: 0

install_ocssw.py failed with exit code 1.

by alsahli » Tue Oct 24, 2017 7:53 am America/New_York

Thanks Sean for the replay,

I did what you suggested. Then, I tried to install the install_ocssw.py again. Although, the tools became active,I could not process Level-A1 MODIS. I closed the software and opened it again to re-install the install_ocssw.py. I  ended with the following error message, and the tools now are inactive

__NOTE I shortened the message by deleting repeated downloading lines"___

"execution exception: java.io.IOException: install_ocssw.py failed with exit code 1.
Check log for more details.
Installing bundles.sha256sum (1 of 34)
--2017-10-24 12:51:24--  https://oceandata.sci.gsfc.nasa.gov/ocssw/bundles.sha256sum
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... xx.xxx.xx.xx, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2982 (2.9K) [application/octet-stream]
Saving to: ‘bundles.sha256sum’

     0K ..                                                    100% 41.8M=0s

2017-10-24 12:51:25 (41.8 MB/s) - ‘bundles.sha256sum’ saved [2982/2982]

Installing common (2 of 34)
--2017-10-24 12:51:25--  https://oceandata.sci.gsfc.nasa.gov/ocssw/common.bundle
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... xx.xxx.xx.xx, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1270770080 (1.2G) [application/octet-stream]
Saving to: ‘common.bundle’

     0K .......... .......... .......... .......... ..........  0%  153K 2h15m
    50K .......... .......... .......... .......... ..........  0%  212K 1h56m

Checking out files: 100% (112/112)  
Checking out files: 100% (112/112), done.
Installing OCSSW_bash.env (3 of 34)
--2017-10-24 13:08:52--  https://oceandata.sci.gsfc.nasa.gov/ocssw/OCSSW_bash.env
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... xx.xxx.xx.xx, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2894 (2.8K) [application/octet-stream]
Saving to: ‘OCSSW_bash.env’

     0K ..                                                    100% 32.6M=0s

2017-10-24 13:08:53 (32.6 MB/s) - ‘OCSSW_bash.env’ saved [2894/2894]

--2017-10-24 13:08:53--  https://oceandata.sci.gsfc.nasa.gov/ocssw/README
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... xx.xxx.xx.xx, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3358 (3.3K) [application/octet-stream]
Saving to: ‘README’

     0K ...                                                   100% 35.4M=0s

2017-10-24 13:08:54 (35.4 MB/s) - ‘README’ saved [3358/3358]

--2017-10-24 13:08:54--  https://oceandata.sci.gsfc.nasa.gov/ocssw/build.bundle
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... xx.xxx.xx.xx, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 388637341 (371M) [application/octet-stream]
Saving to: ‘build.bundle’

     0K .......... .......... .......... .......... ..........  0%  184K 34m24s
    50K .......... .......... .......... .......... ..........  0%  213K 32m2s

379500K .......... .......... ........                        100% 1.97M=5m50s

2017-10-24 13:14:46 (1.06 MB/s) - ‘build.bundle’ saved [388637341/388637341]

Cloning into '/home/alsahli/seadas-7.4/ocssw/build'...
Receiving objects:   0% (1/4557)  
Receiving objects:   1% (46/4557)  

Receiving objects: 100% (4557/4557), 370.63 MiB | 76.02 MiB/s, done.
Resolving deltas:   0% (0/2203)  
Resolving deltas:   1% (23/2203)  

Resolving deltas: 100% (2203/2203)  
Resolving deltas: 100% (2203/2203), done.
Installing ocrvc (6 of 34)
--2017-10-24 13:15:19--  https://oceandata.sci.gsfc.nasa.gov/ocssw/ocrvc.bundle
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... xx.xxx.xx.xx, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4096 (4.0K) [application/octet-stream]
Saving to: ‘ocrvc.bundle’

     0K ....                                                  100% 50.8M=0s

2017-10-24 13:15:20 (50.8 MB/s) - ‘ocrvc.bundle’ saved [4096/4096]

Cloning into '/home/alsahli/seadas-7.4/ocssw/run/data/ocrvc'...
Receiving objects:   4% (1/23)  

Resolving deltas: 100% (7/7), done.
Installing aquarius (7 of 34)
--2017-10-24 13:15:24--  https://oceandata.sci.gsfc.nasa.gov/ocssw/aquarius.bundle
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... xx.xxx.xx.xx, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2046849035 (1.9G) [application/octet-stream]
Saving to: ‘aquarius.bundle’

     0K .......... .......... .......... .......... ..........  0%  198K 2h47m
    50K .......... .......... .......... .......... ..........  0%  213K 2h41m

2017-10-24 13:43:32 (1.16 MB/s) - ‘aquarius.bundle’ saved [2046849035/2046849035]

Cloning into '/home/alsahli/seadas-7.4/ocssw/run/data/aquarius'...
Receiving objects:   0% (1/117)  
Receiving objects:   1% (2/117)  
Receiving objects:   2% (3/117)  

Checking out files: 100% (78/78), done.
Installing avhrr (8 of 34)
--2017-10-24 13:45:47--  https://oceandata.sci.gsfc.nasa.gov/ocssw/avhrr.bundle
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... xx.xxx.xx.xx, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 421021 (411K) [application/octet-stream]
Saving to: ‘avhrr.bundle’

     0K .......... .......... .......... .......... .......... 12%  195K 2s

   350K .......... .......... .......... .......... .......... 97%  825K 0s
   400K .......... .                                          100%  122M=0.9s

2017-10-24 13:45:50 (447 KB/s) - ‘avhrr.bundle’ saved [421021/421021]

Cloning into '/home/alsahli/seadas-7.4/ocssw/run/data/avhrr'...
Receiving objects:   1% (1/66)  

Resolving deltas: 100% (13/13), done.
--2017-10-24 13:45:56--  https://oceandata.sci.gsfc.nasa.gov/ocssw/czcs.bundle
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... xx.xxx.xx.xx, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 75769605 (72M) [application/octet-stream]
Saving to: ‘czcs.bundle’

     0K .......... .......... .......... .......... ..........  0%  192K 6m25s
    50K .......... .......... .......... .......... ..........  0%  122K 8m15s

2017-10-24 13:47:21 (883 KB/s) - ‘czcs.bundle’ saved [75769605/75769605]

Cloning into '/home/alsahli/seadas-7.4/ocssw/run/data/czcs'...
Receiving objects:   0% (1/138)  
Receiving objects:   1% (2/138)  

2017-10-24 13:50:02 (971 KB/s) - ‘goci.bundle’ saved [151459490/151459490]

Cloning into '/home/alsahli/seadas-7.4/ocssw/run/data/goci'...
Receiving objects:   0% (1/128)  
Receiving objects:   1% (2/128)  
Receiving objects:   2% (3/128)  

2017-10-24 14:04:35 (720 KB/s) - Read error at byte 633323165/2766579281 (Error in the pull function.). Retrying.

--2017-10-24 14:04:36--  (try: 2)  https://oceandata.sci.gsfc.nasa.gov/ocssw/hico.bundle
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 2766579281 (2.6G), 2133256116 (2.0G) remaining [application/octet-stream]
Saving to: ‘hico.bundle’

        [ skipping 618450K ]
618450K ,,,,,,,,,, ,,,,,,,,,, ,,,,,,,,,. .......... .......... 22%  179K 7h56m
618500K .......... .......... .......... .......... .......... 22%  108K 6h6m

2017-10-24 14:06:35 (244 KB/s) - Read error at byte 660372749/2766579281 (Error in the pull function.). Retrying.

--2017-10-24 14:06:37--  (try: 3)  https://oceandata.sci.gsfc.nasa.gov/ocssw/hico.bundle
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 2766579281 (2.6G), 2106206532 (2.0G) remaining [application/octet-stream]
Saving to: ‘hico.bundle’

        [ skipping 644850K ]
644850K ,,,,,,,,,, ,,,,,,,,,, ,,,,,,,,,, ,,,,,,,,,, ,,,,,..... 23% 2.67G 8s
644900K .......... .......... .......... .......... .......... 23%  197K 2h38m

2017-10-24 14:07:30 (47.5 KB/s) - Read error at byte 662715261/2766579281 (Error in the pull function.). Retrying.

--2017-10-24 14:07:33--  (try: 4)  https://oceandata.sci.gsfc.nasa.gov/ocssw/hico.bundle
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 2766579281 (2.6G), 2103864020 (2.0G) remaining [application/octet-stream]
Saving to: ‘hico.bundle’

        [ skipping 647150K ]
647150K ,,,,,,,,,, ,,,,,,,,,, ,,,,,,,,,, ,,........ .......... 23% 10.2M 9m37s
647200K .......... .......... .......... .......... .......... 23%  182K 2h22m
647250K .......... .......... .......... .......... .......... 23%  197K 2h36m
647300K .......... .......... .......... .......... .......... 23%  192K 2h42m

2017-10-24 14:11:29 (457 KB/s) - Read error at byte 772176365/2766579281 (Error in the pull function.). Retrying.

--2017-10-24 14:11:33--  (try: 5)  https://oceandata.sci.gsfc.nasa.gov/ocssw/hico.bundle
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 2766579281 (2.6G), 1994402916 (1.9G) remaining [application/octet-stream]
Saving to: ‘hico.bundle’

        [ skipping 754050K ]
754050K ,,,,,,,,,, ,,,,,,,,,, ,,,,,,,,.. .......... .......... 27%  599K 2h5m
754100K .......... .......... .......... .......... .......... 27%  191K 2h36m

2017-10-24 14:12:30 (443 KB/s) - Read error at byte 796014685/2766579281 (Error in the pull function.). Giving up.

--2017-10-24 14:12:30--  https://oceandata.sci.gsfc.nasa.gov/ocssw/hico.bundle
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... xx.xxx.xx.xx, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 2766579281 (2.6G), 1970564596 (1.8G) remaining [application/octet-stream]
Saving to: ‘hico.bundle’

        [ skipping 777350K ]
777350K ,,,,,,,,.. .......... .......... .......... .......... 28% 53.7K 11h52m
777400K .......... .......... .......... .......... .......... 28% 37.0K 13h16m
777450K .......... .......... .......... .......... .......... 28% 63.5K 11h33m
777500K .......... .......... .......... .......... .......... 28% 7.54K 27h1m
777550K .......... .......... .......... .......... .......... 28% 30.5K 25h3m

2017-10-24 14:13:39 (161 KB/s) - Read error at byte 805861069/2766579281 (Error in the pull function.). Retrying.

--2017-10-24 14:13:40--  (try: 2)  https://oceandata.sci.gsfc.nasa.gov/ocssw/hico.bundle
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
GnuTLS: The TLS connection was non-properly terminated.
Unable to establish SSL connection.
--2017-10-24 14:13:53--  https://oceandata.sci.gsfc.nasa.gov/ocssw/hico.bundle
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... xx.xxx.xx.xx, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
GnuTLS: The TLS connection was non-properly terminated.
Unable to establish SSL connection.
--2017-10-24 14:14:01--  https://oceandata.sci.gsfc.nasa.gov/ocssw/hico.bundle
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... xx.xxx.xx.xx, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
GnuTLS: The TLS connection was non-properly terminated.
Unable to establish SSL connection.
--2017-10-24 14:14:10--  https://oceandata.sci.gsfc.nasa.gov/ocssw/hico.bundle
Resolving oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)... xx.xxx.xx.xx, 2001:4d0:2418:128::84
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|xx.xxx.xx.xx|:443... connected.
Error - Executing command "cd /home/alsahli/seadas-7.4/ocssw; wget --tries=5 --wait=5 --continue https://oceandata.sci.gsfc.nasa.gov/ocssw/hico.bundle"
Error - Executing command "cd /home/alsahli/seadas-7.4/ocssw; wget --tries=5 --wait=5 --continue https://oceandata.sci.gsfc.nasa.gov/ocssw/hico.bundle"
Error - Executing command "cd /home/alsahli/seadas-7.4/ocssw; wget --tries=5 --wait=5 --continue https://oceandata.sci.gsfc.nasa.gov/ocssw/hico.bundle"
Error - Executing command "cd /home/alsahli/seadas-7.4/ocssw; wget --tries=5 --wait=5 --continue https://oceandata.sci.gsfc.nasa.gov/ocssw/hico.bundle"
Error - Executing command "cd /home/alsahli/seadas-7.4/ocssw; wget --tries=5 --wait=5 --continue https://oceandata.sci.gsfc.nasa.gov/ocssw/hico.bundle"
Tried to download hico.bundle 5 times, but failed checksum"

__________________________________________

When I closed seadas and tried to open it to install ocssw.py, I got an error message that install_ocssw.py is faile to install and I need to heck the internet connection.
Any hint!

gnwiii
Posts: 713
Joined: Fri Jan 29, 2021 5:51 pm America/New_York
Answers: 2
Has thanked: 1 time

install_ocssw.py failed with exit code 1.

by gnwiii » Tue Oct 24, 2017 8:48 am America/New_York

Your experience is not unusual -- persistance is often needed.

Depending on your internet connection, it can take multiple attempts to get install_ocssw.py to run to (almost) completion.   The last step is often update_luts.py.  If that fails you can run it manually.  The chances for success are better if you install just one component at a time.  You may find it better to follow the instructions in Ocean Data Science Software Repositories for downloading the bundles separately and running install_ocssw.py with the "local installation" option, or you can simply install the bundles manually.

PS -- there was a response to my report (https failures using Fedora 26 Python-2.7) from the Fedora developers.  They are working on issues with the current Python 2.7.14 install and will look into the https failures when the newer version is available.

Post Reply