Roundup Tracker - Issues

Message316

Author anonymous
Recipients
Date 2002-08-28.23:59:42
Message-id
In-reply-to
I'm playing with 0.4.3. I've installed an instance with
the "classic" schema, and have modified the status part
of dbinit.py thusly:

---
    stat = db.getclass('status')
    stat.create(name="not-started", order="1")
    stat.create(name="deferred", order="2")
    stat.create(name="in-progress", order="3")
    stat.create(name="more-info", order="4")
    stat.create(name="vendor", order="5")
    stat.create(name="unreproducable", order="6")
    stat.create(name="wont-fix", order="7")
    stat.create(name="resolved", order="8")
---

I've just created an issue with status "not-started",
and then tried to change its status to "vendor". This
gave the following error:

---
Traceback (most recent call last):
  File
"/usr/lib/python2.1/site-packages/roundup/cgi_client.py",
line 578, in shownode
    self._changenode(props)
  File
"/usr/lib/python2.1/site-packages/roundup/cgi_client.py",
line 629, in _changenode
    cl.set(self.nodeid, **props)
  File
"/usr/lib/python2.1/site-packages/roundup/roundupdb.py",
line 134, in set
    self.fireAuditors('set', nodeid, propvalues)
  File
"/usr/lib/python2.1/site-packages/roundup/roundupdb.py",
line 214, in fireAuditors
    audit(self.db, self, nodeid, newvalues)
  File
"/usr/lib/python2.1/site-packages/roundup/templates/classic/detectors/statusauditor.py",
line 34, in chatty
    unread_id = db.status.lookup('unread')
  File
"/usr/lib/python2.1/site-packages/roundup/hyperdb.py",
line 781, in lookup
    raise KeyError, keyvalue
KeyError: unread
---

The customisation guide doesn't say anything about
changing the instance statusauditor.py. What should I
be doing to get this working?

Nice work on the project, though - I have plenty of
uses for this.

Cheers,
Rob <rob@cataclysm.cx>
History
Date User Action Args
2009-02-03 14:20:03adminlinkissue601617 messages
2009-02-03 14:20:03admincreate