[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SOLVED -> [Duplicity-talk] 0.5.04 & log error
From: |
Kenneth Loafman |
Subject: |
Re: SOLVED -> [Duplicity-talk] 0.5.04 & log error |
Date: |
Mon, 12 Jan 2009 10:56:53 -0600 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20090105) |
Since we now know what the problem is, the try/catch mechanism would be
the way to go on this one.
...Ken
address@hidden wrote:
> your welcome .. and true, this really messes up things. Is there a try
> and catch mechanism that could handle this error? Just an idea if it
> occures more often or hits users which can't update their python.
>
> .. ede
>> Thanks for the message on this one!
>>
>> That kind of change is not supposed to happen during a bug-fix version
>> change, i.e. 2.5.0->2.5.4. Python CM guys screwed up big time.
>>
>> ...Ken
>>
>> address@hidden wrote:
>>
>>> for the error below I can state: 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.
>>>
>>> ... ede
>>>
>>>
>>> address@hidden:/srv/www/jamoke.net/duplicity-0.5.03>
>>> ~/_apps/duplicity-0.5.03/bin/duplicity --no-encryption ~/duplicity-0.4.1
>>> file:///tmp/testbkp
>>> 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)
>>>
>>>
>>> thanks ede
>>> --
>>>
>>>> On Sun, Dec 28, 2008 at 9:56 AM, Edgar Soldin <address@hidden>
>>>> wrote:
>>>>
>>>>
>>>>> now i am stuck here ..
>>>>>
>>>>> address@hidden:~> _apps/duplicity-0.5.04/bin/duplicity --no-encryption
>>>>> ~/duplicity-0.4.1 file:///tmp/testbkp
>>>>> Traceback (most recent call last):
>>>>> File "_apps/duplicity-0.5.04/bin/duplicity", line 590, in <module>
>>>>> log.ErrorCode.exception, e.__class__.__name__)
>>>>> File "/srv/www/jamoke.net/_apps/duplicity-0.5.04/duplicity/log.py",
>>>>> line 162, in FatalError
>>>>> Log(s, ERROR, code, extra)
>>>>> File "/srv/www/jamoke.net/_apps/duplicity-0.5.04/duplicity/log.py",
>>>>> line 64, 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.04/duplicity/log.py",
>>>>> line 179, in makeRecord
>>>>> return DupLogRecord(self.controlLine, name, lvl, fn, lno, msg,
>>>>> args,
>>>>> exc_info)
>>>>> File "/srv/www/jamoke.net/_apps/duplicity-0.5.04/duplicity/log.py",
>>>>> line 170, in __init__
>>>>> logging.LogRecord.__init__(self, *args, **kwargs)
>>>>> TypeError: __init__() takes exactly 9 arguments (8 given)
>>>>>
>>>>> help :) .. ede
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Duplicity-talk mailing list
>>>>> address@hidden
>>>>> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>>>>>
>>>>>
>>>> _______________________________________________
>>>> Duplicity-talk mailing list
>>>> address@hidden
>>>> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>>>>
>>>
>>> _______________________________________________
>>> Duplicity-talk mailing list
>>> address@hidden
>>> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>>>
>>>
>>>
>>> _______________________________________________
>>> Duplicity-talk mailing list
>>> address@hidden
>>> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>>>
>>>
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Duplicity-talk mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>>
>
>
>
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>
signature.asc
Description: OpenPGP digital signature