[Python-Dev] bsddb: Test failures on windows (HELP!)

Tres Seaver tseaver at palladion.com
Thu Jul 24 14:39:08 CEST 2008

Hash: SHA1

Mark Hammond wrote:

>> Trent, I was wondering if you could look at some test failures in MS
>> Windows builds. I can't debug Windows issues myself :-(. This is a MS
>> free environment...
> In these errors I see lots of bsdbd errors, many of the form:
> | DBFileExistsError: (17, 'File exists -- __fop_file_setup:  Retry limit
> (100) exceeded')

Maybe this one is due to the fact that Windows, unlike POSIX, doesn't
allow unlinking an open file?

> Maybe an old test file isn't being nuked?  Others of the form:
> |    self.assertTrue(time.time()<timeout)
> |  AssertionError
> which also look more related to the test suite than to Windows.

Perhaps this is due to differing timer granularity on Windows?

> There are also lots of errors due to the environment having a unicode object
> in it:
>   | test test_site failed -- Traceback (most recent call last):
>   |  ...
>   | TypeError: environment can only contain strings
>   | test test_subprocess failed -- errors occurred; run in verbose mode for
> details
>   | [Possibly the same error as below?]
>   | test test_sys failed -- Traceback (most recent call last):
>   | File "...\subprocess.py", line 817, in _execute_child
>   |    startupinfo)
>   | TypeError: environment can only contain strings

That definitely shouldn't happen on Unix either.

- --
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the Python-Dev mailing list