[qmtest] qmtest for linux

Diana Bosio Diana.Bosio at cern.ch
Fri May 28 07:37:31 UTC 2004


Hi,

my computer comes also with python 2.2, the only thing is that python 
2.2 is not in /usr/bin/python (where the old version is) but instead I have:

 >ls  /usr/bin/python*
/usr/bin/python  /usr/bin/python1.5  /usr/bin/python2  /usr/bin/python2.2

and I have no means of changing that (well, I have the means but I am 
not supposed to do it)... With qmtest 2.0.3 I could run configure and 
specify which python to use (i.e. ./configure 
--with-python=/usr/bin/python2.2), how can I do it with the new version 
of qmtest?

The Makefile is also missing, to do make and make install, where can i 
find it? Or did you change the installation steps and forgot to update 
the README ;-)?

Cheers,
Diana

Mark Mitchell wrote:
> Stefan Seefeld wrote:
> 
>> Diana Bosio wrote:
>>
>>> Hi,
>>>
>>> I am writing to the qmtest mailing list as I could not find an answer 
>>> to my problem on your website.
>>>
>>> I've tried to install qmtest version 2.1.2 on a linux pc to no avail. 
>>> With the rpm the installation goes fine, but when I try to run qmtest 
>>> I get
>>> File "./qmtest", line 108
>>>     version_str = ".".join([str(num) for num in 
>>> _required_python_version])
>>
>>
>>
>> ouch ! That's list comprehension syntax which only recent python
>> versions support. Even though it *means* that you must upgrade your 
>> python
>> version if you want to run qmtest, the very code that tries to diagnose
>> invalid python versions shouldn't bail out because of it. Catch 22.
> 
> 
> Stefan is correct; the root cause here is that you do not have a 
> sufficiently recent version of Python installed.
> 
> However, this is definitely a bug.  It looks like Nathaniel introduced 
> this change a while back; we'll get it fixed before QMTest 2.2.2 -- 
> which will be released very shortly.
> 


-- 
CERN, European Organization for Nuclear Research
IT Department, Grid Middleware
Geneva 23, CH-1211, Switzerland
Tel: ++ 41 22 767 1466	Fax: ++ 41 22 767 7155





More information about the qmtest mailing list