Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

Last modified 18 years ago

#1685 closed defect (fixed)

Some default wiki pages require SilverCity installation

Reported by: ghaff@… 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 Matthew Good, 19 years ago

Owner: changed from Jonas Borgström to Matthew Good
Priority: normalhigh
Severity: normalmajor
Status: newassigned

comment:2 by Matthew Good, 19 years ago

Resolution: fixed
Status: assignedclosed

Fixed in [1839]

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matthew Good.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Matthew Good to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.