Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280372 - =net-im/skysentials-1.0.1 doesn't work (cannot be launched) out of the box
Summary: =net-im/skysentials-1.0.1 doesn't work (cannot be launched) out of the box
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL: http://forum.skype.com/index.php?show...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-04 21:27 UTC by Alexander Bezrukov
Modified: 2009-10-30 13:07 UTC (History)
0 users

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


Attachments
emerge --info (emerge.info,3.80 KB, text/plain)
2009-08-04 21:28 UTC, Alexander Bezrukov
Details
A patch which incorporate changes suggested by XoDeus.dk (skysentials-1.0.1-python26.patch,2.52 KB, patch)
2009-08-04 21:29 UTC, Alexander Bezrukov
Details | Diff
An ebuild which applies the patch 200204 (skysentials-1.0.1-r1.ebuild,1.27 KB, text/plain)
2009-08-04 21:32 UTC, Alexander Bezrukov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bezrukov 2009-08-04 21:27:09 UTC
Hi,

net-im/skysentials doesn't work out of the box. A set of trivial edits has been suggested by somebody who call himself (or herself) XoDeus.dk. This can be downloaded from http://xodeus.dk/files/skysentials-1.0.1-xod.tar.gz

I transformed these edits to a patch and an ebuild. Please consider adding it to portage.

Reproducible: Always

Steps to Reproduce:
1. emerge skysentials
2. skysentials


Actual Results:  
An error message because of incorrect path to the python interpreter. If this fixed, the application window appears for a fraction of a second and then disappears.

Expected Results:  
Application just works.

There are still minor problems with the application. Price preview doesn't work (only post-factum a user can see the price) and there is a thread sync problem on application shutdown.
Comment 1 Alexander Bezrukov 2009-08-04 21:28:03 UTC
Created attachment 200203 [details]
emerge --info
Comment 2 Alexander Bezrukov 2009-08-04 21:29:53 UTC
Created attachment 200204 [details, diff]
A patch which incorporate changes suggested by XoDeus.dk

See http://forum.skype.com/index.php?showtopic=96258&st=60&p=1613181&#entry1613181
Comment 3 Alexander Bezrukov 2009-08-04 21:32:14 UTC
Created attachment 200205 [details]
An ebuild which applies the patch 200204
Comment 4 Alexander Bezrukov 2009-08-04 21:33:50 UTC
Please also see the Bug #280353
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-06 01:19:32 UTC
What is your _actual_ error message?
Comment 6 Alexander Bezrukov 2009-08-06 14:53:11 UTC
(In reply to comment #5)
> What is your _actual_ error message?
> 

-bash: /usr/bin/skysentials.py: /usr/bin/python25: bad interpreter: No such file or directory

But the real problem is of course that after fixing the path to python interpreter the application window closes promptly and silently a fraction of second after program launch.
Comment 7 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-06 16:01:35 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > What is your _actual_ error message?
> > 
> 
> -bash: /usr/bin/skysentials.py: /usr/bin/python25: bad interpreter: No such
> file or directory

Doh, that is just wrong for Gentoo anyway. It should be /usr/bin/python (which is a symlink to pythonX.X).
Comment 8 Alexander Bezrukov 2009-08-06 19:25:42 UTC
> Doh, that is just wrong for Gentoo anyway. It should be /usr/bin/python (which
> is a symlink to pythonX.X).

This is one thing which the proposed patch does: changes #!/usr/bin/python2.5 to #!/usr/bin/python.
Comment 9 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-06 20:04:22 UTC
(In reply to comment #8)
> > Doh, that is just wrong for Gentoo anyway. It should be /usr/bin/python (which
> > is a symlink to pythonX.X).
> 
> This is one thing which the proposed patch does: changes #!/usr/bin/python2.5
> to #!/usr/bin/python.
> 

Yup! I was just stating the obvious. Will get to it soonish, thanks!
Comment 10 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-20 02:40:16 UTC
added to -r1. Thanks for putting it together!
Comment 11 Kristian 2009-10-30 13:07:31 UTC
seems when the patch was commited to the tree line 161 was automatically changed from:

# $Id: skysentials.py 141 2007-11-22 17:42:53Z pkolmann $

to:

# $Id: skysentials-1.0.1-python26.patch,v 1.2 2009/09/20 17:46:27 darkside Exp $

changing it back makes the commited patch work again.