Active Topics

 


Reply
Thread Tools
Posts: 151 | Thanked: 14 times | Joined on Dec 2007
#1
I have recently stated to experience problem with UKMP not starting up.
I prints the following error to the stdout.
Code:
Nokia-N800-50-2:/usr/bin$ ukmp
Traceback (most recent call last):
  File "/usr/bin/ukmp", line 22, in ?
    import MediaCenter
  File "/usr/bin/MediaCenter.py", line 23, in ?
    import pygame, os
ImportError: No module named pygame
Funnily enought, the pygame is installed and to make sure I have reinstalled it manually with dpkg. ukmp still does not start. Any ideas anyone ?
 
Posts: 111 | Thanked: 31 times | Joined on May 2007
#2
There is a similar bug with python-gnome that can be workarounded with:

touch /usr/lib/python2.5/site-packages/gnome/__init__.py

I guess the one you report is similar, and you may just have to create the __init__.py file for pygame manually.
 
Posts: 151 | Thanked: 14 times | Joined on Dec 2007
#3
Thanks a lot for a quick reply but it does not solve the problem. To make it more mysterious I can import pygame into any self created python scripts without a problem. Will keep on trying to get it to work but it looks strange.
 

The Following User Says Thank You to spirytsick For This Useful Post:
Posts: 151 | Thanked: 14 times | Joined on Dec 2007
#4
Ok Sorted it!. Manual re installation of python main package did the trick. It's working now. That is worrying as it looks like some (cant tell which ones) packages are messing with python setup.
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:15.