[tahoe-dev] [tahoe-lafs] #948: LiteralFileURI instance has no attribute 'storage_index'

tahoe-lafs trac at allmydata.org
Sun Feb 14 01:43:51 PST 2010


#948: LiteralFileURI instance has no attribute 'storage_index'
-------------------------------------------------------------------------+--
 Reporter:  francois                                                     |           Owner:           
     Type:  defect                                                       |          Status:  new      
 Priority:  critical                                                     |       Milestone:  undecided
Component:  code-mutable                                                 |         Version:  1.6.0    
 Keywords:  integrity preservation verify repair tahoe-backup usability  |   Launchpad_bug:           
-------------------------------------------------------------------------+--
 A daily cronjob is running 'tahoe deep-check --repair' on files which were
 created by 'tahoe backup'. It began to fail with the following exception
 sometimes around the implementation of immutable directories.

 As soon as this failure occurs, the deep-check operation is aborted. This
 might be dangerous because the remaining files are not being correctly
 checked.

 {{{
 $ tahoe deep-check -v --repair --add-lease tahoe:
 [...]
 ERROR: AttributeError(LiteralFileURI instance has no attribute
 'storage_index')
 [Failure instance: Traceback: <type 'exceptions.AttributeError'>:
 LiteralFileURI instance has no attribute 'storage_index'
 /usr/lib/python2.5/site-packages/twisted/internet/defer.py:285:unpause
 /usr/lib/python2.5/site-
 packages/twisted/internet/defer.py:328:_runCallbacks
 /home/francois/dev/tahoe/src/allmydata/dirnode.py:676:<lambda>
 /home/francois/dev/tahoe/src/allmydata/dirnode.py:631:_deep_traverse_dirnode
 --- <exception caught here> ---
 /usr/lib/python2.5/site-
 packages/twisted/internet/defer.py:106:maybeDeferred
 /home/francois/dev/tahoe/src/allmydata/web/directory.py:1114:add_node
 /home/francois/dev/tahoe/src/allmydata/dirnode.py:349:get_storage_index
 }}}

 {{{
 $ tahoe --version
 allmydata-tahoe: 1.5.0-r4228, foolscap: 0.4.2, pycryptopp: 0.5.15, zfec:
 1.4.5, Twisted: 8.1.0, Nevow: 0.9.33-r17222, zope.interface: 3.3.1,
 python: 2.5.2, platform: Linux-debian_5.0.4-i686-32bit, sqlite: 3.5.9,
 simplejson: 1.9.2, argparse: 0.9.1, pyOpenSSL: 0.7, pyutil: 1.3.34,
 zbase32: 1.1.1, setuptools: 0.6c12dev, pysqlite: 2.3.2
 }}}

-- 
Ticket URL: <http://allmydata.org/trac/tahoe/ticket/948>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid


More information about the tahoe-dev mailing list