Python test failures - Mailing list pgsql-hackers

From Magnus Hagander
Subject Python test failures
Date
Msg-id 20070417125237.GC11746@svr2.hagander.net
Whole thread Raw
List pgsql-hackers
Hello!

I'm trying to get the buildfarm to run on my XP x64 machine (still in
32-bit mode), and it's acting weird on me :-(

The plpython tests because of:
+ NOTICE:  ('import failed -- No module named bisect',)

and
! ERROR:  plpython: function "import_test_two" failed
! DETAIL:  <type 'exceptions.ImportError'>: No module named sha


All other plpython tests work fine. It appears to load all other modules
fine.

Running the following little python script directly on the
commandline works fine:

import shaprint sha.new('foo').hexdigest()

in c:\python25\lib I have sha.py and sha.pyc. I also have random, array etc
- the other modules that the plpython tests run, and that work.
Permissions are the same on all these files, the buildfarm user can read
the files fine. And the fact that caling python directly seems to indicate
that the path shuold be fine...


I know very little about python... :( Any pointers? 

//Magnus



pgsql-hackers by date:

Previous
From: "Marko Kreen"
Date:
Subject: Re: Buildfarm member Narwhal: Python 2.5/8.1
Next
From: "Marko Kreen"
Date:
Subject: Re: RESET command seems pretty disjointed now