pykaraoke won't read fonts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pykaraoke (Ubuntu) |
Opinion
|
Undecided
|
J.G. |
Bug Description
Dear,
i was making a executable icon for pykaraoke_mini.py downloaded from github.com.
I noticed that in order to make executable work i was needed to put both full path to python executable in Exec variable and Path variable. In oder case the executable doesnt work.
Example:
[Desktop Entry]
Name=pyKaraoke mini
Version=0.75
Exec=~/
Terminal=false
Type=Application
Path=~/
I was questioning it, because the pykaraoke deb packet seems to be not working.
The reason that pykaraoke doesn't want to play karaoke (.kar and .mid files) is when i run it from terminal it gives me error message:
<type 'exceptions.
unable to read font filename
so i guessed that python also can't find the path to the fonts used in playing karaoke files in pykaraoke binary.
I maked a test by editing pykaraoke_mini.py lines:
font = pygame.
self.thinFont = pygame.
self.boldFont = pygame.
self.titleFont = pygame.
and
self.subtitleFont = pygame.
by putting a full path to the selected fonts, by example:
manager.FontPath, "/usr/share/
and pykaraoke_mini.py executed with no errors, but it didn't want to play again because i think there are needed to be full paths entered in other portions of the code, in order to make pykaraoke function properly.
So i maked a conclusion that this is a linux bug.
Am i right or wrong?
Thank you,
greetings,
Igor
summary: |
- pykaraoke wont read fonts + pykaraoke won't read fonts |
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1828592
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.