Bug 431 - Python ImportError after install from repository
Summary: Python ImportError after install from repository
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-18 10:32 CET by lb lb
Modified: 2011-03-18 18:30 CET (History)
1 user (show)

See Also:
Source RPM: hamster-applet-2.32.1-2.mga1.src.rpm
CVE:
Status comment:


Attachments

Description lb lb 2011-03-18 10:32:49 CET
Description of problem:
Application does't launch after install
starting the app in console windows shows an python import error

Traceback (most recent call last):
  File "/usr/bin/hamster-time-tracker", line 500, in <module>
    from hamster.configuration import runtime, dialogs, conf
  File "/usr/lib/python2.7/site-packages/hamster/configuration.py", line 28, in <module>
    from xdg.BaseDirectory import xdg_data_home
ImportError: No module named xdg.BaseDirectory

Version-Release number of selected component (if applicable):
2.32.1-2.mga1

How reproducible:
installing hamster-applet package
start the installed app

Steps to Reproduce:
1.
urmpi hamster-applet

2.
start the app via console 
hamster-time-tracker

3.


Reproducible: 

Steps to Reproduce:
Comment 1 Jani Välimaa 2011-03-18 18:29:10 CET
Should be fixed in -3.mga1. I added require for python-xdg (and python-dbus).

Closing as FIXED, feel free to reopen if the problem still exists after installing -3.mga1.

Status: NEW => RESOLVED
CC: (none) => jani.valimaa
Resolution: (none) => FIXED

Comment 2 Jani Välimaa 2011-03-18 18:30:53 CET
(In reply to comment #1)
> Should be fixed in -3.mga1. I added require for python-xdg (and python-dbus).
> 

D'oh! python-pyxdg, not python-xdg.

Note You need to log in before you can comment on or make changes to this bug.