#1685 closed defect (fixed)
Some default wiki pages require SilverCity installation
Reported by: | Owned by: | Matthew Good | |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | wiki system | Version: | devel |
Severity: | major | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
In trac 0.9.pre, viewing certain default wiki pages (e.g. WikiFormatting and WikiProcessors) generates the error message "No module named SilverCity"
The workaround is to install SilverCity
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/cgi_frontend.py", line 103, in run
dispatch_request(os.getenv('PATH_INFO', ), req, env)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 421, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 285, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/trac/wiki/web_ui.py", line 108, in process_request
self._render_view(req, db, page)
File "/usr/lib/python2.3/site-packages/trac/wiki/web_ui.py", line 338, in _render_view
req.hdfwiki.page_html = wiki_to_html(page.text, self.env, req)
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 748, in wiki_to_html
Formatter(env, req, absurls, db).format(wikitext, out, escape_newlines)
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 646, in format
self.handle_code_block(line)
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 614, in handle_code_block
self.out.write(self.code_processor.process(self.req, self.code_text))
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 112, in process
text = self.processor(req, text, self.env)
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line 106, in _mimeview_processor
return Mimeview(env).render(req, self.name, text)
File "/usr/lib/python2.3/site-packages/trac/mimeview/api.py", line 219, in render
for line in result:
File "/usr/lib/python2.3/site-packages/trac/mimeview/silvercity.py", line 76, in render
import SilverCity
ImportError: No module named SilverCity
Attachments (0)
Change History (2)
comment:1 by , 19 years ago
Owner: | changed from | to
---|---|
Priority: | normal → high |
Severity: | normal → major |
Status: | new → assigned |
comment:2 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in [1839]