TypeError with genCGI.py

D

D

Hello,

We are using genCGI.py from the Internet Programming with Python book. We migrated to using Python 2.2.2 from 2.1.3 and we are now getting the following:

Unhandled exception encountered.

exceptions.TypeError
File "/usr/ngasi/contexts/odomain/odomain/cgi-bin/genCGI.py", line 94, in GO
form = self.get_form()
File "/usr/ngasi/contexts/odomain/odomain/cgi-bin/genCGI.py", line 264, in get_form
form = self.get_form_base(self)

I notice that the month4.cgi example on the book site gets the same error:

http://starship.python.net/crew/aaron_watters/cgi/month4.cgi

Does anyone have any idea what the problem is or perhaps have a fix?

Thanks,

Dan

Dan Snider
Object Domain Systems Inc.
http://www.objectdomain.com
(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,015
Latest member
AmbrosePal

Latest Threads

Top