Hi,

[ Please Cc: me as I am not on the debian-www list. ]

I started to edit a new page and after I had hit preview a few times

http://wiki.debian.org/DebianOnFreeRunnerTodo#preview

returned

TypeError

cannot concatenate 'str' and 'instance' objects

If you want to report a bug, please save this page and attach it to your bug 
report.

    * Show debugging information
    * Report bug
    * Visit MoinMoin wiki

Traceback

A problem occurred in a Python script. Here is the sequence of function calls 
leading up to the error, in the order they occurred.

   1.

      /var/lib/python-support/python2.4/MoinMoin/request.py in run 
(self=<MoinMoin.request.RequestModPy object>)
         1. 1135 from MoinMoin.wikiaction import getHandler
         2. 1136 handler = getHandler(self, action)
         3. 1137 handler(self.page.page_name, self)
         4. 1138
         5. 1139 # 5. Or redirect to another page
          * handler = <function do_edit>
          * self = <MoinMoin.request.RequestModPy object>
          * self.page = <MoinMoin.Page.Page instance>
          * self.page.page_name = u'DebianOnFreeRunnerTodo'
   2.

      /var/lib/python-support/python2.4/MoinMoin/wikiaction.py in do_edit 
(pagename=u'DebianOnFreeRunnerTodo', request=<MoinMoin.request.RequestModPy 
object>)
         1. 576 try:
         2. 577 if lasteditor == 'gui':
         3. 578 savetext = convert(request, pagename, savetext)
         4. 579
         5. 580 # IMPORTANT: normalize text from the form. This should be done 
in
          * savetext = u'<p class="line862">Describe DebianOnFreeRunnerTodo 
here. '
          * convert = <function convert>
          * request = <MoinMoin.request.RequestModPy object>
          * pagename = u'DebianOnFreeRunnerTodo'
   3.

      
/var/lib/python-support/python2.4/MoinMoin/converter/text_html_text_x_moin.py 
in convert (request=<MoinMoin.request.RequestModPy object>, 
pagename=u'DebianOnFreeRunnerTodo', text=u'<page><p class="line862">Describe 
DebianOnFreeRunnerTodo here. </page>')
         1. 1206 def convert(request, pagename, text):
         2. 1207 text = u"<page>%s</page>" % text
         3. 1208 tree = parse(request, text)
         4. 1209 strip_whitespace().do(tree)
         5. 1210 text = convert_tree(request, pagename).do(tree)
          * tree undefined
          * global parse = <function parse>
          * request = <MoinMoin.request.RequestModPy object>
          * text = u'<page><p class="line862">Describe DebianOnFreeRunnerTodo 
here. </page>'
   4.

      
/var/lib/python-support/python2.4/MoinMoin/converter/text_html_text_x_moin.py 
in parse (request=<MoinMoin.request.RequestModPy object>, text='<?xml 
version="1.0"?>\n<!DOCTYPE html [\n<!ENTITY ...62">Describe 
DebianOnFreeRunnerTodo here. </page>')
         1. 1200 f = file(logname, "w")
         2. 1201 f.write(text)
         3. 1202 f.write("\n" + "-"*80 + "\n" + msg)
         4. 1203 f.close()
         5. 1204 raise ConvertError('ExpatError: %s (see dump in %s)' % (msg, 
logname))
          * f = <open file '/srv/wiki.debian.org/www/data/expaterror.log', mode 
'w'>
          * f.write = <built-in method write of file object>
          * msg = <xml.parsers.expat.ExpatError instance>

TypeError

cannot concatenate 'str' and 'instance' objects

    * args = ("cannot concatenate 'str' and 'instance' objects",)

System Details

    * Date: Thu, 11 Sep 2008 22:09:22 +0000
    * Platform: Linux rietz 2.6.26.3-dl385 #2 SMP Thu Aug 21 10:44:31 CEST 2008 
x86_64
    * Python: Python 2.4.4 (/usr/bin/python)
    * MoinMoin: Release 1.5.3 (release)





best regards,
Timo Lindfors


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to