Attachment '_AttributeError20080624.html'

Download

--> -->

AttributeError

'RedirectOutputRequest' object has no attribute 'output_string'

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.

  1. /home/beteigeuze/lib/python2.5/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_standalone.Request object at 0x92145ec>)

    1. 1304 self.page.send_page()
    2. 1305 else:
    3. 1306 handler(self.page.page_name, self)
    4. 1307
    5. 1308 # every action that didn't use to raise MoinMoinFinish must call this now:
    • handler = <function execute at 0x938772c>
    • self = <MoinMoin.request.request_standalone.Request object at 0x92145ec>
    • self.page = <MoinMoin.Page.Page object at 0x94605cc>
    • self.page.page_name = u'Artikel/OR/MSchV 24, 26, 27, 35, 60a.'
  2. /home/beteigeuze/webapps/moinmoin/data/zgb/plugin/action/CreatePdfDocument.py in execute (pagename=u'Artikel/OR/MSchV 24, 26, 27, 35, 60a.', request=<MoinMoin.request.request_standalone.Request object at 0x92145ec>)

    1. 1768 self.valid_options[key][u'%d.0' % max] = self._(u'%d.0' % max)
    2. 1769
    3. 1770
    4. 1771 def execute(pagename, request):
    5. 1772 CreatePdfDocument(pagename, request).render()
    • global CreatePdfDocument = <class zgb.plugin.action.CreatePdfDocument.CreatePdfDocument at 0x92b4b3c>
    • pagename = u'Artikel/OR/MSchV 24, 26, 27, 35, 60a.'
    • request = <MoinMoin.request.request_standalone.Request object at 0x92145ec>
    • ).render undefined
  3. /home/beteigeuze/webapps/moinmoin/data/zgb/plugin/action/CreatePdfDocument.py in render (self=<zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0x946084c>)

    1. 1383 self.form[self.form_trigger] = '1'
    2. 1384 # Continue with super function
    3. 1385 ActionBase.render(self)
    4. 1386
    5. 1387
    • global ActionBase = <class MoinMoin.action.ActionBase at 0x90b123c>
    • ActionBase.render = <unbound method ActionBase.render>
    • self = <zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0x946084c>
  4. /home/beteigeuze/lib/python2.5/site-packages/MoinMoin/action/__init__.py in render (self=<zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0x946084c>)

    1. 202 elif self.form_trigger in form: # user hit the trigger button
    2. 203 if self.ticket_ok():
    3. 204 success, self.error = self.do_action()
    4. 205 else:
    5. 206 success = False
    • success undefined
    • self = <zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0x946084c>
    • self.error = ''
    • self.do_action = <bound method CreatePdfDocument.do_action of <zg...ocument.CreatePdfDocument instance at 0x946084c>>
  5. /home/beteigeuze/webapps/moinmoin/data/zgb/plugin/action/CreatePdfDocument.py in do_action (self=<zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0x946084c>)

    1. 1410 if self.form.has_key(u'generate_from_form') or self.form.has_key(u'preview'):
    2. 1411 self.update_values()
    3. 1412 return self.do_action_generate()
    4. 1413
    5. 1414 # Display a message with instructions.
    • self = <zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0x946084c>
    • self.do_action_generate = <bound method CreatePdfDocument.do_action_genera...ocument.CreatePdfDocument instance at 0x946084c>>
  6. /home/beteigeuze/webapps/moinmoin/data/zgb/plugin/action/CreatePdfDocument.py in do_action_generate (self=<zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0x946084c>)

    1. 1471 """Create PDF document."""
    2. 1472 # Generate the HTML page using MoinMoin wiki engine.
    3. 1473 html = self.get_html()
    4. 1474 if html:
    5. 1475 if self.form.has_key('preview'):
    • html undefined
    • self = <zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0x946084c>
    • self.get_html = <bound method CreatePdfDocument.get_html of <zgb...ocument.CreatePdfDocument instance at 0x946084c>>
  7. /home/beteigeuze/webapps/moinmoin/data/zgb/plugin/action/CreatePdfDocument.py in get_html (self=<zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0x946084c>)

    1. 1551 newtitle = self.values['titletext']
    2. 1552 # Save page as HTML.
    3. 1553 newreq = RedirectOutputRequest(self.request)
    4. 1554 # Do not add edit information.
    5. 1555 # Add extra meta tags.
    • newreq undefined
    • global RedirectOutputRequest = <class 'zgb.plugin.action.CreatePdfDocument.RedirectOutputRequest'>
    • self = <zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0x946084c>
    • self.request = <MoinMoin.request.request_standalone.Request object at 0x92145ec>
  8. /home/beteigeuze/webapps/moinmoin/data/zgb/plugin/action/CreatePdfDocument.py in __init__ (self=<zgb.plugin.action.CreatePdfDocument.RedirectOutputRequest object at 0x946070c>, req=<MoinMoin.request.request_standalone.Request object at 0x92145ec>, action='print')

    1. 372
    2. 373 self.req = req
    3. 374 RequestBase.__init__(self)
    4. 375
    5. 376 def run(self, rev = None):
    • global RequestBase = <class 'MoinMoin.request.RequestBase'>
    • RequestBase.__init__ = <unbound method RequestBase.__init__>
    • self = <zgb.plugin.action.CreatePdfDocument.RedirectOutputRequest object at 0x946070c>
  9. /home/beteigeuze/lib/python2.5/site-packages/MoinMoin/request/__init__.py in __init__ (self=<zgb.plugin.action.CreatePdfDocument.RedirectOutputRequest object at 0x946070c>, properties={})

    1. 166 self._load_multi_cfg()
    2. 167 except error.NoConfigMatchedError:
    3. 168 self.makeForbidden(404, 'No wiki configuration matching the URL found!\r\n')
    4. 169 return
    5. 170
    • self = <zgb.plugin.action.CreatePdfDocument.RedirectOutputRequest object at 0x946070c>
    • self.makeForbidden = <bound method RedirectOutputRequest.makeForbidde...ument.RedirectOutputRequest object at 0x946070c>>
  10. /home/beteigeuze/lib/python2.5/site-packages/MoinMoin/request/__init__.py in makeForbidden (self=<zgb.plugin.action.CreatePdfDocument.RedirectOutputRequest object at 0x946070c>, resultcode=404, msg='No wiki configuration matching the URL found!\r\n')

    1. 1159 headers.append('Retry-After: %d' % self.cfg.surge_lockout_time)
    2. 1160 self.emit_http_headers(headers)
    3. 1161 self.write(msg)
    4. 1162 self.forbidden = True
    5. 1163
    • self = <zgb.plugin.action.CreatePdfDocument.RedirectOutputRequest object at 0x946070c>
    • self.write = <bound method RedirectOutputRequest.write of <zg...ument.RedirectOutputRequest object at 0x946070c>>
    • msg = 'No wiki configuration matching the URL found!\r\n'
  11. /home/beteigeuze/webapps/moinmoin/data/zgb/plugin/action/CreatePdfDocument.py in write (self=<zgb.plugin.action.CreatePdfDocument.RedirectOutputRequest object at 0x946070c>, *data=('No wiki configuration matching the URL found!\r\n',))

    1. 407 self.error_string += data[0]
    2. 408 else:
    3. 409 self.output_string += data[0]
    4. 410
    5. 411 def flush(self):
    • self = <zgb.plugin.action.CreatePdfDocument.RedirectOutputRequest object at 0x946070c>
    • self.output_string undefined
    • data = ('No wiki configuration matching the URL found!\r\n',)

