I have a python script which displays a framed image. Information about the image is stored in a dbm file which is generated by perl. File type is
gallery/ImageDatabase.db: Berkeley DB 1.85 (Hash, version 2, native byte-order)
Attempts to run the script and open the dbm file yeild:
[khartoum]$ python -d cgi/frameimage.py
Traceback (most recent call last):
File “cgi/frameimage.py”, line 136, in
db_file = dbm.open (image_db_path, ‘r’)
dbm.error: (22, ‘Invalid argument’)
I believe the file path is correct. When it is incorrect I get a different error. This script works when run under Mac OS and python 2.6 but not on dreamhost site which has python 2.5.2.
I’m stumped and would appreciate any help.