[Python-apps-team] Bug#646232: s3ql: Google Storage backend raises ValueError on mount

Fladischer Michael FladischerMichael at fladi.at
Sat Oct 22 12:18:35 UTC 2011


Package: s3ql
Version: 1.4-1
Severity: important

Mounting a newly created FS (Google Storage backend with encryption)
results in a PYthon exception:

root at root # mkfs.s3ql gs://my-bucket/root
Enter encryption password: 
Confirm encryption password: 
Generating random encryption key...
Creating metadata tables...
Dumping metadata...
..objects..
..blocks..
..inode_blocks..
..inodes..
..symlink_targets..
..names..
..contents..
..ext_attributes..
Compressing and uploading metadata...
[jobs:0][screens:0] {#1085}  14:14   ~ 
root at root # mount.s3ql gs://my-bucket/root /mnt
Using 16 upload threads.
Uncaught top-level exception
Traceback (most recent call last):
  File "/usr/bin/mount.s3ql", line 9, in <module>
    load_entry_point('s3ql==1.4', 'console_scripts', 'mount.s3ql')()
  File "/usr/share/s3ql/s3ql/cli/mount.py", line 92, in main
    (param, db) = get_metadata(bucket, cachepath)
  File "/usr/lib/python2.6/contextlib.py", line 34, in __exit__
    self.gen.throw(type, value, traceback)
  File "/usr/share/s3ql/s3ql/backends/common.py", line 131, in __call__
    yield conn
  File "/usr/share/s3ql/s3ql/cli/mount.py", line 92, in main
    (param, db) = get_metadata(bucket, cachepath)
  File "/usr/share/s3ql/s3ql/cli/mount.py", line 273, in get_metadata
    seq_no = get_seq_no(bucket)
  File "/usr/share/s3ql/s3ql/common.py", line 106, in get_seq_no
    seq_nos = [ int(x[len('s3ql_seq_no_'):]) for x in seq_nos ]
ValueError: invalid literal for int() with base 10: '_no_1'

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages s3ql depends on:
ii  fuse               2.8.6-1     
ii  libjs-jquery       1.6.4-1     
ii  libjs-underscore   1.1.6-1     
ii  libsqlite3-0       3.7.8-1     
ii  psmisc             22.14-1     
ii  python             2.6.7-3     
ii  python-apsw        3.7.6.3-r1-1
ii  python-argparse    1.2.1-1     
ii  python-llfuse      0.36-1      
ii  python-lzma        0.5.3-2     
ii  python-paramiko    1.7.7.1-2   
ii  python-pycryptopp  0.5.29-1    
ii  python-setuptools  0.6.16-1.1  

s3ql recommends no packages.

s3ql suggests no packages.

-- no debconf information





More information about the Python-apps-team mailing list