Project

General

Profile

Actions

Bug #1155

closed

chirpw crashes on "pyver.split" on OpenSuSE 11.4

Added by Dr J A Stephen Viggiano over 10 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
09/29/2013
Due date:
% Done:

70%

Estimated time:
2.00 h
Chirp Version:
daily
Model affected:
(All models)
Platform:
Linux
Debug Log:
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, in 
    vmaj, 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 #1

Updated by Dr J A Stephen Viggiano over 10 years ago

Patch was submitted to chirp_devel.

Actions #2

Updated by Bernhard Hailer about 4 years ago

  • Status changed from New to Closed

This appears to be complete.

Actions

Also available in: Atom PDF