Python, GDBM and Cygwin

Godefroid Chapelle gotcha at swing.be
Wed Jan 30 09:08:59 EST 2002


At 13:24 30/01/2002, Jason Tishler wrote:

>Godefroid,
>
>On Tue, Jan 29, 2002 at 09:29:17AM +0100, Godefroid Chapelle wrote:
> > >When trying the test_gdbm.py of Python 2.2, I get a
> > >
> > >gdbm fatal: read error
> > >
> > >message.
> > >
> > >Can someone point me a resource which could help me ?
>
>Sorry, but the following may not be of much help...
>
>Since I'm the Cygwin Python maintainer, I frequently run the regression
>test suite.  I have never had a test_gdbm failure.  Possibly this is
>because I run exclusively with binary mode mounts, NT/2000, NTFS, and
>ntsec.  What is your setup?


/, /usr/bin and /usr/lib were previously mounted as text (I did not know 
anything of binary versus text).

I am now able to run testgdbm.exe which is supplied with the gdbm c package.
As I stated on cygwin list, I previously got CPU load more than 95%  when 
trying this test.

test_gdbm.py is also working now...



Thanks a lot. !!!!




>I would anticipate problems with (at least)
>text mode mounts and non-NTFS file systems.  I also suggest searching
>the Cygwin mailing archives to see if there are any known gdbm issues.

I had done that. And found no indications that gdbm should work on binary 
mode mounted file systems.

Do you know how and where to leave a trace of the problem and its solution ?

>HTH,
>Jason

--

Godefroid Chapelle

BubbleNet sprl
rue Victor Horta, 18 / 202
1348 Louvain-la-Neuve
Belgium

Tel + 32 (10) 459901
Mob + 32 (477) 363942

TVA 467 093 008
RC Niv 49849





More information about the Python-list mailing list