[qmtest] qmtest for linux

Mark Mitchell mark at codesourcery.com
Thu May 27 17:47:03 UTC 2004


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.

-- 
Mark Mitchell
CodeSourcery, LLC
(916) 791-8304
mark at codesourcery.com




More information about the qmtest mailing list