problems with anydbm

Michael P. Soulier msoulier at mcss.mcmaster.ca_.nospam
Thu May 30 10:28:22 EDT 2002


    Hey people. I just tried to open a dbm file like so:

>>> file = anydbm.open('zc7_19100_lab_schedule', "r")
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python1.5/anydbm.py", line 86, in open
    return mod.open(file, flag, mode)
dbm.error: (0, 'Error')

    'Error' isn't very informative. Is there a way to get more information as
to what the problem is?

    Mike

-- 
Michael P. Soulier <msoulier at storm.ca>, GnuPG pub key: 5BC8BE08
"...the word HACK is used as a verb to indicate a massive amount
of nerd-like effort."  -Harley Hahn, A Student's Guide to Unix



More information about the Python-list mailing list