Attachment 'AttributeError_form.html'
Download--> -->
AttributeError
'RedirectOutputRequest' object has no attribute 'form'
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.
/home/beteigeuze/lib/python2.5/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_standalone.Request object at 0xb7b97c4c>)
- 1304 self.page.send_page()
- 1305 else:
- 1306 handler(self.page.page_name, self)
- 1307
- 1308 # every action that didn't use to raise MoinMoinFinish must call this now:
- handler = <function execute at 0x9f25994>
- self = <MoinMoin.request.request_standalone.Request object at 0xb7b97c4c>
- self.page = <MoinMoin.Page.Page object at 0xa0ee44c>
- self.page.page_name = u'Artikel/OR/MSchV 24, 26, 27, 35, 60a.'
/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 0xb7b97c4c>)
- 1775
- 1776
- 1777 def execute(pagename, request):
- 1778 CreatePdfDocument(pagename, request).render()
- 1779
- global CreatePdfDocument = <class zgb.plugin.action.CreatePdfDocument.CreatePdfDocument at 0x9f1ee0c>
- pagename = u'Artikel/OR/MSchV 24, 26, 27, 35, 60a.'
- request = <MoinMoin.request.request_standalone.Request object at 0xb7b97c4c>
- ).render undefined
/home/beteigeuze/webapps/moinmoin/data/zgb/plugin/action/CreatePdfDocument.py in render (self=<zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0xa0ee20c>)
- 1389 self.form[self.form_trigger] = '1'
- 1390 # Continue with super function
- 1391 ActionBase.render(self)
- 1392
- 1393
- global ActionBase = <class MoinMoin.action.ActionBase at 0x9f0220c>
- ActionBase.render = <unbound method ActionBase.render>
- self = <zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0xa0ee20c>
/home/beteigeuze/lib/python2.5/site-packages/MoinMoin/action/__init__.py in render (self=<zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0xa0ee20c>)
- 202 elif self.form_trigger in form: # user hit the trigger button
- 203 if self.ticket_ok():
- 204 success, self.error = self.do_action()
- 205 else:
- 206 success = False
- success undefined
- self = <zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0xa0ee20c>
- self.error = ''
- self.do_action = <bound method CreatePdfDocument.do_action of <zg...ocument.CreatePdfDocument instance at 0xa0ee20c>>
/home/beteigeuze/webapps/moinmoin/data/zgb/plugin/action/CreatePdfDocument.py in do_action (self=<zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0xa0ee20c>)
- 1416 if self.form.has_key(u'generate_from_form') or self.form.has_key(u'preview'):
- 1417 self.update_values()
- 1418 return self.do_action_generate()
- 1419
- 1420 # Display a message with instructions.
- self = <zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0xa0ee20c>
- self.do_action_generate = <bound method CreatePdfDocument.do_action_genera...ocument.CreatePdfDocument instance at 0xa0ee20c>>
/home/beteigeuze/webapps/moinmoin/data/zgb/plugin/action/CreatePdfDocument.py in do_action_generate (self=<zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0xa0ee20c>)
- 1477 """Create PDF document."""
- 1478 # Generate the HTML page using MoinMoin wiki engine.
- 1479 html = self.get_html()
- 1480 if html:
- 1481 if self.form.has_key('preview'):
- html undefined
- self = <zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0xa0ee20c>
- self.get_html = <bound method CreatePdfDocument.get_html of <zgb...ocument.CreatePdfDocument instance at 0xa0ee20c>>
/home/beteigeuze/webapps/moinmoin/data/zgb/plugin/action/CreatePdfDocument.py in get_html (self=<zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0xa0ee20c>)
- 1566 <meta name="copyright" content="%s">
- 1567 """ % (wikiutil.escape(self.values['extra-titledocnumber']), wikiutil.escape(self.values['extra-titleauthor']), wikiutil.escape(self.values['extra-titlecopyright']),)
- 1568 (html, errmsg) = newreq.run(rev = self.values.get(u'rev', None))
- 1569 # Restore original HTML head configuration.
- 1570 self.request.cfg.html_head = orig_html_head
- html undefined
- errmsg undefined
- newreq = <zgb.plugin.action.CreatePdfDocument.RedirectOutputRequest object at 0xa0eecec>
- newreq.run = <bound method RedirectOutputRequest.run of <zgb....ument.RedirectOutputRequest object at 0xa0eecec>>
- rev undefined
- self = <zgb.plugin.action.CreatePdfDocument.CreatePdfDocument instance at 0xa0ee20c>
- self.values = {'bodycolor': u'FFFFFF', 'bodyfont': u'times', 'bodyimage': u'', 'browserwidth': u'680', 'charset': u'iso-8859-1', 'compression': u'0', 'debug': u'0', 'duplex': u'unchecked', 'embedfonts': u'checked', 'encryption': u'unchecked', ...}
- self.values.get = <built-in method get of dict object at 0xa0f402c>
- builtin None = None
/home/beteigeuze/webapps/moinmoin/data/zgb/plugin/action/CreatePdfDocument.py in run (self=<zgb.plugin.action.CreatePdfDocument.RedirectOutputRequest object at 0xa0eecec>, rev=12)
- 389 self.action = 'print'
- 390 if rev:
- 391 self.form[u'rev'] = [rev]
- 392 RequestBase.run(self)
- 393 return (self.output_string, self.error_string)
- self = <zgb.plugin.action.CreatePdfDocument.RedirectOutputRequest object at 0xa0eecec>
- self.form undefined
- rev = 12
AttributeError
'RedirectOutputRequest' object has no attribute 'form'
- args = ("'RedirectOutputRequest' object has no attribute 'form'",)
- message = "'RedirectOutputRequest' object has no attribute 'form'"
System Details
- Date: Wed, 25 Jun 2008 06:28:31 +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.You are not allowed to attach a file to this page.