Modify

Opened 13 years ago

Last modified 12 years ago

#8856 new defect

KeyError: 'name'

Reported by: admin Owned by: Claudio Manuel Fernández Barreiro
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 13 years ago by anonymous

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

comment:2 Changed 13 years ago by Ryan J Ollos

Resolution: invalid
Status: newclosed

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 12 years ago by anonymous

Component: SELECT A HACKWikiExportPlugin
Resolution: invalid
Status: closedreopened

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 12 years ago by anonymous

Owner: changed from anonymous to Claudio Manuel Fernández Barreiro
Status: reopenednew

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Claudio Manuel Fernández Barreiro.

Add Comment


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

 
Note: See TracTickets for help on using tickets.