Issue342

Title The labs package does not parse python 2.7.2+ version correctly:
Priority bug Status resolved
Superseder Nosy List erez, jendrik
Assigned To jendrik Keywords
Optional summary

Created on 2012-06-10.14:10:03 by erez, last changed by jendrik.

Messages
msg2255 (view) Author: jendrik Date: 2012-06-11.10:06:31
OK, let's hope for the best ;)
msg2254 (view) Author: erez Date: 2012-06-11.08:15:51
I'm afraid I don't have access to the computer this occurred on anymore.
However, I think we can close this one without verifying it on that machine - I 
trust your string parsing abilities.
msg2253 (view) Author: jendrik Date: 2012-06-10.18:14:54
Thanks for bringing this to my attention. I fixed this in master. Can you confirm 
this, please?
msg2252 (view) Author: erez Date: 2012-06-10.14:10:02
The labs package does not parse python 2.7.2+ version correctly:

tal@ubuntu:~/lab$ python ihc.py 1
2012-06-10 15:08:31,884 INFO     Running build-preprocess-exp:
build(stage='preprocess')
2012-06-10 15:08:31,884 INFO     Running command: ./build_all {'cwd':
'/home/tal/downward-bgu/src'}
make: Nothing to be done for `default'.
make: Nothing to be done for `default'.
make: Nothing to be done for `default'.
make: Nothing to be done for `default'.
make: `validate' is up to date.
2012-06-10 15:08:32,117 INFO     Requiring /home/tal/downward-bgu/src
2012-06-10 15:08:32,120 INFO     Python version: 2.7.2+
Traceback (most recent call last):
  File "/home/tal/lab/lab/steps.py", line 48, in __call__
    retval = self.func(*self.args, **self.kwargs)
  File "/home/tal/lab/downward/experiment.py", line 373, in build
    self._check_python_version()
  File "/home/tal/lab/downward/experiment.py", line 332, in _check_python_version
    version = [int(part) for part in version.split('.')]
ValueError: invalid literal for int() with base 10: '2+'
2012-06-10 15:08:32,121 CRITICAL Could not run step: build(stage='preprocess')
aborting
History
Date User Action Args
2012-06-11 10:06:32jendriksetstatus: chatting -> resolved
messages: + msg2255
2012-06-11 08:15:51erezsetstatus: resolved -> chatting
messages: + msg2254
2012-06-10 18:14:55jendriksetstatus: chatting -> resolved
assignedto: jendrik
messages: + msg2253
2012-06-10 14:10:03erezcreate