Skip to content

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

@joshua-laughner

Description

@joshua-laughner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions