Attachment 'Translation.html'
Download--> -->
TypeError
cannot concatenate 'str' and 'NoneType' objects
If you want to report a bug, please save this page and attach it to your bug report.
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.
/org/moin_tw/moin-1.5/MoinMoin/request.py in run (self=<MoinMoin.request.RequestTwisted object>)
- 1006 from MoinMoin.wikiaction import getHandler
- 1007 handler = getHandler(self, action)
- 1008 handler(self.page.page_name, self)
- 1009
- 1010 # 5. Or redirect to another page
- handler = <function do_edit>
- self = <MoinMoin.request.RequestTwisted object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.page_name = u'MoinDev/Translation'
/org/moin_tw/moin-1.5/MoinMoin/wikiaction.py in do_edit (pagename=u'MoinDev/Translation', request=<MoinMoin.request.RequestTwisted object>)
- 577 if lasteditor == 'gui':
- 578 from MoinMoin.converter.text_html_text_x_moin import convert
- 579 savetext = convert(request, pagename, savetext) # XXX error handling
- 580
- 581 # IMPORTANT: normalize text from the form. This should be done in
- savetext = u'<h3>Translation for 1.5 on MoinMaster</h3> <p><a...e... </p> </li> </ul> </ul> </ul> <hr /> <p> </p>'
- convert = <function convert>
- request = <MoinMoin.request.RequestTwisted object>
- pagename = u'MoinDev/Translation'
/org/moin_tw/moin-1.5/MoinMoin/converter/text_html_text_x_moin.py in convert (request=<MoinMoin.request.RequestTwisted object>, pagename=u'MoinDev/Translation', text=u'<page><h3>Translation for 1.5 on MoinMaster</h3>...p> </li> </ul> </ul> </ul> <hr /> <p> </p></page>')
- 1133 text = u"<page>%s</page>" % text
- 1134 tree = parse(text)
- 1135 strip_whitespace().do(tree)
- 1136 return convert_tree(request, pagename).do(tree)
- 1137
- global convert_tree = <class 'MoinMoin.converter.text_html_text_x_moin.convert_tree'>
- request = <MoinMoin.request.RequestTwisted object>
- pagename = u'MoinDev/Translation'
- ).do undefined
- tree = <xml.dom.minidom.Document instance>
/org/moin_tw/moin-1.5/MoinMoin/converter/text_html_text_x_moin.py in do (self=<MoinMoin.converter.text_html_text_x_moin.convert_tree object>, tree=<xml.dom.minidom.Document instance>)
- 462 self.depth = 0
- 463 self.text = []
- 464 self.process_page(tree.documentElement)
- 465 self.check_whitespace()
- 466 return ''.join(self.text)
- self = <MoinMoin.converter.text_html_text_x_moin.convert_tree object>
- self.process_page = <bound method convert_tree.process_page of <Moin...erter.text_html_text_x_moin.convert_tree object>>
- tree = <xml.dom.minidom.Document instance>
- tree.documentElement = <DOM Element: page>
/org/moin_tw/moin-1.5/MoinMoin/converter/text_html_text_x_moin.py in process_page (self=<MoinMoin.converter.text_html_text_x_moin.convert_tree object>, node=<DOM Element: page>)
- 656 for i in node.childNodes:
- 657 if i.nodeType == Node.ELEMENT_NODE:
- 658 self.visit_element(i)
- 659 elif i.nodeType == Node.TEXT_NODE: # if this is missing, all std text under a headline is dropped!
- 660 txt = i.data.strip()
- self = <MoinMoin.converter.text_html_text_x_moin.convert_tree object>
- self.visit_element = <bound method convert_tree.visit_element of <Moi...erter.text_html_text_x_moin.convert_tree object>>
- i = <DOM Element: p>
/org/moin_tw/moin-1.5/MoinMoin/converter/text_html_text_x_moin.py in visit_element (self=<MoinMoin.converter.text_html_text_x_moin.convert_tree object>, node=<DOM Element: p>)
- 503 func = getattr(self, "process_" + name, None)
- 504 if func:
- 505 func(node)
- 506 elif name in ('h1', 'h2', 'h3', 'h4', 'h5', 'h6',):
- 507 self.process_heading(node)
- func = <bound method convert_tree.process_p of <MoinMoi...erter.text_html_text_x_moin.convert_tree object>>
- node = <DOM Element: p>
/org/moin_tw/moin-1.5/MoinMoin/converter/text_html_text_x_moin.py in process_p (self=<MoinMoin.converter.text_html_text_x_moin.convert_tree object>, node=<DOM Element: p>)
- 743
- 744 def process_p(self, node):
- 745 self.process_paragraph_item(node)
- 746 self.text.append("\n\n")
- 747
- self = <MoinMoin.converter.text_html_text_x_moin.convert_tree object>
- self.process_paragraph_item = <bound method convert_tree.process_paragraph_ite...erter.text_html_text_x_moin.convert_tree object>>
- node = <DOM Element: p>
/org/moin_tw/moin-1.5/MoinMoin/converter/text_html_text_x_moin.py in process_paragraph_item (self=<MoinMoin.converter.text_html_text_x_moin.convert_tree object>, node=<DOM Element: p>)
- 749 for i in node.childNodes:
- 750 if i.nodeType == Node.ELEMENT_NODE:
- 751 self.process_inline(i)
- 752 elif i.nodeType == Node.TEXT_NODE:
- 753 self.text.append(i.data.strip('\n'))
- self = <MoinMoin.converter.text_html_text_x_moin.convert_tree object>
- self.process_inline = <bound method convert_tree.process_inline of <Mo...erter.text_html_text_x_moin.convert_tree object>>
- i = <DOM Element: span>
/org/moin_tw/moin-1.5/MoinMoin/converter/text_html_text_x_moin.py in process_inline (self=<MoinMoin.converter.text_html_text_x_moin.convert_tree object>, node=<DOM Element: span>)
- 674 func = getattr(self, "process_" + name, None)
- 675 if func:
- 676 func(node)
- 677 return
- 678
- func = <bound method convert_tree.process_span of <Moin...erter.text_html_text_x_moin.convert_tree object>>
- node = <DOM Element: span>
/org/moin_tw/moin-1.5/MoinMoin/converter/text_html_text_x_moin.py in process_span (self=<MoinMoin.converter.text_html_text_x_moin.convert_tree object>, node=<DOM Element: span>)
- 717 # ignore span tags - just descend
- 718 for i in node.childNodes:
- 719 self.process_inline(i)
- 720
- 721 def process_div(self, node):
- self = <MoinMoin.converter.text_html_text_x_moin.convert_tree object>
- self.process_inline = <bound method convert_tree.process_inline of <Mo...erter.text_html_text_x_moin.convert_tree object>>
- i = <DOM Comment node "MoinDev/)T...">
/org/moin_tw/moin-1.5/MoinMoin/converter/text_html_text_x_moin.py in process_inline (self=<MoinMoin.converter.text_html_text_x_moin.convert_tree object>, node=<DOM Comment node "MoinDev/)T...">)
- 672
- 673 name = node.localName
- 674 func = getattr(self, "process_" + name, None)
- 675 if func:
- 676 func(node)
- func undefined
- builtin getattr = <built-in function getattr>
- self = <MoinMoin.converter.text_html_text_x_moin.convert_tree object>
- name = None
- builtin None = None
TypeError
cannot concatenate 'str' and 'NoneType' objects
- args = ("cannot concatenate 'str' and 'NoneType' objects",)
System Details
- Date: Fri, 04 Nov 2005 13:58:03 +0000
- Platform: Linux thinkmo 2.6.11.12-thinkmo-1 #1 SMP Sat Jul 2 20:07:19 CEST 2005 x86_64
- Python: Python 2.4.2 (/usr/local/bin/python2.4)
- MoinMoin: Release 1.5.0beta1 (patch-185)
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.