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

Precompiled binaries 4.2.1 - download CAMS - Issue with SSL support #74

Open
GuiYome opened this issue Oct 20, 2020 · 2 comments
Open

Comments

@GuiYome
Copy link

GuiYome commented Oct 20, 2020

Hello,

Appologize if this is not the right place to post on precompiled binaries.

I successfully downloaded and install precompiled binaries on a CentOS 7 linux server.

I could launch almost all process describe in the README.md of this repo (very helpful, thanks!).

Yet I met some issues with the download of CAMS data.

Here is the command I ran:
./camsdownload -d 20201001 -f 20201001 -a /<my data directory>/CNES_MAJA/CAMS -w /<my data directory>/CNES_MAJA/CAMS/Archive -p s2

And here are the outputs:

Number of days = 1
==================================
Downloading files for date 2020-10-01 00:00:00
==================================
Python socket module was not compiled with SSL support. Aborting...

Making some search on the internet, I found that issue could be that the embeded Python is not built with ssl support (see https://www.programmersought.com/article/5708542317/).

I could work around this by taking the code related to CAMS download and put all that in a docker with a python release that worked fine.

Is that issue only happening for me?

Thanks.

@petket-5
Copy link

I could not replicate the issue on my end using the embedded python exe. I will forward it to the developers to check if they can reproduce it.

Should you not want to pass by a dedicated docker img, you can just use a conda environment and call cams_download.py (located in /lib) directly using the new python exe.

Kind regards,
Peter

@jprankl
Copy link

jprankl commented Nov 21, 2020

I had the same issue.

  • Docker with Ubuntu 20.04
  • Maja 4.2.1 pre-compiled binary

With the embedded python: "Python socket module was not compiled with SSL support. Aborting..."
Then I used python 3 shipped with Ubuntu and it works.

Bests!
Johann

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

3 participants