make check-swig-py errors

Hi all,

I sent this to the Subversion list but thought this may be more appropriate. Not sure if this is a Swig problem or SVN but hope someone can help.

I am getting the error below from make check-swig-py with a fresh install of subversion 1.5.4 and swig 1.3.36. There were no errors or warnings from make swig-py. My python is version 2.2.3 and I am running Red Hat Enterprise Linux AS release 3. Any pointers much appreciated.

/usr/bin/python /data/subversion-1.5.4/subversion/bindings/swig/python/tests/run_all.py

....................................................................E....................................

======================================================================

ERROR: Make sure that repos.create doesn't segfault when we set fs-type

----------------------------------------------------------------------

Traceback (most recent call last):

  File "/data/subversion-1.5.4/subversion/bindings/swig/python/tests/repository.py", line 40, in test_create

    path = tempfile.mkdtemp("-test" + str(i))

AttributeError: 'module' object has no attribute 'mkdtemp'

 

----------------------------------------------------------------------

Ran 105 tests in 33.959s

 

FAILED (errors=1)

make: *** [check-swig-py] Error 1

 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Swig-user mailing list
Swig-user <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swig-user
Nitro | 18 Nov 23:59
Favicon

Re: make check-swig-py errors

Am 18.11.2008, 23:24 Uhr, schrieb BSX_Menglan - Direct Brands  
<BSX_Menglan <at> directbrands.com>:

> Hi all,
>
> I sent this to the Subversion list but thought this may be more
> appropriate. Not sure if this is a Swig problem or SVN but hope someone
> can help.
>
> I am getting the error below from make check-swig-py with a fresh
> install of subversion 1.5.4 and swig 1.3.36. There were no errors or
> warnings from make swig-py. My python is version 2.2.3 and I am running
> Red Hat Enterprise Linux AS release 3. Any pointers much appreciated.
>
> Traceback (most recent call last):
>
>   File
> "/data/subversion-1.5.4/subversion/bindings/swig/python/tests/repository
> .py", line 40, in test_create
>
>     path = tempfile.mkdtemp("-test" + str(i))
>
> AttributeError: 'module' object has no attribute 'mkdtemp'
> ----------------------------------------------------------------------

I think this belongs onto the subversion list. For what it's worth, the  
mkdtemp function was added to the tempfile module in Python 2.3. Since you  
run Python 2.2 it doesn't work. Now only the SVN guys will be able what to  
do (upgrade python, they rewrite their test code, ...).

-Matthias

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

Gmane