Your message dated Sun, 21 Oct 2012 13:10:41 +0100
with message-id <[email protected]>
and subject line Re: Bug#690529: obnam fsck: local variable 'new_node'
referenced before assignment
has caused the Debian Bug report #690529,
regarding obnam fsck: local variable 'new_node' referenced before assignment
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
690529: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690529
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: obnam
Version: 1.1-1.1
Severity: normal
Trying to fix repository problems (KeyError: 108651) gives me this:
flowerpot:~# obnam fsck --fsck-fix --log "/root/backup-$(date +%Y-%m-%d).log"
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 169, in _run
self.process_args(args)
File "/usr/lib/python2.7/dist-packages/obnamlib/app.py", line 170, in
process_args
cliapp.Application.process_args(self, args)
File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 416, in
process_args
method(args[1:])
File "/usr/lib/python2.7/dist-packages/obnamlib/plugins/fsck_plugin.py", line
306, in fsck
for more in reversed(list(work.do() or [])):
File "/usr/lib/python2.7/dist-packages/obnamlib/plugins/fsck_plugin.py", line
250, in do
work.do()
File "/usr/lib/python2.7/dist-packages/larch/fsck.py", line 107, in do
tracing.trace('fixed it: %s' % new_node.keys())
UnboundLocalError: local variable 'new_node' referenced before assignment
Log has this:
2012-10-15 11:19:26 DEBUG fsck on /var/local/backups
2012-10-15 11:19:26 DEBUG opening repository (create=False)
2012-10-15 11:19:26 INFO VFS: __init__: baseurl=/var/local/backups
2012-10-15 11:19:26 DEBUG Initializing Journal for clientlist
2012-10-15 11:19:26 DEBUG Automatically rolling back remaining changes
2012-10-15 11:19:27 DEBUG Initializing Journal for chunksums
2012-10-15 11:19:27 DEBUG Automatically rolling back remaining changes
2012-10-15 11:19:27 DEBUG Initializing Journal for chunklist
2012-10-15 11:19:27 DEBUG Automatically rolling back remaining changes
2012-10-15 11:19:28 DEBUG dumping memory profiling data: after adding
<fsck_plugin.CheckRepository object at 0x877d8ec>
2012-10-15 11:19:28 DEBUG VmRSS: 17996 KiB
2012-10-15 11:19:28 DEBUG doing: repository
2012-10-15 11:19:28 DEBUG Checking repository
2012-10-15 11:19:28 DEBUG dumping memory profiling data: after adding
<fsck_plugin.CheckClientlist object at 0x877dcac>
2012-10-15 11:19:28 DEBUG VmRSS: 17996 KiB
2012-10-15 11:19:28 DEBUG dumping memory profiling data: after adding
<fsck_plugin.CheckBTree object at 0x877dc6c>
2012-10-15 11:19:28 DEBUG VmRSS: 17996 KiB
2012-10-15 11:19:28 DEBUG dumping memory profiling data: after adding
<fsck_plugin.CheckBTree object at 0x877dc0c>
2012-10-15 11:19:28 DEBUG VmRSS: 17996 KiB
2012-10-15 11:19:28 DEBUG dumping memory profiling data: after adding
<fsck_plugin.CheckBTree object at 0x877db8c>
2012-10-15 11:19:28 DEBUG VmRSS: 17996 KiB
2012-10-15 11:19:28 DEBUG doing: B-tree clientlist
2012-10-15 11:19:28 DEBUG Checking B-tree clientlist
2012-10-15 11:19:28 DEBUG Initializing Journal for clientlist
2012-10-15 11:19:28 DEBUG Initializing Journal for clientlist
2012-10-15 11:19:28 CRITICAL Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 169, in _run
self.process_args(args)
File "/usr/lib/python2.7/dist-packages/obnamlib/app.py", line 170, in
process_args
cliapp.Application.process_args(self, args)
File "/usr/lib/python2.7/dist-packages/cliapp/app.py", line 416, in
process_args
method(args[1:])
File "/usr/lib/python2.7/dist-packages/obnamlib/plugins/fsck_plugin.py", line
306, in fsck
for more in reversed(list(work.do() or [])):
File "/usr/lib/python2.7/dist-packages/obnamlib/plugins/fsck_plugin.py", line
250, in do
work.do()
File "/usr/lib/python2.7/dist-packages/larch/fsck.py", line 107, in do
tracing.trace('fixed it: %s' % new_node.keys())
UnboundLocalError: local variable 'new_node' referenced before assignment
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32.33-kvm-i386-20111128-dirty (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages obnam depends on:
ii libc6 2.13-35
ii python 2.7.3~rc2-1
ii python-cliapp 1.20120630-1
ii python-larch 1.20120527-1
ii python-paramiko 1.7.7.1-3
ii python-tracing 0.6-2
ii python-ttystatus 0.19-1
obnam recommends no packages.
obnam suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
On Sun, Oct 21, 2012 at 03:01:54PM +0300, Antti-Juhani Kaijanaho wrote:
> On Sun, Oct 21, 2012 at 10:29:29AM +0100, Lars Wirzenius wrote:
> > Actually, the fixed version of python-larch is already in wheezy,
> > silly me. Antti-Juhani, could you upgrade python-larch to 1.20121006-1 and
> > and try again?
>
> Unfortunately not. It was not possible for me to wait for a response; I had
> to
> wipe that particular set of backups and start afresh.
>
> (I may have a copy of it somewhere but getting it up and running, back to the
> broken state, is not very simple.)
No worries. I'll consider this bug fixed (since the new version explicitly
fixes that), and will close it. If you encounter it again, please re-open
or file a new bug. Thanks!
--
I wrote a book on personal productivity: http://gtdfh.branchable.com/
signature.asc
Description: Digital signature
--- End Message ---