I am using pywordnet and when ever I import the package
from wordnet import *, I get an error:
"Exception exceptions.AttributeError: "DbfilenameShelf instance has no
attribute 'writeback'" in ignored"
Now the package works fine until I tried to use that in Apache via
CGI. Apache is showing a Server Error and the error_logs states that:
[Fri Feb 25 16:06:08 2005] [error] [client 192.168.1.125] from
wordnet import *, referer: http://garry/cgi-bin/test.py
[Fri Feb 25 16:06:08 2005] [error] [client 192.168.1.125] ImportError:
No module named wordnet, referer: http://garry/cgi-bin/test.py
While googling, I found:
"It is a simple fix that adds the writeback argument to shelve.open calls."
Source:
http://www-128.ibm.com/developerwork...d=72747&cat=11
Do anyone have any idea about that? Is there any fix or workaround?
Thanks and Regards,
Garry
http://garrythegambler.blogspot.com/