Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583016 - media-sound/amarok-2.8.90-r1: Enabling the script console crashes amarok
Summary: media-sound/amarok-2.8.90-r1: Enabling the script console crashes amarok
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jorge Manuel B. S. Vicetto
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard: fixed in 2.9
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-14 11:52 UTC by Markus Wernig
Modified: 2016-05-18 21:52 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Wernig 2016-05-14 11:52:05 UTC
When the script console is enabled (Settings -> Configure Amarok -> Scripts) and the Apply or OK button clicked, an error popup appears with the error:

"The document could not be saved, as it was not possible to write to /usr/share/apps/amarok/scriptconsole//Script-NNNNNNNN/main.js.
Check that you have write access to this file or that enough disk space is available." (NNNNNNNN being a random number that changes each time)

After closing the error message, amarok aborts silently.
On each subsequent start, the error message reappears, and closing it terminates amarok immediately, so there is no way even to disable the script console again.

The only way is to disable it in the config file ~/.kde/share/config/amarokrc in the [ScriptManager] section, set EnableScriptConsole=false.

Reproducible: Always

Steps to Reproduce:
1. Enable Script Console in Script Manager
2. Click Apply
3.
Actual Results:  
amarok crashes with an error message and cannot be restarted
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2016-05-17 10:10:51 UTC
Please report this upstream, so that this is fixed in final release.
Comment 2 Markus Wernig 2016-05-17 10:59:30 UTC
(In reply to Johannes Huber from comment #1)
> Please report this upstream, so that this is fixed in final release.

I'll gladly do. Would this be at bugs.kde.org?
Comment 3 Markus Wernig 2016-05-17 11:16:42 UTC
This was reported upstream at https://bugs.kde.org/show_bug.cgi?id=363176
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2016-05-17 11:47:39 UTC
(In reply to Markus Wernig from comment #3)
> This was reported upstream at https://bugs.kde.org/show_bug.cgi?id=363176

Thanks.
Comment 5 Johannes Huber (RETIRED) gentoo-dev 2016-05-18 21:52:29 UTC
Thanks for reporting. Upstream patch added.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87c151e54bf1f78cfc333845ca69df569cf27bc9