[Debian-Islamic-maintainers] Bug#646441: monajat-applet: App fails to start and crashes with a traceback.

Noufal Ibrahim noufal at gmail.com
Mon Oct 24 11:11:36 BST 2011


Package: monajat-applet
Version: 2.6.1-3
Severity: grave
Justification: renders package unusable

monajat on Debian is configured to use python2.6. The funtools package on
python2.6 doesn't contain the cmp_to_key function so the app crashes like so.

noufal at sanitarium% monajat-applet
Traceback (most recent call last):
  File "/usr/bin/monajat-applet", line 6, in <module>
    from monajat.applet import applet_main
  File "/usr/lib/python2.6/dist-packages/monajat/applet.py", line 16, in
<module>
    from functools  import cmp_to_key
ImportError: cannot import name cmp_to_key


If I manually try running with python2.7, I get this

noufal at sanitarium% python2.7 $(which monajat-applet)
{'v': u'1'}
3.0 0
Traceback (most recent call last):
  File "/usr/bin/monajat-applet", line 7, in <module>
    applet_main()
  File "/usr/lib/python2.7/dist-packages/monajat/applet.py", line 638, in
applet_main
    a=applet()
  File "/usr/lib/python2.7/dist-packages/monajat/applet.py", line 254, in
__init__
    locale.setlocale(locale.LC_MESSAGES, l)
  File "/usr/lib/python2.7/locale.py", line 540, in setlocale
    return _setlocale(category, locale)
locale.Error: unsupported locale setting


So, while there is a Debian issue (wrong version of Python used), the upstream
seems to be broken as well.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages monajat-applet depends on:
ii  python                       2.6.7-3     interactive high-level object-orie
ii  python-eggtrayicon           2.25.3-10.1 Python module to display icons in 
ii  python-gtk2                  2.24.0-2    Python bindings for the GTK+ widge
ii  python-monajat               2.6.1-3     Islamic supplications backend
ii  python-notify                0.1.1-3     Python bindings for libnotify
ii  python2.6                    2.6.7-3     An interactive high-level object-o
ii  python2.7                    2.7.2-5     An interactive high-level object-o

Versions of packages monajat-applet recommends:
ii  islamic-menus                 1.0.4-1    Islamic menu categories for applic
ii  python-dbus                   0.84.0-2   simple interprocess messaging syst

monajat-applet suggests no packages.

-- no debconf information






More information about the Debian-islamic-maintainers mailing list