[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2243: TypeError: 'NoneType' object has no attribute '__getitem__' while opening backupdb

Tahoe-LAFS trac at tahoe-lafs.org
Wed Jun 11 00:57:27 UTC 2014


#2243: TypeError: 'NoneType' object has no attribute '__getitem__' while opening
backupdb
---------------------------------+-----------------------------------------
     Reporter:  daira            |      Owner:
         Type:  defect           |     Status:  new
     Priority:  normal           |  Milestone:  undecided
    Component:  code-frontend-   |    Version:  1.10.0
  cli                            |   Keywords:  tahoe-backup backupdb error
   Resolution:                   |
Launchpad Bug:                   |
---------------------------------+-----------------------------------------

Comment (by zwick):

 Replying to [comment:1 zooko]:
 >
 [source:trunk/src/allmydata/scripts/backupdb.py?annotate=blame&rev=a1a1b5bf8a6e1a09c70d4d2b618ad0c06b0f631f#L84
 Line 84] is merely reading the ''version'' of the backupdb, so this
 particular one must have been corrupted. I haven't looked at it yet.
 >
 > zwick: what happens when you rm it (or mv it aside) and then try again?

 mv'ing (moving it aside by renaming it to backupdb.sqlite.BACKUP) and then
 running the "tahoe backup" command again worked correctly.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2243#comment:2>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list