Skip to content

CalledProcessError: in the DrizzlePac initialization steps #155

@kasitennis

Description

@kasitennis

I went through the procedure of the DrizzlePac initialization. And I had the following error message when I bring the best reference files for a given FLC file:

[]: subprocess.check_output('crds bestrefs --files ib2j02n5q_flc.fits --sync-references=1 --update-bestrefs', shell=True, stderr=subprocess.DEVNULL)

---------------------------------------------------------------------------
CalledProcessError                        Traceback (most recent call last)
<ipython-input-9-5a063592aa14> in <module>
----> 1 subprocess.check_output('crds bestrefs --files ib2j02n5q_flc.fits --sync-references=1 --update-bestrefs', shell=True, stderr=subprocess.DEVNULL)

~/opt/anaconda3/envs/astroconda/lib/python3.6/subprocess.py in check_output(timeout, *popenargs, **kwargs)
    354 
    355     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
--> 356                **kwargs).stdout
    357 
    358 

~/opt/anaconda3/envs/astroconda/lib/python3.6/subprocess.py in run(input, timeout, check, *popenargs, **kwargs)
    436         if check and retcode:
    437             raise CalledProcessError(retcode, process.args,
--> 438                                      output=stdout, stderr=stderr)
    439     return CompletedProcess(process.args, retcode, stdout, stderr)
    440 

CalledProcessError: Command 'crds bestrefs --files ib2j02n5q_flc.fits --sync-references=1 --update-bestrefs' returned non-zero exit status 255.
-----------------------------------

I simply copy and paste the command line provided by this site. Could you let me know what I am missing?

Thanks,

-Soung

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions