AttributeError in Cardapio's applet: 'module' object has no attribute 'xdg_config_home'

Bug #1079167 reported by Jose Manuel Perdomo on 2012-11-15
30
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Awn Extras
Undecided
Unassigned
Cardapio
Undecided
Unassigned

Bug Description

python-awn-extras version 0.4.1~bzr1507-0ubuntu7

OS: Ubuntu 12.10 amd64 - GS 3.6

Traceback:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/awn/extras/awnlib.py", line 1580, in init_start
    applet_class(applet)
  File "/usr/lib/cardapio/CardapioAwnWrapper.py", line 26, in __init__
    cardapio = Cardapio(panel_applet = cardapio_awn_applet)
  File "/usr/lib/cardapio/Cardapio.py", line 145, in __init__
    self._create_xdg_folders() # must happen before logging is setup
  File "/usr/lib/cardapio/Cardapio.py", line 634, in _create_xdg_folders
    self._config_folder_path = os.path.join(DesktopEntry.xdg_config_home, 'Cardapio')
AttributeError: 'module' object has no attribute 'xdg_config_home'

Nemes Ioan Sorin (nemes-sorin) wrote :

this bug come out after I've upgraded my Linux MInt box from Nadia (14) to Olivia (15)

Nemes Ioan Sorin (nemes-sorin) wrote :

I have to close my report here - as I get a working solution - details here : https://bugs.launchpad.net/cardapio/+bug/1184337

Changed in awn-extras:
status: New → Confirmed
Changed in cardapio:
status: New → Confirmed

Got this error after updating from Quantal to Raring.

kenn (whatnext) wrote :

I have Ubuntu 13.04, I installed it as awn applet, I tried https://bugs.launchpad.net/cardapio/+bug/1184337, unfortunately it doesn't work.

Nemes Ioan Sorin (nemes-sorin) wrote :

you all can use a patched Cardapio.py file

you have to overwrite your existing /usr/lib/cardapio/Cardapio.py with the file you can download using the link below ...

https://bugs.launchpad.net/cardapio/+bug/1184337/+attachment/3700786/+files/Cardapio.py

restart AWN to check

Jose Manuel Perdomo (joz3) wrote :

recently install the version published in this repository and it works fine

https://launchpad.net/~eugenesan/+archive/ppa?field.series_filter=raring

Nemes Ioan Sorin (nemes-sorin) wrote :

Note for Mint users :

if Cardapio is not working under Mate desktop

then go to /etc/xdg/menus

search for the file mate-applications.menu

duplicate the file under the name applications.menu

reload Cardapio applet

..should work

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

Other bug subscribers