Opened 16 years ago
Closed 16 years ago
#8804 closed defect (wontfix)
TypeError: __init__() takes exactly 3 arguments (5 given)
| Reported by: | miguelcma | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | 0.11 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
How to Reproduce
While doing a GET operation on /wiki/WikiStart, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'page': u'WikiStart', 'format': u'latex'}
User Agent was: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Safari/530.17
User Agent was: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Safari/530.17
User Agent was: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Safari/530.17
System Information
| Trac | 0.11
|
| Python | 2.4.3 (#1, Sep 3 2009, 15:37:37) [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)]
|
| setuptools | 0.6c11
|
| SQLite | 3.3.6
|
| pysqlite | 1.1.7
|
| Genshi | 0.5
|
| mod_python | 3.3.1
|
| Subversion | 1.4.2 (r22196)
|
| jQuery: | 1.2.3
|
| jQuery: | 1.2.3
|
| jQuery: | 1.2.3
|
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/main.py", line 423, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/web/main.py", line 197, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/wiki/web_ui.py", line 161, in process_request
format, versioned_page.name)
File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/mimeview/api.py", line 833, in send_converted
content, selector)
File "/usr/lib/python2.4/site-packages/Trac-0.11-py2.4.egg/trac/mimeview/api.py", line 559, in convert_content
output = converter.convert_content(req, mimetype, content, ck)
File "build/bdist.linux-x86_64/egg/pagetolatex/pagetolatex.py", line 16, in convert_content
File "build/bdist.linux-x86_64/egg/pagetolatex/wikilatex.py", line 615, in wiki_to_latex
File "build/bdist.linux-x86_64/egg/pagetolatex/wikilatex.py", line 96, in __init__
TypeError: __init__() takes exactly 3 arguments (5 given)



PluginIssue… see TH:PageToLatexPlugin.