Ticket #8856 (new defect)

Opened 2 years ago

Last modified 3 months ago

KeyError: 'name'

Reported by: admin Assigned to: 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

Change History

05/31/11 15:59:19 changed by anonymous

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

(follow-up: ↓ 3 ) 02/05/12 11:20:58 changed by rjollos

  • status changed from new to closed.
  • resolution set to invalid.

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).

(in reply to: ↑ 2 ) 02/12/13 16:59:16 changed by anonymous

  • status changed from closed to reopened.
  • resolution deleted.
  • component changed from SELECT A HACK to WikiExportPlugin.

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...

02/12/13 17:01:21 changed by anonymous

  • status changed from reopened to new.
  • owner set to sfhynx.

Add/Change #8856 (KeyError: 'name')




Change Properties
Action