[TransWarp] Test suite fails

Phillip J. Eby pje at telecommunity.com
Tue May 13 19:00:40 EDT 2003

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 crashed 
>my interpreter.

Interesting.  What version of Python are you using?  The Windows downloads 
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 with 
the binary (i.e. Windows) installation.  (Also, I've now realized that the 
setup/* files are missing from the source distribution as well.)  Try this:

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

That's basically the command line I use to run the tests on Windows.  You 
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 very 
hard to read.

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

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

More information about the PEAK mailing list