Edgewall Software

Ticket #1090 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Document required version of mod_python

Reported by: lol@… Owned by: cmlenz
Priority: normal Milestone: 0.8.1
Component: web frontend/mod_python Version: 0.8
Severity: normal Keywords: documentation
Cc:

Description

Whatever page I browse in my project, I get this message:

Trac detected an internal error:
 class FieldStorage has no attribute 'get'

Followed by the Python traceback:

Traceback (most recent call last):
  File "/usr/lib/python2.2/site-packages/trac/ModPythonHandler.py", line 194, in handler
    core.dispatch_request(mpr.path_info, args, mpr, env)
  File "/usr/lib/python2.2/site-packages/trac/core.py", line 433, in dispatch_request
    module = module_factory(args, env, database, req)
  File "/usr/lib/python2.2/site-packages/trac/core.py", line 153, in module_factory
    mode = args.get('mode', 'wiki')
  File "/usr/lib/python2.2/site-packages/trac/ModPythonHandler.py", line 122, in get
    return util.FieldStorage.get(self, key, default)
AttributeError: class FieldStorage has no attribute 'get'

Environment is RedHat? Enterprise Linux ES 3 and it is always reproductible.

Attachments

Change History

Changed 4 years ago by jonas

What mod_python version are you using?

I think you might need a newer version.

Changed 4 years ago by lol@…

I use the stock one that came with the RHEL3: mod_python-3.0.3-3.ent It's not the latest, but not that old neither.

What min version should I use, there are no version info on wiki's TracModPython.

Changed 4 years ago by jonas

I think mod_python 3.1 is required but I'm not sure. And yes, it should be documented somewhere. Does upgrading to 3.1.x help?

Changed 4 years ago by lol@…

Ok, I upgraded mod_python to the latest (3.1.3) from sources and it seems to be ok now. Thanks for your support and happy new year!

Changed 4 years ago by cmlenz

  • keywords documentation added
  • owner changed from jonas to cmlenz
  • summary changed from Ooops, internal error on all pages to Document required version of mod_python
  • component changed from general to mod_python frontend
  • milestone set to 0.8.1

Changed 4 years ago by cmlenz

  • status changed from new to closed
  • resolution set to fixed

Has been added in version version 12 of TracModPython.

(Looks like we require 3.1.3. I've never tried an earlier version myself.)

Add/Change #1090 (Document required version of mod_python)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.