Description

POSTing changes to FrontPage causes error and traceback in console log. Desktop edition (Python). Reproducible.

Steps to reproduce

  1. Two people Subscribe to FrontPage changes.

  2. One of those two people does Edit(Text) on FrontPage.

  3. Make a change. Save changes.
  4. Error traceback appears in console log but not on browser screen.

    Heading of browser screen says that the other subscriber was notified successfully. ("Status of sending notification mails: [en] JohnDoe: Mail sent OK")

Example

http://10.35.10.180:8080/FrontPage (not very useful since you can't get to my network, sorry)

Details

No traceback page in browser. No error recorded in edit-log or event-log.

Extract traceback from console log:

wxp-8dw0q51.aus.amer.dell.com - - [16/Feb/2006 10:09:05] "POST /FrontPage HTTP/1.1" 200 -
Traceback (most recent call last):
  File "C:\Wiki\moin-desktop\MoinMoin\Page.py", line 1512, in parsePageLinks
    page.send_page(request, content_only=1)
  File "C:\Wiki\moin-desktop\MoinMoin\Page.py", line 1227, in send_page
    start_line=pi_lines)
  File "C:\Wiki\moin-desktop\MoinMoin\Page.py", line 1306, in send_page_content
    self.format(parser)
  File "C:\Wiki\moin-desktop\MoinMoin\Page.py", line 1323, in format
    parser.format(self.formatter)
  File "C:\Wiki\moin-desktop\MoinMoin\parser\wiki.py", line 1078, in format
    attrs, attrerr = self._getTableAttrs(line[indlen+2:])
  File "C:\Wiki\moin-desktop\MoinMoin\parser\wiki.py", line 701, in _getTableAttrs
    attr, msg = wikiutil.parseAttributes(self.request, attrdef, '>', table_extension)
  File "C:\Wiki\moin-desktop\MoinMoin\wikiutil.py", line 881, in parseAttributes
    msg = extension(key, parser, attrs)
  File "C:\Wiki\moin-desktop\MoinMoin\parser\wiki.py", line 698, in table_extension
    return self.formatter.rawHTML(msg)
  File "C:\Wiki\moin-desktop\MoinMoin\formatter\base.py", line 351, in rawHTML
    h.feed(markup)
  File "C:\Python24\lib\sgmllib.py", line 94, in feed
    self.rawdata = self.rawdata + data
TypeError: cannot concatenate 'str' and 'NoneType' objects
wxp-8dw0q51.aus.amer.dell.com - - [16/Feb/2006 10:09:20] "POST /FrontPage HTTP/1.1" 200 -

MoinMoin Version

moin-desktop-1.5.2-1.zip

OS and Version

Windows 2003 SP1, running with admin privs

Python Version

Python 2.4.2 (#67, Sep 28 2005, 12:41:11)

Server Setup

(Using Desktop edition for standalone config; no separate web server.)

Server Details

Workaround

Ignore it. Everything seems to work right other than this odd message in the log.

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/PythonErrorEditingFrontPage (last edited 2007-10-29 19:07:39 by localhost)