Actions
Bug #1155
closedchirpw crashes on "pyver.split" on OpenSuSE 11.4
Start date:
09/29/2013
Due date:
% Done:
70%
Estimated time:
2:00 h
Chirp Version:
daily
Model affected:
(All models)
Platform:
Linux
I read the instructions above:
Description
chirpw crashes on launch on OpenSuSE 11.4 Evergreen (extended/long term support).
It's short and painless, so the complete transaction appears immediately below, rather than in an attachment:
jail/chirp.hg> ./chirpw CHIRP 0.3.0dev on Linux - Welcome to openSUSE 11.4 "Celadon" - Kernel %r (%t). (Python 2.7) Traceback (most recent call last): File "./chirpw", line 106, invmaj, vmin, vrel = pyver.split(".", 3) ValueError: need more than 2 values to unpack jail/chirp.hg>
As we see from the first line of output, sys.version identifies the python version as 2.7, not 2.7.X. The crash occurs when we attempt to parse this several lines later into three fields. There are only two fields in this case.
While this may be atypical, we may see more of this as Python 3.X evolves; docs.python.org warns about parsing this.
Actions