This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Stopping script from Amarok Script Manager doesn't work for my script

Tags: None
(comma "," separated)
imported-evod
Registered Member
Posts
2
Karma
0
Hi forum!

I recently started developing a script for downloading covers from Discogs, which is available here:
http://www.kde-apps.org/content/show.php?content=83909

The one last bug (for now) that I can't solve is the fact, that stopping the script via Amarok Script Manager doesn't work. As far as I know the Script Manager sends SIGTERM to the running script, and since I implemented and tested this behaviour I wonder why it doesn't work from the Script Manager. Sending SIGTERM to the python process from KDE System Guard works perfectly.

My script follows this guide:
http://amarok.kde.org/wiki/Script-Writi ... ermination

I appreciate any help or hint :)

Best, Evod.
User avatar
dangle_wtf
Moderator
Posts
1252
Karma
0
If you don't get a reply here, try posting to the mailing list, amarok@kde.org


"There are two theories to arguing with women. Neither one works."
.
If men could get pregnant, we'd learn the true meaning of "screaming nancyboy wuss"
frank1980
Registered Member
Posts
38
Karma
0
nice gui and good job.
maybe your thread is running, so sometimes you can not stop the script, it always happens. i suggest you to use qt's QThread instead
you'd better add a logo for your gui, "x" in left-up conner is not so nice  :cool:
imported-evod
Registered Member
Posts
2
Karma
0
I fixed the problem.. it was my bad, there was an error in the function that was called after catching SIGTERM.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, sandyvee, Sogou [Bot]