[TransWarp] Test suite fails

Vineet Jain vinjvinj at yahoo.com
Tue May 13 19:17:01 EDT 2003

Sorry about the html. I'm not exactly sure how it got there. (It's
amazing what cut and paste can do). 

I'm using activepython distribution:

ActivePython 2.2.2 Build 224 (ActiveState Corp.) based on
Python 2.2.2 (#37, Nov 26 2002, 10:24:37) [MSC 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.

The peak unit tests also caused the interpreter to crash. 


-----Original Message-----
From: transwarp-admin at eby-sarna.com
[mailto:transwarp-admin at eby-sarna.com] On Behalf Of Phillip J. Eby
Sent: Tuesday, May 13, 2003 4:01 PM
To: Vineet Jain; transwarp at eby-sarna.com
Subject: Re: [TransWarp] Test suite fails

At 01:53 PM 5/13/03 -0700, Vineet Jain wrote:

>I just checked the 0.5a1 release for windows and tried to run Roche s 
>original example from November. It crashed my python interpreter. I 
>removed line by line till I got to the following code and it still
>my interpreter.

Interesting.  What version of Python are you using?  The Windows
are for Python 2.2.2 only.

>I then tried to run the test cases that came with peak and got the 
>following error:
>C:\programming\PEAK-0.5a1>python setup.py test
>Traceback (most recent call last):
>   File "setup.py", line 5, in ?
>     execfile('src/setup/prologue.py')
>IOError: [Errno 2] No such file or directory: 'src/setup/prologue.py'

Ugh.  I need to update the install docs; they're not written for use
the binary (i.e. Windows) installation.  (Also, I've now realized that
setup/* files are missing from the source distribution as well.)  Try

python c:\python22\lib\unittest.py peak.tests.test_suite

That's basically the command line I use to run the tests on Windows.
might need to change the path to unittest.py, depending on your setup.

By the way, would you please not send HTML e-mail to the list?  It's
hard to read.

>It would be great if you have an updated version of contact example
>which works with the current release of PEAK.

Perhaps Ulrich would be willing to update it; I don't have or use MySQL.

TransWarp mailing list
TransWarp at eby-sarna.com

More information about the PEAK mailing list