8000 DB Error on uploading large sets of files · Issue #4 · ept/uploadr.py · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
DB Error on uploading large sets of files #4
Open
@ankitdaf

Description

@ankitdaf

I am running a modified version of uploadr, and uploading a good sized photo collection, and I am getting the following error :

File "/media/C/Projects/uploadr/uploadr.py", line 419, in uploadImage
if ( not self.uploaded.has_key( image ) ):
File "/usr/lib/python2.7/shelve.py", line 107, in has_key
return key in self.dict
File "/usr/lib/python2.7/_abcoll.py", line 348, in contains
self[key]
File "/usr/lib/python2.7/bsddb/init.py", line 270, in getitem
return _DeadlockWrap(lambda: self.db[key]) # self.db[key]
File "/usr/lib/python2.7/bsddb/dbutils.py", line 68, in DeadlockWrap
return function(__args, *__kwargs)
File "/usr/lib/python2.7/bsddb/init.py", line 270, in
return _DeadlockWrap(lambda: self.db[key]) # self.db[key]
bsddb.db.DBRunRecoveryError: (-30973, 'DB_RUNRECOVERY: Fatal error, run database recovery -- PANIC: fatal region error detected; run recovery')
Exception bsddb.db.DBRunRecoveryError: DBRunRecoveryError(-30973, 'DB_RUNRECOVERY: Fatal error, run database recovery -- PANIC: fatal region error detected; run recovery') in ignored
Exception bsddb.db.DBRunRecoveryError: DBRunRecoveryError(-30973, 'DB_RUNRECOVERY: Fatal error, run database recovery -- PANIC: fatal region error detected; run recovery') in ignored

I suspect it is because the db is growing too big, since this error is thrown only after uploading a particularly large directory. Also, this error disappears for a while if I delete the "history" file, and appears a while later after sufficient number of pictures have been uploaded again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0