Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237053 - media-sound/listen-0.5-r1: crashes on startup, needs encoding declaration in source files
Summary: media-sound/listen-0.5-r1: crashes on startup, needs encoding declaration in ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: José Alberto Suárez López (RETIRED)
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2008-09-08 11:25 UTC by makism
Modified: 2008-09-22 12:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
edited to patch the source files that needs the coding declaration (listen-0.5-r1.ebuild,3.72 KB, text/plain)
2008-09-08 11:27 UTC, makism
Details
the actual patch (encoding_fix.patch,456 bytes, patch)
2008-09-08 11:27 UTC, makism
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description makism 2008-09-08 11:25:24 UTC
The program crashes on startup.
The python tracebacks, indicate that two source files (const.py and song.py) do not declare the encoding.
The solution is pretty easy, just put the following line on top of the files
"# coding=utf-8".

Reproducible: Always

Steps to Reproduce:
1. Install media-sound/listen-0.5-r1
2. Run `listen`

Actual Results:  
The program crashes with an error message indicating which python source files the problem is located.

Expected Results:  
To show up the GUI of the listen media player

Python version: 2.5.2-r6
Comment 1 makism 2008-09-08 11:27:15 UTC
Created attachment 164893 [details]
edited to patch the source files that needs the coding declaration
Comment 2 makism 2008-09-08 11:27:56 UTC
Created attachment 164894 [details, diff]
the actual patch

patches the files: const.py and song.py