[Deskbar] Problems running from git



Hi all,

I'm trying to do some test with deskbar-applet. I have a problem running
deskbar-applet with ./deskbar/deskbar-applet -w.

I'm getting the error:

Traceback (most recent call last):
  File "./deskbar/deskbar-applet", line 77, in <module>
    parser = OptionParser(usage=usage)
  File "/usr/lib/python2.6/optparse.py", line 1214, in __init__
    add_help=add_help_option)
  File "/usr/lib/python2.6/optparse.py", line 1260, in
_populate_option_list
    self._add_help_option()
  File "/usr/lib/python2.6/optparse.py", line 1245, in _add_help_option
    help=_("show this help message and exit"))
  File "/usr/lib/python2.6/gettext.py", line 581, in gettext
    return dgettext(_current_domain, message)
  File "/usr/lib/python2.6/gettext.py", line 545, in dgettext
    codeset=_localecodesets.get(domain))
  File "/usr/lib/python2.6/gettext.py", line 493, 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 315, in _parse
    self.plural = c2py(plural)
  File "/usr/lib/python2.6/gettext.py", line 100, in c2py
    plural = expr.sub(' not \\1', plural)
TypeError: import_module() takes at most 5 arguments (6 given)

Really the problem is in the gettext package, if I try to call gettext
before the OptionParser, it crash in the gettext line. The .mo file is
correctly installed and I'm using python 2.6. Can you help me?

I want to clean some dependencies too because in ubuntu (and debian)
deskbar-applet depends on:

Depende: python-gnome2
Depende: python-gnome2-desktop

the python-gnome2-desktop package depends on:

  Depende: python-bugbuddy
  Depende: python-evince
  Depende: python-evolution
  Depende: python-gnomeapplet
  Depende: python-gnomedesktop
  Depende: python-gnomekeyring
  Depende: python-gnomeprint
  Depende: python-gtksourceview
  Depende: python-gtop
  Depende: python-mediaprofiles
  Depende: python-metacity
  Depende: python-nautilusburn
  Depende: python-rsvg
  Depende: python-totem-plparser
  Depende: python-wnck

In this list there is a lot of deprecated packages (like gnomeprint or
gtksourceview) and I think deskbar-applet doesn't depends.








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]