Re: dbm.open Blind?

hzsbg01!jbuhrma@hvgtw.att.com
Wed, 30 Mar 94 12:03:58 +0200

>>>>> On Wed, 30 Mar 1994 11:41:18 +0200, Jack Jansen <Jack.Jansen@cwi.nl> said:

> Recently, friedric@rose.rsoc.rockwell.com (Robin Friedrich) said:

>> [...]
>> -rw-r--r-- 1 friedric 4096 Mar 29 17:14 Notebase.dir
>> -rw-r--r-- 1 friedric 16384 Mar 29 17:14 Notebase.pag
>> ...
>> >>> x = dbm.open('Notebase','r',0644)
>> Traceback (innermost last):
>> File "<stdin>", line 1
>> dbm.error: (2, 'No such file or directory')

> The only thing I can imagine is that there has been some error in
> building your dbm module. Even if the files were the wrong format
> (i.e. because they were built with a different, incompatible, version
> of dbm) the open should succeed (who knows what happens later, but the
> open should succeed).

There *are* implementations that are not only incompatible, but also use
different file extensions, like gdbm. Weren't there some mailings about
a month ago mentioning a python implementation with an alternate dbm
library?

-- Jan-Hein Buhrman -- AT&T Huizen NL --- <J.H.Buhrman@ns-nl.att.com> ---
---------------------- +31 35 87.4799 --- ...!att!hvgtw!hzsbg01!jbuhrma ---