duplicity-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Duplicity-tracker] [bug #25502] logging.LogRecord.__init__() takes exac


From: anonymous
Subject: [Duplicity-tracker] [bug #25502] logging.LogRecord.__init__() takes exactly 9 arguments (8 given)
Date: Thu, 05 Feb 2009 20:25:54 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4

URL:
  <http://savannah.nongnu.org/bugs/?25502>

                 Summary: logging.LogRecord.__init__()  takes exactly 9
arguments (8 given)
                 Project: duplicity
            Submitted by: None
            Submitted on: Thu 05 Feb 2009 08:25:52 PM UTC
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

not urgent as I was able to update the machine. Should be solvable with a try
and catch and delivery of the other count of args on the case of the error.

With recent python versions (2.4.6, 2.5.4) no error occurs. Obviously the
parameter count was changed in these (or even earlier?) from my versions 2.4.0
and 2.5.0  which came with Suse Linux. This happens with both of the latter.

regards ede


Traceback (most recent call last):
>>>>>  File "/srv/www/jamoke.net//_apps/duplicity-0.5.03/bin/duplicity",
>>>>> line
>>>>> 553, in <module>
>>>>>    with_tempdir(main)
>>>>>  File "/srv/www/jamoke.net//_apps/duplicity-0.5.03/bin/duplicity",
>>>>> line
>>>>> 547, in with_tempdir
>>>>>    fn()
>>>>>  File "/srv/www/jamoke.net//_apps/duplicity-0.5.03/bin/duplicity",
>>>>> line
>>>>> 533, in main
>>>>>    sig_chain = check_sig_chain(col_stats)
>>>>>  File "/srv/www/jamoke.net//_apps/duplicity-0.5.03/bin/duplicity",
>>>>> line
>>>>> 240, in check_sig_chain
>>>>>    log.Warn("No signatures found, switching to full backup.")
>>>>>  File "/srv/www/jamoke.net/_apps/duplicity-0.5.03/duplicity/log.py",
>>>>> line 82, in Warn
>>>>>    Log(s, WARNING, code)
>>>>>  File "/srv/www/jamoke.net/_apps/duplicity-0.5.03/duplicity/log.py",
>>>>> line 54, in Log
>>>>>    _logger.log(DupToLoggerLevel(verb_level), s)
>>>>>  File "/usr/lib/python2.5/logging/__init__.py", line 1053, in log
>>>>>    apply(self._log, (level, msg, args), kwargs)
>>>>>  File "/usr/lib/python2.5/logging/__init__.py", line 1097, in _log
>>>>>    record = self.makeRecord(self.name, level, fn, lno, msg, args,
>>>>> exc_info, func, extra)
>>>>>  File "/srv/www/jamoke.net/_apps/duplicity-0.5.03/duplicity/log.py",
>>>>> line 111, in makeRecord
>>>>>    return DupLogRecord(self.currentCode, name, lvl, fn, lno, msg,
>>>>> args,
>>>>> exc_info)
>>>>>  File "/srv/www/jamoke.net/_apps/duplicity-0.5.03/duplicity/log.py",
>>>>> line 102, in __init__
>>>>>    logging.LogRecord.__init__(self, *args, **kwargs)
>>>>> TypeError: __init__() takes exactly 9 arguments (8 given)




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?25502>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]