Closed stsci-hack closed 4 years ago
Experiments indicate that this error was introduced when #141 was merged in as commit ef9ed9d.
I am not sure, but it is very possible that https://github.com/spacetelescope/stwcs/pull/148 may fix this issue. CC: @nden
@stsci-hack Could you, please, re-test with the latest stwcs
master?
This problem still shows up when running runastrodriz
while using stwcs version 1.5.4a1.dev44+g4a57476
(master as of 7-Jul-2020).
Experiments indicate that this error was introduced when #141 was merged in as commit ef9ed9d.
The bug is actually in change from '%s' % None
(which worked with None
) to f'{fobj.filename():s}'
which crashes when filename()
is None
which happens when fobj
is an in-memory HDUList
. This bug was introduced in:
Some change after commit b7c7aaa has resulted in the pipeline software 'runastrodriz' to crash with the following traceback:
This problem can be reproduced with the following commands in an ipython session: