mail[bug #12489] Logging and tee broken


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Sébastien Morin on October 22, 2008 - 18:59:

URL:
  <http://gna.org/bugs/?12489>

                 Summary: Logging and tee broken
                 Project: relax
            Submitted by: semor
            Submitted on: Wednesday 10/22/2008 at 12:59
                Category: relax's source code
                Severity: 4 - Important
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: Repository: 1.3 line
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hi,

The logging and tee options in relax don't work in the 1.3 repository line,
although they work in the 1.2 repository line.



=================
LOGGING
=================

semor@chouette ~/relax-1.3 $ ./relax -l ROGER

Opening the file 'ROGER' for writing.
Redirecting the sys.stdin IO stream to the python stdin IO stream.
Redirecting the sys.stdout IO stream to the log file 'ROGER'.
Redirecting the sys.stderr IO stream to both the python stderr IO stream and
the log file 'ROGER'.

Traceback (most recent call last):
  File "./relax", line 414, in <module>
    Relax()
  File "./relax", line 118, in __init__
    log(log_file)
  File "/home/semor/relax/relax_io.py", line 195, in log
    log_stderr.split(python_stderr, log_file)
NameError: global name 'log_stderr' is not defined



=================
TEE
=================
semor@chouette ~/relax-1.3 $ ./relax -t ROGER

Traceback (most recent call last):
  File "./relax", line 414, in <module>
    Relax()
  File "./relax", line 122, in __init__
    tee(tee_file)
NameError: global name 'tee' is not defined






    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?12489>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/




Related Messages


Powered by MHonArc, Updated Fri Oct 24 18:21:00 2008