Ubuntu 11.10 fail to launch

Bug #878219 reported by Dafatfab
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cardapio
New
Undecided
Unassigned

Bug Description

I can't launch cardapio menu in the unity launcher.

When I try to launch it in a xterm, here come those errors :

(cardapio:10726): Gtk-WARNING **: Impossible de trouver le moteur de thème dans module_path : « pixmap »

(cardapio:10726): Gtk-WARNING **: Impossible de trouver le moteur de thème dans module_path : « pixmap »

(cardapio:10726): Gtk-WARNING **: Impossible de trouver le moteur de thème dans module_path : « pixmap »

(cardapio:10726): Gtk-WARNING **: Impossible de trouver le moteur de thème dans module_path : « pixmap »
Traceback (most recent call last):
  File "/usr/bin/cardapio", line 173, in <module>
    cardapio_show(centered = True)
  File "/usr/bin/cardapio", line 92, in cardapio_show
    start_cardapio(show = position)
  File "/usr/bin/cardapio", line 43, in start_cardapio
    from Cardapio import Cardapio
  File "/usr/lib/cardapio/Cardapio.py", line 98, in <module>
    import gtk.glade
ImportError: No module named glade

Any idea ? thanks

Revision history for this message
Thiago Teixeira (tvst) wrote :

Hi there, can you try installing python-gtk2 and python-glade2 one at a time and let me know if either one makes Cardapio work for you?

That is, run this in a terminal:
$ sudo apt-get install python-gtk2
$ cardapio show

Then tell me if it works at this point. If not, go ahead and try this:
$ sudo apt-get install python-glade2
$ cardapio show

Revision history for this message
Dafatfab (fabienja) wrote :

Hi, thank you for your answer.
So, this morning.... Cardapio works well !

don't know exactly why... The 2 python's modules were already installed in synaptic.

The command "cardapio show" works directly in a xterm... and then works direcly in the unity launcher.

The only thing I do between my bug report and this morning was to log me for the first time both with gnome3 and gnome2 environment (just for testing)...

Revision history for this message
Colin CAVY (colincavy) wrote :

Thanks install the 2nd python module works for me

Revision history for this message
James Heany (digphan) wrote :

2nd one

$ sudo apt-get install python-glade2

worked for me too in ubuntu 11.10

Revision history for this message
Cefn (6-launchpad-net-cefn-com) wrote :

I'm trying to install cardapio-docky for a lightweight system based on Lubuntu and Compiz, so it's a good framework for testing whether cardapio's declared dependencies are sane (right now I think they're largely unspecified). python-gtk2 was already installed.

I have cardapio 0.9.193-ubuntu and cardapio-docky 0.9.192-ubuntu

Before installing python-glade I had (understandably)...
ImportError: No module named glade
...but installing python-glade simply leads to a different error....

cefn@cefn-lubuntuoneiric-vbox:~$ cardapio
Exception AttributeError: "'CardapioPlugin' object has no attribute 'package_monitor'" in <bound method CardapioPlugin.__del__ of <software_center.CardapioPlugin object at 0x26c9390>> ignored
Traceback (most recent call last):
  File "/usr/bin/cardapio", line 173, in <module>
    cardapio_show(centered = True)
  File "/usr/bin/cardapio", line 92, in cardapio_show
    start_cardapio(show = position)
  File "/usr/bin/cardapio", line 45, in start_cardapio
    Cardapio(show = show)
  File "/usr/lib/cardapio/Cardapio.py", line 171, in __init__
    self._build_ui()
  File "/usr/lib/cardapio/Cardapio.py", line 765, in _build_ui
    self._fill_system_list()
  File "/usr/lib/cardapio/Cardapio.py", line 1823, in _fill_system_list
    for node in self._sys_tree.root.contents:
AttributeError: 'NoneType' object has no attribute 'contents'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.