Edgewall Software

Opened 15 years ago

Closed 15 years ago

#1524 closed defect (invalid)

Error " class FieldStorage has no attribute 'get' " under mod_python.

Reported by: elifant Owned by: Christopher Lenz
Priority: normal Milestone:
Component: web frontend/mod_python Version: 0.8.1
Severity: blocker Keywords: mod_python FieldStorage
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


# cat /etc/redhat-release
Fedora Core release 1 (Yarrow)
# rpm -q mod_python
# pwd
# ls
# ls zooxid
README  VERSION  attachments  conf  db  log  templates  wiki-macros
# cat /etc/httpd/conf.d/trac.conf
<Location /trac>
    SetHandler python-program
    PythonHandler trac.ModPythonHandler
    PythonOption TracUriRoot "/trac"
    PythonOption TracEnvParentDir "/root/elifant/trac-env"


Traceback (most recent call last):
  File "/usr/lib/python2.2/site-packages/trac/ModPythonHandler.py", line 195, in handler
    core.dispatch_request(mpr.path_info, args, mpr, env)
  File "/usr/lib/python2.2/site-packages/trac/core.py", line 439, 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 123, in get
    return util.FieldStorage.get(self, key, default)
AttributeError: class FieldStorage has no attribute 'get'

Attachments (0)

Change History (1)

comment:1 by Matthew Good, 15 years ago

Resolution: invalid
Status: newclosed

The TracModPython page lists mod_python 3.1.3 as the required minimum version. You will need to upgrade to a newer version of mod_python for this to work.

Modify Ticket

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