OCSSW failed with exit code 1
OCSSW failed with exit code 1
Hi,
I was trying to install the data processors on SeaDAS 7.5.1 and encountered 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 8)
--2018-09-19 10:50:39-- 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.
ERROR: cannot verify oceandata.sci.gsfc.nasa.gov's certificate, issued by ‘CN=COMODO ECC Domain Validation Secure Server CA,O=COMODO CA Limited,L=Salford,ST=Greater Manchester,C=GB’:
Unable to locally verify the issuer's authority.
To connect to oceandata.sci.gsfc.nasa.gov insecurely, use `--no-check-certificate'.
Error - Executing command "cd /Applications/seadas-7.5.1/ocssw; wget --tries=5 --wait=5 https://oceandata.sci.gsfc.nasa.gov/ocssw/bundles.sha256sum"
Bundle checksum file (bundles.sha256sum) not downloaded
This is the same computer related to another forum post found here:
https://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?tid=6507
It seems that the Mac we're working on does not trust the server certificate but I haven't been able to determine how to allow access. Any suggestions? Thanks so much for the help!
I was trying to install the data processors on SeaDAS 7.5.1 and encountered 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 8)
--2018-09-19 10:50:39-- 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.
ERROR: cannot verify oceandata.sci.gsfc.nasa.gov's certificate, issued by ‘CN=COMODO ECC Domain Validation Secure Server CA,O=COMODO CA Limited,L=Salford,ST=Greater Manchester,C=GB’:
Unable to locally verify the issuer's authority.
To connect to oceandata.sci.gsfc.nasa.gov insecurely, use `--no-check-certificate'.
Error - Executing command "cd /Applications/seadas-7.5.1/ocssw; wget --tries=5 --wait=5 https://oceandata.sci.gsfc.nasa.gov/ocssw/bundles.sha256sum"
Bundle checksum file (bundles.sha256sum) not downloaded
This is the same computer related to another forum post found here:
https://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?tid=6507
It seems that the Mac we're working on does not trust the server certificate but I haven't been able to determine how to allow access. Any suggestions? Thanks so much for the help!
Filters:
-
- Subject Matter Expert
- Posts: 271
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 2 times
OCSSW failed with exit code 1
You will have to run install_ocssw.py from the command line.
- grab https://oceandata.sci.gsfc.nasa.gov/ocssw/install_ocssw.py and put it in you SEADAS directory
- edit line line 43 of install_ocssw.py
from
downloadCommand = 'wget --tries=5 --wait=5 '
to
downloadCommand = 'wget --no-check-certificate --tries=5 --wait=5 '
- save the file and try running it
- grab https://oceandata.sci.gsfc.nasa.gov/ocssw/install_ocssw.py and put it in you SEADAS directory
- edit line line 43 of install_ocssw.py
from
downloadCommand = 'wget --tries=5 --wait=5 '
to
downloadCommand = 'wget --no-check-certificate --tries=5 --wait=5 '
- save the file and try running it
OCSSW failed with exit code 1
Thanks Don!
I have 'install_ocssw.py' in the ocssw folder of the SeaDAS directory. I've tried navigating into that folder and running in Terminal with the appropriate changes made to line 43, using the command
./install_ocssw.py
I get back
./install_ocssw.py: Permission denied
I'm not the most savvy when it comes to using Terminal - am I doing something wrong?
Thanks!
Brice
I have 'install_ocssw.py' in the ocssw folder of the SeaDAS directory. I've tried navigating into that folder and running in Terminal with the appropriate changes made to line 43, using the command
./install_ocssw.py
I get back
./install_ocssw.py: Permission denied
I'm not the most savvy when it comes to using Terminal - am I doing something wrong?
Thanks!
Brice
-
- Subject Matter Expert
- Posts: 271
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 2 times
OCSSW failed with exit code 1
You need to make the script executable. In the terminal, go the seadas directory and run this:
don
chmod +x install_ocssw.py
./install_ocssw.py -i ocssw -b v7.5 --aqua
don
OCSSW failed with exit code 1
Hello,
I have installed seadas-7.5.1 in mac book. After, I try to install ocssw.
Unfortunately, I get a message saying that "Unable to establish an SSL connection"
How can I fix this problem? Please reply me.
Regards
Renosh
I have installed seadas-7.5.1 in mac book. After, I try to install ocssw.
Unfortunately, I get a message saying that "Unable to establish an SSL connection"
How can I fix this problem? Please reply me.
Regards
Renosh
-
- Posts: 1519
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 9 times
OCSSW failed with exit code 1
The issue is with the SSL library used by the Apple-installed version of python.
You will need to install an alternate python version (but still v2.7 - v3.x is not yet fully supported by SeaDAS).
You might try Anaconda
Sean
You will need to install an alternate python version (but still v2.7 - v3.x is not yet fully supported by SeaDAS).
You might try Anaconda
Sean
OCSSW failed with exit code 1
Hi Sean,
I tried Anaconda. Still, it is not working.
See the python version.
renosh-mb:~ highroc$ python -V
Python 2.7.15 :: Anaconda, Inc.
I think an old inbuilt version of python there in my MacBook. I don't know how to remove it.
Regards
Renosh
I tried Anaconda. Still, it is not working.
See the python version.
renosh-mb:~ highroc$ python -V
Python 2.7.15 :: Anaconda, Inc.
I think an old inbuilt version of python there in my MacBook. I don't know how to remove it.
Regards
Renosh
-
- Posts: 1519
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 9 times
OCSSW failed with exit code 1
Try manually installing the OCSSW components:
https://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?pid=41164#pid41164
https://oceancolor.gsfc.nasa.gov/forum/oceancolor/topic_show.pl?pid=41164#pid41164
-
- Posts: 1519
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 9 times
OCSSW failed with exit code 1
A follow-up...I managed to get my hands on a "clean" Mac (fresh install of 10.13) and using this machine (once I installed XCode to get the git binary) I was successful installing SeaDAS and the OCSSW package using the GUI with no issues...
Can you let me know what macOS your machine is running?
Sean
Can you let me know what macOS your machine is running?
Sean