Modify

Opened 3 years ago

Last modified 15 months ago

#8856 new defect

KeyError: 'name'

Reported by: admin Owned by: sfhynx
Priority: normal Component: WikiExportPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

How to Reproduce

While doing a GET operation on /wiki/WikiStart, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'format': u'vnd.oasis.opendocument.text', 'page': u'WikiStart'}

User agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3

System Information

Trac 0.12.2
Babel 0.9.6
Docutils 0.7
Genshi 0.6
mod_wsgi 3.3 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
psycopg2 2.2.1
Pygments 1.4
Python 2.6.6 (r266:84292, Dec 27 2010, 00:18:12)
[GCC 4.4.5]
pytz 2011g
setuptools 0.6
Subversion 1.6.12 (r955767)
jQuery 1.4.2

Enabled Plugins

TracAccountManager 0.3dev-r10176
TracWikiExport 0.2

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/web/main.py", line 511, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/web/main.py", line 237, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/wiki/web_ui.py", line 172, in process_request
    format, versioned_page.name)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/mimeview/api.py", line 983, in send_converted
    content, selector)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/trac/mimeview/api.py", line 682, in convert_content
    output = converter.convert_content(req, mimetype, content, ck)
  File "build/bdist.linux-i686/egg/exportplugin/export.py", line 115, in convert_content
    self.parser.setTemplate(templatePath, pageName, req.session['name'])
KeyError: 'name'

Attachments (0)

Change History (4)

comment:1 Changed 3 years ago by anonymous

Oops…
Trac detected an internal error:
KeyError: 'name'

comment:2 follow-up: Changed 2 years ago by rjollos

  • Resolution set to invalid
  • Status changed from new to closed

What plugin is this for? I can't tell, so I have to close it. If you reopen, please assign to the correct Component (Component = plugin hosted on t-h.o).

comment:3 in reply to: ↑ 2 Changed 15 months ago by anonymous

  • Component changed from SELECT A HACK to WikiExportPlugin
  • Resolution invalid deleted
  • Status changed from closed to reopened

Replying to rjollos:

What plugin is this for? I can't tell, so I have to close it. If you reopen, please assign to the correct Component (Component = plugin hosted on t-h.o).

The plugin involved is WikiExportPlugin.
I have the same issue here...

comment:4 Changed 15 months ago by anonymous

  • Owner set to sfhynx
  • Status changed from reopened to new

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.