AttributeError

'RedirectOutputRequest' object has no attribute 'output_string'

  • args = ("'RedirectOutputRequest' object has no attribute 'output_string'",)
  • message = "'RedirectOutputRequest' object has no attribute 'output_string'"

System Details

  • Date: Tue, 24 Jun 2008 09:55:17 +0000
  • Platform: Linux web34.webfaction.com 2.6.18-53.1.21.el5PAE #1 SMP Tue May 20 10:03:06 EDT 2008 i686
  • Python: Python 2.5.2 (/home/beteigeuze/bin/python)
  • MoinMoin: Release 1.7.0 (release)

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.
  • [get | view] (2008-06-25 06:31:28, 12.9 KB) [[attachment:AttributeError_form.html]]
  • [get | view] (2007-09-23 21:24:21, 74.0 KB) [[attachment:CreatePdfDocument2_1_5+p1.py]]
  • [get | view] (2007-09-24 19:04:02, 73.9 KB) [[attachment:CreatePdfDocument2_1_5+p2.py]]
  • [get | view] (2008-06-25 01:39:15, 77.3 KB) [[attachment:CreatePdfDocument2_3_0+p1.py]]
  • [get | view] (2008-06-25 06:52:21, 77.5 KB) [[attachment:CreatePdfDocument2_3_0+p2.py]]
  • [get | view] (2008-06-26 16:18:43, 81.0 KB) [[attachment:CreatePdfDocument2_3_0+p3.py]]
  • [get | view] (2008-11-10 06:53:43, 84.3 KB) [[attachment:CreatePdfDocument2_3_4+p1.py]]
  • [get | view] (2008-11-10 20:22:57, 84.7 KB) [[attachment:CreatePdfDocument2_3_4+p2.py]]
  • [get | view] (2009-01-12 19:30:53, 84.3 KB) [[attachment:CreatePdfDocument2_3_5+p1.py]]
  • [get | view] (2010-09-17 13:22:57, 86.4 KB) [[attachment:CreatePdfDocument2_4_1+p1.py]]
  • [get | view] (2010-05-16 05:14:41, 8311.5 KB) [[attachment:HTMLDOC_1.8.27.msi]]
  • [get | view] (2006-05-25 08:59:55, 100.6 KB) [[attachment:PdfAction--book.pdf]]
  • [get | view] (2006-05-25 10:37:23, 13.2 KB) [[attachment:PdfAction--page.pdf]]
  • [get | view] (2006-09-12 09:11:10, 8.3 KB) [[attachment:RedirectOutputRequest.html]]
  • [get | view] (2007-09-20 15:15:05, 10.9 KB) [[attachment:WikiAdministration_DebugInfo.zip]]
  • [get | view] (2007-09-24 06:25:51, 3.6 KB) [[attachment:WikiAdministration_DebugInfo_20070924.zip]]
  • [get | view] (2008-06-24 09:56:40, 16.0 KB) [[attachment:_AttributeError20080624.html]]
  • [get | view] (2006-09-11 18:56:44, 6.0 KB) [[attachment:bool.html]]
  • [get | view] (2007-06-28 20:42:45, 13.8 KB) [[attachment:coded_w_wing_large.png]]
  • [get | view] (2007-06-28 20:48:21, 8.6 KB) [[attachment:coded_w_wing_medium.png]]
  • [get | view] (2007-06-28 20:44:02, 6.8 KB) [[attachment:coded_w_wing_small.png]]
  • [get | view] (2008-06-26 17:18:39, 16.2 KB) [[attachment:debug260208.html]]
  • [get | view] (2007-09-20 15:14:47, 211.6 KB) [[attachment:htmldoc_WikiAdministration_ClassicTheme.zip]]
  • [get | view] (2008-12-21 10:40:28, 31.5 KB) [[attachment:listings.png]]
  • [get | view] (2010-09-16 12:23:08, 5.4 KB) [[attachment:moin.log.failed.gz]]
  • [get | view] (2010-09-16 12:23:22, 9.6 KB) [[attachment:moin.log.ok.gz]]
  • [get | view] (2014-08-18 02:10:25, 2.6 KB) [[attachment:patch_htmldoc_escaping.patch]]
  • [get | view] (2010-04-07 17:29:57, 5.7 KB) [[attachment:pdfbug.txt]]
  • [get | view] (2006-10-09 21:59:00, 0.7 KB) [[attachment:skip-one-region.diff]]
  • [get | view] (2008-12-21 10:33:05, 11.6 KB) [[attachment:traceback.html]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.