Version: 2.4.3 (using KDE 4.6.5) OS: Linux Amarok webui is a nice script enabling to control amarok from any device though network. It seems the script manager does not start anymore with amarok 2.4.3 Reproducible: Always Steps to Reproduce: install amarok webui script from amarok script manager. restart amarok Actual Results: amrok webui script has not been started Expected Results: amrok webui script should start with amarok
The script manager starts correctly with all my usual scripts, this is the only one that doesn't. I suggest you report this to the script author, we are not responsible for 3rd-party scripts.
I don't agree. This used to work until 2.4.3 and just stopped working. I would be at least expecting some support from the script manager amarok developer ! Just to give me a hint on where to look, etc...
Did you at least have a look at the script code first? We didn't change anything in the script manager code in the recent months, so this is most likely not an Amarok regression at all but related to that particular script. As I said, all my scripts work fine, and there are many, so I bet it is a problem with that particular script.
There is bound to be a change with amarok, as the same script works just fine with any previous 2.4.x amarok version. The script has not been changed either. I suggest that the amarok developers look into it.
here are the scriptmanager traces : amarok: BEGIN: void ScriptManager::configChanged(bool) amarok: BEGIN: bool ScriptManager::slotRunScript(const QString&, bool) amarok: BEGIN: void ScriptManager::startScriptEngine(const QString&) amarok: [ScriptManager] start script engine: "WebUI" amarok: END__: void ScriptManager::startScriptEngine(const QString&) [Took: 0s] amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.core" amarok: [WARNING] Qt Binding: "qt.core" not found! amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) [Took: 0s] amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.network" amarok: [WARNING] Qt Binding: "qt.network" not found! amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) [Took: 0s] amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.gui" amarok: [WARNING] Qt Binding: "qt.gui" not found! amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) [Took: 0s] amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.core" amarok: [WARNING] Qt Binding: "qt.core" not found! amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) [Took: 0s] amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.network" amarok: [WARNING] Qt Binding: "qt.network" not found! amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) [Took: 0s] amarok: [ERROR__] [ScriptManager] "Script Error: ReferenceError: Can't find variable: QByteArray (line: 22)" amarok: BEGIN: void ScriptManager::slotStopScript(const QString&) amarok: BEGIN: void ScriptManager::scriptFinished(const QString&) amarok: END__: void ScriptManager::scriptFinished(const QString&) [Took: 0s] amarok: END__: void ScriptManager::slotStopScript(const QString&) [Took: 0.013s] amarok: [ScriptManager] The Log For the script that is the borked: ("18:32:40 Script started", "Script Error: ReferenceError: Can't find variable: QByteArray (line: 22)", "18:32:40 Script ended") amarok: END__: bool ScriptManager::slotRunScript(const QString&, bool) [Took: 0.032s] amarok: BEGIN: bool ScriptManager::slotRunScript(const QString&, bool) amarok: BEGIN: void ScriptManager::startScriptEngine(const QString&) amarok: [ScriptManager] start script engine: "LyricWiki" amarok: END__: void ScriptManager::startScriptEngine(const QString&) [Took: 0s] amarok: [ScriptManager] lyrics script started: "LyricWiki" amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.core" amarok: [WARNING] Qt Binding: "qt.core" not found! amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) [Took: 0s] amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) amarok: importing qt bindings "qt.xml" amarok: [WARNING] Qt Binding: "qt.xml" not found! amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) [Took: 0s] amarok: END__: bool ScriptManager::slotRunScript(const QString&, bool) [Took: 0.002s] amarok: END__: void ScriptManager::configChanged(bool) [Took: 0.035s] amarok: END__: void ScriptManager::updateAllScripts() [Took: 0.041s]
Something must be wrong with your installation, I just tested with 2.4.3 here and it works fine.
This was caused by compilation without qtscript-qt.[1] I've just had the same error and I think there's a bug in how amarok handles this situation. If compilation occurs with no scripting support the embedded scripts (eg. Amarok Script Console) are not available but still the user can download and install (from GHNS) new scripts, and they will never run. All of this with no really diagnostic error message (see above). [1] http://forum.kde.org/viewtopic.php?f=117&t=96575