After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 480508 - crash against python 2.4
crash against python 2.4
Status: RESOLVED FIXED
Product: sabayon
Classification: Deprecated
Component: general
2.20.x
Other All
: Normal critical
: ---
Assigned To: Johnny Robeson
Maintainers of sabayon
: 479096 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-09-26 08:27 UTC by Alan Baghumian
Modified: 2008-01-06 08:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Force to build against python 2.5 (1.34 KB, patch)
2007-09-26 08:28 UTC, Alan Baghumian
none Details | Review
Force to be executed with python2.5 (1.21 KB, patch)
2007-09-26 08:29 UTC, Alan Baghumian
none Details | Review
Backport to Python 2.4 (724 bytes, patch)
2007-09-26 08:33 UTC, Loïc Minier
none Details | Review

Description Alan Baghumian 2007-09-26 08:27:09 UTC
Steps to reproduce:
1. Compile sabayon against python 2.4
2. run sabayon with python 2.4
3. it crashes!


Stack trace:
Error output:

# sabayon
Traceback (most recent call last):
  • File "/usr/bin/sabayon", line 64 in ?
    util.init_gettext ()
  • File "/var/lib/python-support/python2.4/sabayon/util.py", line 117 in init_gettext
    gettext.install (PACKAGE, LOCALEDIR, names=("gettext", "ngettext"))
TypeError: install() got an unexpected keyword argument 'names'


Other information:
Building against python2.5 and runing with python2.5 fixes the problem.
Comment 1 Alan Baghumian 2007-09-26 08:28:36 UTC
Created attachment 96215 [details] [review]
Force to build against python 2.5
Comment 2 Alan Baghumian 2007-09-26 08:29:02 UTC
Created attachment 96216 [details] [review]
Force to be executed with python2.5
Comment 3 Loïc Minier 2007-09-26 08:33:12 UTC
Created attachment 96217 [details] [review]
Backport to Python 2.4

Alternate solution is to support Python 2.4 by adding gettext() and ngettext() manually.
Comment 4 Federico Mena Quintero 2008-01-04 22:36:25 UTC
Thanks for fixing this; feel free to commit with a suitable ChangeLog.
Comment 5 Johnny Robeson 2008-01-06 08:17:49 UTC
fixed in revision 904
Comment 6 Johnny Robeson 2008-01-06 08:18:38 UTC
*** Bug 479096 has been marked as a duplicate of this bug. ***