Comment 3 for bug 1184337

Revision history for this message
Erik Angelle (eangelle) wrote : Re: [Bug 1184337] Re: Launch error message

Traceback (most recent call last):
  File "/usr/bin/cardapio", line 198, in <module>
    cardapio_show(centered = True)
  File "/usr/bin/cardapio", line 113, 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 183, in __init__
    self._build_ui()
  File "/usr/lib/cardapio/Cardapio.py", line 791, in _build_ui
    self._build_reorderable_sections()
  File "/usr/lib/cardapio/Cardapio.py", line 2216, in
_build_reorderable_sections
    self._build_applications_list()
  File "/usr/lib/cardapio/Cardapio.py", line 2142, in _build_applications_list
    for entry in self._app_tree:
  File "/usr/lib/cardapio/GMenuHelper.py", line 58, in __iter__
    raise StopIteration

________________________________
From: Ikey Doherty <email address hidden>
To: <email address hidden>
Sent: Sun, May 26, 2013 9:05:43 AM
Subject: [Bug 1184337] Re: Launch error message

Wondering if that could be corrected rather easily or not

Could you try replacing the line:
self._config_folder_path = os.path.join(DesktopEntry.xdg_config_home,
'Cardapio')

with:
self._config_folder_path = os.path.join (os.environ ['HOME'], '.config',
'Cardapio')

in /usr/lib/cardapio/Cardapio.py; just to see if you can get it to start
?

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1184337

Title:
  Launch error message

Status in Cardapio:
  New

Bug description:
  Traceback (most recent call last):
    File "/usr/bin/cardapio", line 198, in <module>
      cardapio_show(centered = True)
    File "/usr/bin/cardapio", line 113, 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 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'

To manage notifications about this bug go to:
https://bugs.launchpad.net/cardapio/+bug/1184337/+subscriptions