my config on rhe 5:
docutils-0.4-py2.5
Genshi-0.4.4-py2.5
mod_python-3.3.1-py2.5
MySQL_python-1.2.2-py2.5-linux-i686
Pygments-0.9-py2.5
setuptools-0.6c7-py2.5
SilverCity-0.9.7-py2.5-linux-i686
textile-2.0.11-py2.5
Trac-0.11b1-py2.5
Some of the types don't display with the above setup:
On WikiFormatting page: [[Timestamp]] is not installed, so example
display fails with red box message
On WikiFormatting page: !html syntax highlight example display fails
with no text (python and perl examples display fine)
On WikiRestructuredText page: code highlighting example display
doesn't work, the following is printed without any highlighting (the
contents of the !rst block):
.. code-block:: python
class Test:
def TestFunction(self):
pass
On WikiRestructuredText page: wiki macro example display fails with
red box for lack of HelloWorld macro
I did a debug log for WikiRestructuredText page, and got the following
traceback in the log:
2008-02-21 11:20:46,246 Trac[env] WARNING: base_url option not set in
configuration, generated links may be incorrect
2008-02-21 11:20:46,246 Trac[main] DEBUG: Dispatching <Request "GET u'/
chrome/common/topbar_gradient.png'">
2008-02-21 11:20:54,249 Trac[main] DEBUG: Dispatching <Request "GET u'/
wiki/WikiRestructuredText'">
2008-02-21 11:20:54,295 Trac[svn_fs] DEBUG: Subversion bindings
imported
2008-02-21 11:20:54,298 Trac[chrome] DEBUG: Prepare chrome data for
request
2008-02-21 11:20:54,303 Trac[api] DEBUG: Updating wiki page index
2008-02-21 11:20:54,363 Trac[session] DEBUG: Retrieving session for
ID ...
2008-02-21 11:20:54,682 Trac[silvercity] DEBUG: SilverCity installed?
True
2008-02-21 11:20:54,683 Trac[api] DEBUG: Trying to render HTML preview
using ReStructuredTextRenderer [No annotations]
2008-02-21 11:20:54,795 Trac[api] WARNING: HTML preview using
<trac.mimeview.rst.ReStructuredTextRenderer object at 0xb6a79e4c>
failed (__init__() takes exactly 3 arguments (2 given))
Traceback (most recent call last):
File "/usr/local/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/
trac/mimeview/api.py", line 630, in render
rendered_content, filename, url)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/
trac/mimeview/rst.py", line 202, in render
'raw_enabled': 0})
File "/usr/local/lib/python2.5/site-packages/docutils-0.4-py2.5.egg/
docutils/core.py", line 431, in publish_parts
enable_exit_status=enable_exit_status)
File "/usr/local/lib/python2.5/site-packages/docutils-0.4-py2.5.egg/
docutils/core.py", line 612, in publish_programmatically
output = pub.publish(enable_exit_status=enable_exit_status)
File "/usr/local/lib/python2.5/site-packages/docutils-0.4-py2.5.egg/
docutils/core.py", line 204, in publish
self.settings)
File "/usr/local/lib/python2.5/site-packages/docutils-0.4-py2.5.egg/
docutils/readers/__init__.py", line 71, in read
self.parse()
File "/usr/local/lib/python2.5/site-packages/docutils-0.4-py2.5.egg/
docutils/readers/__init__.py", line 77, in parse
self.parser.parse(self.input, document)
File "/usr/local/lib/python2.5/site-packages/docutils-0.4-py2.5.egg/
docutils/parsers/rst/__init__.py", line 155, in parse
self.statemachine.run(inputlines, document, inliner=self.inliner)
File "/usr/local/lib/python2.5/site-packages/docutils-0.4-py2.5.egg/
docutils/parsers/rst/states.py", line 171, in run
input_source=document['source'])
File "/usr/local/lib/python2.5/site-packages/docutils-0.4-py2.5.egg/
docutils/statemachine.py", line 234, in run
context, state, transitions)
File "/usr/local/lib/python2.5/site-packages/docutils-0.4-py2.5.egg/
docutils/statemachine.py", line 422, in check_line
return method(match, context, next_state)
File "/usr/local/lib/python2.5/site-packages/docutils-0.4-py2.5.egg/
docutils/parsers/rst/states.py", line 2199, in explicit_markup
nodelist, blank_finish = self.explicit_construct(match)
File "/usr/local/lib/python2.5/site-packages/docutils-0.4-py2.5.egg/
docutils/parsers/rst/states.py", line 2211, in explicit_construct
return method(self, expmatch)
File "/usr/local/lib/python2.5/site-packages/docutils-0.4-py2.5.egg/
docutils/parsers/rst/states.py", line 1973, in directive
directive_function, match, type_name, option_presets)
File "/usr/local/lib/python2.5/site-packages/docutils-0.4-py2.5.egg/
docutils/parsers/rst/states.py", line 2018, in run_directive
self.state_machine)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/
trac/mimeview/rst.py", line 176, in code_block
reference = code_formatter(language, text)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/
trac/mimeview/rst.py", line 147, in code_formatter
processor = WikiProcessor(Formatter(context), language)
TypeError: __init__() takes exactly 3 arguments (2 given)
2008-02-21 11:20:54,844 Trac[api] DEBUG: Trying to render HTML preview
using PygmentsRenderer [No annotations]
2008-02-21 11:20:54,882 Trac[api] DEBUG: Trying to render HTML preview
using ReStructuredTextRenderer [No annotations]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---