Ticket #77 (closed defect: fixed)

Opened 7 months ago

Last modified 6 months ago

Bug in redirection to a metacode file ('>G') during 'bplot' command

Reported by: sontag Assigned to: sontag
Priority: normal Milestone: PyRAF 1.6
Component: none Version:
Severity: normal Keywords:
Cc:

Description

An external user noted (CNSHD713126) that she got a stack trace with PyRAF 1.4 during the following command which runs 'bplot' and redirects the graphics output to a file:


    --> bplot d0145_3 >G d0145_3.mc


Traceback (innermost last):

File "/scisoft/i386/Packages/Python-2.5.1/Python.framework/Versions/2.5/lib/py

thon2.5/site-packages/pyraf/iraffunctions.py", line 2903, in clExecute

exec codeObject in locals

File "<CL script CL1>", line 1, in <module>

iraf.bplot('d0145_3', StdoutG='d0145_3.mc', _save=1)

File "/scisoft/i386/Packages/Python-2.5.1/Python.framework/Versions/2.5/lib/py

thon2.5/site-packages/pyraf/iraftask.py", line 673, in call

return apply(self.run,args,kw)

File "/scisoft/i386/Packages/Python-2.5.1/Python.framework/Versions/2.5/lib/py

thon2.5/site-packages/pyraf/iraftask.py", line 277, in run

self._run(redirKW, specialKW)

File "/scisoft/i386/Packages/Python-2.5.1/Python.framework/Versions/2.5/lib/py

thon2.5/site-packages/pyraf/iraftask.py", line 1332, in _run

self._runCode()

File "/scisoft/i386/Packages/Python-2.5.1/Python.framework/Versions/2.5/lib/py

thon2.5/site-packages/pyraf/iraftask.py", line 1347, in _runCode

apply(self._clFunction, parList, kw)

File "<CL script longslit.bplot>", line 61, in bplot

Stdout=Vars.ifile)

File "/scisoft/i386/Packages/Python-2.5.1/Python.framework/Versions/2.5/lib/py

thon2.5/site-packages/pyraf/iraftask.py", line 673, in call

return apply(self.run,args,kw)

File "/scisoft/i386/Packages/Python-2.5.1/Python.framework/Versions/2.5/lib/py

thon2.5/site-packages/pyraf/iraftask.py", line 277, in run

self._run(redirKW, specialKW)

File "/scisoft/i386/Packages/Python-2.5.1/Python.framework/Versions/2.5/lib/py

thon2.5/site-packages/pyraf/iraftask.py", line 715, in _run

(self, iraf.getVarDict()), redirKW)

File "/scisoft/i386/Packages/Python-2.5.1/Python.framework/Versions/2.5/lib/py

thon2.5/site-packages/pyraf/irafexecute.py", line 323, in IrafExecute?

gki.kernel.pushStdio(None,None,None)

File "/scisoft/i386/Packages/Python-2.5.1/Python.framework/Versions/2.5/lib/py

thon2.5/site-packages/pyraf/gki.py", line 618, in pushStdio

self._stdioStack.append((self.stdin, self.stdout, self.stderr))

AttributeError?: GkiRedirection? instance has no attribute '_stdioStack'

Change History

02/05/08 07:47:49 changed by sontag

  • status changed from new to assigned.
  • owner changed from somebody to sontag.

02/05/08 07:49:30 changed by sontag

  • milestone set to stsci_python 2.6 release.

02/05/08 10:47:04 changed by sontag

  • milestone changed from stsci_python 2.6 release to PyRAF 1.6.

02/06/08 15:34:15 changed by sontag

  • status changed from assigned to closed.
  • resolution set to fixed.

02/08/08 09:59:55 changed by sontag

Fixed by rev815.

02/14/08 08:21:10 changed by sontag

That is, r815.