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

Linelist downloader gives a cryptic error when run on secure systems #4

Open
joshua-laughner opened this issue Dec 16, 2024 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@joshua-laughner
Copy link
Contributor

I encountered this error running the installation on one of my clusters:

Traceback (most recent call last):
  File "/home/laughner/ggg/ggg-stable/linelist/download_linelists.py", line 281, in <module>
    main()
  File "/home/laughner/ggg/ggg-stable/linelist/download_linelists.py", line 47, in main
    driver(**clargs)
  File "/home/laughner/ggg/ggg-stable/linelist/download_linelists.py", line 67, in driver
    failed = do_one_download(download, needs_extract)
  File "/home/laughner/ggg/ggg-stable/linelist/download_linelists.py", line 272, in do_one_download
    is_ok = check_md5(check['file'], check['md5'])
  File "/home/laughner/ggg/ggg-stable/linelist/download_linelists.py", line 87, in check_md5
    new_checksum = compute_md5(file)
  File "/home/laughner/ggg/ggg-stable/linelist/download_linelists.py", line 92, in compute_md5
    checksum = hashlib.md5()
ValueError: [digital envelope routines: EVP_DigestInit_ex] disabled for FIPS

The problem arose because I was using the system Python, which apparently has some extra precautions implemented. The simple fix was just to make sure that a conda/mamba environment with Python was active. This will need to be documented somewhere obvious in case users encounter the same problem.

@joshua-laughner joshua-laughner added the documentation Improvements or additions to documentation label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant