Submitted by : simon at: 2003-10-26T21:31:51+00:00 (17 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Hello All:

I just installed the zwikitracker, but I got the following error when I tried to add an issue. Could you please tell me what's the problem? Thanks a lot in advance!


Traceback (innermost last):

  File /usr/local/zope/lib/python/ZPublisher/, line 150, in publish_module
  File /usr/local/zope/lib/python/ZPublisher/, line 114, in publish
  File /usr/local/zope/lib/python/Zope/, line 159, in zpublisher_exception_hook
    (Object: wiki)
  File /usr/local/zope/lib/python/ZPublisher/, line 98, in publish
  File /usr/local/zope/lib/python/ZPublisher/, line 88, in mapply
    (Object: issuetracker)
  File /usr/local/zope/lib/python/ZPublisher/, line 39, in call_object
    (Object: issuetracker)
  File /usr/local/zope/lib/python/Products/ZWiki/, line 221, in __call__
    (Object: issuetracker)
  File /usr/local/zope/lib/python/Products/ZWiki/, line 233, in _render
    (Object: issuetracker)
  File /usr/local/zope/lib/python/Products/ZWiki/, line 416, in render_stxprelinkdtmlhtml
    (Object: issuetracker)
  File /usr/local/zope/lib/python/OFS/, line 127, in __call__
    (Object: issuetracker)
  File /usr/local/zope/lib/python/DocumentTemplate/, line 473, in __call__
    (Object: issuetracker)
  File /usr/local/zope/lib/python/DocumentTemplate/, line 76, in render
    (Object: Catalog="_.getattr(folder(),getCatalogId())")
  File /usr/local/zope/lib/python/DocumentTemplate/, line 76, in render
    (Object: newcategory="_.getattr(REQUEST,'newcategory','zwiki: general')"
  newtitle="newid+' '+_.getattr(REQUEST,'newtitle','')"
  File /usr/local/zope/lib/python/DocumentTemplate/, line 159, in eval
    (Object: createIssue(newtitle,newtext,newtitle,
    (Info: newtitle)
  File <string>, line 2, in f
  File /usr/local/zope/lib/python/Products/ZWiki/, line 161, in createIssue
    (Object: issuetracker)
  File /usr/local/zope/lib/python/OFS/, line 648, in __getitem__
    (Object: wiki)

tracker code has just changed --SimonMichael, 2003/03/11 21:29 GMT
You might have a version problem. If using eg zwiki 0.16, use the IssueTracker code from ZWiki/content/tracker/IssueTracker.stxdtml. If you're using the latest zwiki-cvs, use the IssueTracker page on this site.

tracker code has just changed --SimonMichael, 2003/03/11 21:38 GMT
Also if using the latest code, your issue pages must be renamed, see recent GeneralDiscussion. Visiting ISSUEPAGE/upgradeId or SOMEPAGE/upgradeAll should do that for you. At present it will also lose your issues' creator and creation time information.

2003/03/11 22:59 GMT

I still get the same error message. Your help is appreciated!


SimonMichael, 2003/03/21 20:29 GMT
YH - if you are willing to upgrade, I would install the latest tracker code instead of debugging this. However this involves quite a few changes to zwiki, your IssueTracker page and your existing issue pages, so you may want to wait for the release at the end of the month. (If you can't upgrade, this should be easy enough for a suitably motivated zope hacker to debug.)

property change --simon, 2003/05/09 22:17 GMT
Status: pending => closed


... -- Thu, 07 Aug 2003 09:41:35 +0000 reply
Hi, I had the same problem. I solved it by creating 2 new indexes in the ZCatalog: 1. Fielindex id 2. Textindex title

Also I've created the metadata for it: id and title. After that it works fine.

Hope this helps Elke