Edgewall Software
Modify

Opened 20 years ago

Closed 20 years ago

Last modified 12 years ago

#676 closed defect (invalid)

Problem with mod_python

Reported by: anonymous Owned by: Jonas Borgström
Priority: normal Milestone:
Component: web frontend/mod_python Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Curisiosity got the better of me and I installed the development version. Looks like there might be a problem with mod_python.

My System is FreeBSD stable, apache2 and mod_python.

Environment instance has no attribute '_wiki_pages'
Traceback (most recent call last):
  File "/usr/local/lib/python2.3/site-packages/trac/ModPythonHandler.py", line 191, in handler
  File "/usr/local/lib/python2.3/site-packages/trac/core.py", line 380, in dispatch_request
    module.run()
  File "/usr/local/lib/python2.3/site-packages/trac/Module.py", line 41, in run
    self.render()
  File "/usr/local/lib/python2.3/site-packages/trac/Wiki.py", line 766, in render
    Formatter(self.req.hdf, self.env).format(self.page.text, out)
  File "/usr/local/lib/python2.3/site-packages/trac/Wiki.py", line 512, in format
    result = re.sub(rules, self.replace, line)
  File "/usr/local/lib/python2.3/sre.py", line 143, in sub
    return _compile(pattern, 0).sub(repl, string, count)
  File "/usr/local/lib/python2.3/site-packages/trac/Wiki.py", line 76, in replace
    return getattr(self, '_' + itype + '_formatter')(match, fullmatch)
  File "/usr/local/lib/python2.3/site-packages/trac/Wiki.py", line 189, in _fancylink_formatter
    module_link, t, missing = self._expand_module_link(link)
  File "/usr/local/lib/python2.3/site-packages/trac/Wiki.py", line 140, in _expand_module_link
    if not self.env._wiki_pages.has_key(args):
AttributeError: Environment instance has no attribute '_wiki_pages'

Attachments (0)

Change History (4)

comment:1 by Christopher Lenz, 20 years ago

Component: generalmod_python frontend
Milestone: 0.6.10.8

comment:2 by Christopher Lenz, 20 years ago

Have you tried the CGI script?

comment:3 by daniel, 20 years ago

Resolution: invalid
Status: newclosed

Almost certainly an install error.

comment:4 by Christian Boos, 12 years ago

Milestone: 0.8

(clearing report:35)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.