reassign 690529 python-larch
severity important
thanks

This is actually a bug in the python-larch package. It's been fixed
upstream. I shall request a freeze exception for the fixed version.

On Mon, Oct 15, 2012 at 11:23:18AM +0300, Antti-Juhani Kaijanaho wrote:
> 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
> 

-- 
I wrote a book on personal productivity: http://gtdfh.branchable.com/

Attachment: signature.asc
Description: Digital signature

Reply via email to