Roundup Tracker - Issues

Message531

Author rochecompaan
Recipients
Date 2002-12-10.12:53:47
Message-id
In-reply-to
The roundup indexer doesn't seem to cope with batch
submissions. A common example of when issues will be
submitted as a batch would be when I create a whole
bunch of issues while I am working offline and submit
all of them at once the next time I go online.

I get 2 common tracebacks:

Traceback1:

----  traceback of failure  ----
Traceback (most recent call last):
  File
"/usr/lib/python2.1/site-packages/roundup/mailgw.py",
line 248, in handle_Message
    return self.handle_message(message)
  File
"/usr/lib/python2.1/site-packages/roundup/mailgw.py",
line 821, in handle_message
    self.db.commit()
  File
"/usr/lib/python2.1/site-packages/roundup/backends/back_anydbm.py",
line 584, in commit
    self.indexer.save_index()
  File
"/usr/lib/python2.1/site-packages/roundup/indexer.py",
line 311, in save_index
    os.chmod(filename, 0664)
OSError: [Errno 2] No such file or directory:
'/home/httpd/roundup/checkins/db/indexes/index.db8'


Traceback 2:

----  traceback of failure  ----
Traceback (most recent call last):
  File
"/usr/lib/python2.1/site-packages/roundup/mailgw.py",
line 248, in handle_Message
    return self.handle_message(message)
  File
"/usr/lib/python2.1/site-packages/roundup/mailgw.py",
line 821, in handle_message
    self.db.commit()
  File
"/usr/lib/python2.1/site-packages/roundup/backends/back_anydbm.py",
line 581, in commit
    self.getclass(classname).index(nodeid)
  File
"/usr/lib/python2.1/site-packages/roundup/backends/back_anydbm.py",
line 1953, in index
    mime_type)
  File
"/usr/lib/python2.1/site-packages/roundup/indexer.py",
line 76, in add_text
    self.load_index()
  File
"/usr/lib/python2.1/site-packages/roundup/indexer.py",
line 259, in load_index
    pickle_str = zlib.decompress(f.read())
error: Error -5 while decompressing data

History
Date User Action Args
2009-02-03 14:20:10adminlinkissue651409 messages
2009-02-03 14:20:10admincreate