Bug 462375 - smoltGui crashes at startup
Summary: smoltGui crashes at startup
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: Other (show other bugs)
Version: Final
Hardware: i686 openSUSE 11.1
: P5 - None : Critical with 1 vote (vote)
Target Milestone: ---
Assignee: Jan Matejek
QA Contact: E-mail List
URL:
Whiteboard: obs:running:11857:important
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-24 12:53 UTC by A E
Modified: 2020-05-06 17:16 UTC (History)
2 users (show)

See Also:
Found By: Community User
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description A E 2008-12-24 12:53:04 UTC
smoltGui crashes at startup. Every time I start smoltGui from konsole it will produce the following output:

user@host:~> smoltGui
Traceback (most recent call last):
  File "/usr/bin/smoltGui", line 34, in <module>
    from i18n import _
  File "/usr/share/smolt/client/i18n.py", line 36, in <module>
    t = gettext.translation('smolt', '/usr/share/locale/', fallback = Tr
  File "/usr/lib/python2.6/gettext.py", line 478, in translation
    t = _translations.setdefault(key, class_(open(mofile, 'rb')))
  File "/usr/lib/python2.6/gettext.py", line 180, in __init__
    self._parse(fp)
  File "/usr/lib/python2.6/gettext.py", line 314, in _parse
    plural = v[1].split('plural=')[1]
IndexError: list index out of range


user@host:~>locale
LANG=sv_SE.UTF-8
LC_CTYPE="sv_SE.UTF-8"
LC_NUMERIC="sv_SE.UTF-8"
LC_TIME="sv_SE.UTF-8"
LC_COLLATE="sv_SE.UTF-8"
LC_MONETARY="sv_SE.UTF-8"
LC_MESSAGES="sv_SE.UTF-8"
LC_PAPER="sv_SE.UTF-8"
LC_NAME="sv_SE.UTF-8"
LC_ADDRESS="sv_SE.UTF-8"
LC_TELEPHONE="sv_SE.UTF-8"
LC_MEASUREMENT="sv_SE.UTF-8"
LC_IDENTIFICATION="sv_SE.UTF-8"
LC_ALL=

Hardware is Asus EEE 901 Linux, Swedish version
Comment 1 Forgotten User 9vqQn7cWjO 2009-01-02 10:25:13 UTC
(In reply to comment #0 from A E)
> smoltGui crashes at startup. Every time I start smoltGui from konsole it will
> produce the following output:
> 
> user@host:~> smoltGui
> Traceback (most recent call last):
>   File "/usr/bin/smoltGui", line 34, in <module>
>     from i18n import _
>   File "/usr/share/smolt/client/i18n.py", line 36, in <module>
>     t = gettext.translation('smolt', '/usr/share/locale/', fallback = Tr
>   File "/usr/lib/python2.6/gettext.py", line 478, in translation
>     t = _translations.setdefault(key, class_(open(mofile, 'rb')))
>   File "/usr/lib/python2.6/gettext.py", line 180, in __init__
>     self._parse(fp)
>   File "/usr/lib/python2.6/gettext.py", line 314, in _parse
>     plural = v[1].split('plural=')[1]
> IndexError: list index out of range
> 
> 
> user@host:~>locale
> LANG=sv_SE.UTF-8
> LC_CTYPE="sv_SE.UTF-8"
> LC_NUMERIC="sv_SE.UTF-8"
> LC_TIME="sv_SE.UTF-8"
> LC_COLLATE="sv_SE.UTF-8"
> LC_MONETARY="sv_SE.UTF-8"
> LC_MESSAGES="sv_SE.UTF-8"
> LC_PAPER="sv_SE.UTF-8"
> LC_NAME="sv_SE.UTF-8"
> LC_ADDRESS="sv_SE.UTF-8"
> LC_TELEPHONE="sv_SE.UTF-8"
> LC_MEASUREMENT="sv_SE.UTF-8"
> LC_IDENTIFICATION="sv_SE.UTF-8"
> LC_ALL=
> 
> Hardware is Asus EEE 901 Linux, Swedish version
> 

I can confirm exactly the same error, also using sv_SE.UTF-8. Ordinary pc (not EEE 901).
Comment 2 Hendrik Vogelsang 2009-01-12 14:07:23 UTC
Sounds like a python bug.

http://bugs.python.org/issue1448060

Jan?
Comment 3 Jan Matejek 2009-01-12 17:21:33 UTC
indeed looks like it.
i'll take the bug for now ... as soon as i figure out this new bugzilla interface ;e)
Comment 4 Jan Matejek 2009-01-15 15:17:50 UTC
yep, it's a python bug all right. fix committed to stable/sle11 and to OBS devel:languages:python:Factory

(use this repo if you don't want to wait until we publish the fix)

Anja, would this warrant an online update? (the affected package is python-base)

alternately, if we don't want to update python, we can easily fix the translation file in smoltGui (by removing the empty "plurals" line) - but of course other packages/translations might be affected
Comment 6 Dirk Mueller 2009-02-02 13:39:20 UTC
collected in the outstanding python update.
Comment 7 Swamp Workflow Management 2020-01-24 20:16:36 UTC
SUSE-SU-2020:0234-1: An update that solves 37 vulnerabilities and has 50 fixes is now available.

Category: security (important)
Bug References: 1027282,1041090,1042670,1068664,1073269,1073748,1078326,1078485,1079300,1081750,1083507,1084650,1086001,1088004,1088009,1109847,1111793,1113755,1122191,1129346,1130840,1130847,1138459,1141853,1149792,1149955,1153238,1153830,1159035,214983,298378,346490,367853,379534,380942,399190,406051,425138,426563,430761,432677,436966,437293,441088,462375,525295,534721,551715,572673,577032,581765,603255,617751,637176,638233,658604,673071,682554,697251,707667,718009,747125,747794,751718,754447,766778,794139,804978,827982,831442,834601,836739,856835,856836,857470,863741,885882,898572,901715,935856,945401,964182,984751,985177,985348,989523,997436
CVE References: CVE-2007-2052,CVE-2008-1721,CVE-2008-2315,CVE-2008-2316,CVE-2008-3142,CVE-2008-3143,CVE-2008-3144,CVE-2011-1521,CVE-2011-3389,CVE-2011-4944,CVE-2012-0845,CVE-2012-1150,CVE-2013-1752,CVE-2013-1753,CVE-2013-4238,CVE-2014-1912,CVE-2014-4650,CVE-2014-7185,CVE-2016-0772,CVE-2016-1000110,CVE-2016-5636,CVE-2016-5699,CVE-2017-1000158,CVE-2017-18207,CVE-2018-1000030,CVE-2018-1000802,CVE-2018-1060,CVE-2018-1061,CVE-2018-14647,CVE-2018-20852,CVE-2019-10160,CVE-2019-16056,CVE-2019-16935,CVE-2019-5010,CVE-2019-9636,CVE-2019-9947,CVE-2019-9948
Sources used:
SUSE Linux Enterprise Module for Python2 15-SP1 (src):    python-2.7.17-7.32.2, python-base-2.7.17-7.32.1
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15-SP1 (src):    python-2.7.17-7.32.2, python-base-2.7.17-7.32.1, python-doc-2.7.17-7.32.2
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 (src):    python-2.7.17-7.32.2, python-doc-2.7.17-7.32.2
SUSE Linux Enterprise Module for Desktop Applications 15-SP1 (src):    python-2.7.17-7.32.2
SUSE Linux Enterprise Module for Desktop Applications 15 (src):    python-2.7.17-7.32.2
SUSE Linux Enterprise Module for Basesystem 15-SP1 (src):    python-2.7.17-7.32.2, python-base-2.7.17-7.32.1
SUSE Linux Enterprise Module for Basesystem 15 (src):    python-2.7.17-7.32.2, python-base-2.7.17-7.32.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.