Bug 131426 - amarok scripts added to ksmserverrc cause error dialogs when restarting session
Summary: amarok scripts added to ksmserverrc cause error dialogs when restarting session
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 1.4.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-27 05:29 UTC by Andrew Perry
Modified: 2008-06-16 01:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Perry 2006-07-27 05:29:37 UTC
Version:           1.4.1 (using KDE 3.5.2, Kubuntu Package 4:3.5.2-0ubuntu18.1 dapper)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-26-386

This is an annoyance, since many error dialogs are opened when logging into KDE. 

To reproduce:
Activate any Amarok script (Tools->Script Manager->[select a script]->Run ), and log out of KDE to end the session.

Log back into KDE, and a stream of KDialog errors "Amarok is not running" (one for every enabled amarok script ?) are opened.

This occurs whether amarok was running in the previous session before logout/re-login, or was closed before logout/re-login.

Temporary fix:
Log out of KDE, open a text based console. Edit ~/.kde/share/config/ksmserverrc to remove all references to amarok & amarok scripts 
(eg lines like program10=/home/perry/.kde/share/apps/amarok/scripts/random-album/randomalbum.py and restartCommand23=/home/perry/.kde/share/apps/amarok/scripts/random-album/randomalbum.py,-session,101cb14c15614a000115353038200000069340021_1153969259_625712 )

Don't enable ("Run") any amarok scripts to avoid the problem recurring.
Comment 1 Edward Hades 2008-06-15 14:51:15 UTC
Thank you for your report.

That bug seems fixed in 1.4.9.1.
http://rafb.net/p/ga88JQ25.html
In Amarok 2, however, scripts, that were running during shutdown, are stopped after restoring session.
Comment 2 Andrew Perry 2008-06-16 01:27:17 UTC
Yep, looks to be fixed in 1.4.9.1 in my hands too. Thanks.