[karmic] Latest Amarok upgrade causes script exceptions on startup

Bug #379604 reported by Michael Marley
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
amarok (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: amarok

After the latest Amarok upgrade on Kubuntu Karmic, Amarok complains on each startup that the "Librivox.org" and "Lyricwiki" scripts threw exceptions. Amarok itself still works properly, though i doubt the scripts would.

Revision history for this message
Lydia Pintscher (lydia-pintscher) wrote :

Can you please start Amarok from commandline with "amarok -d"?
This very much sounds like the QtScriptgenerator isn't installed or not working. Missing dependency? Wrong install location?

Changed in amarok (Ubuntu):
status: New → Incomplete
Revision history for this message
Michael Marley (mamarley) wrote :
Download full text (67.8 KiB)

OK, here is the output:

michael@michaelspc:~$ amarok -d
amarok: BEGIN: App::App()
amarok: BEGIN: void App::continueInit()
amarok: BEGIN: EngineController::EngineController()
amarok: BEGIN: void EngineController::initializePhonon()
amarok(31878) Phonon::KdePlatformPlugin::createBackend: using backend: "Xine"
amarok: [EngineController] Tick Interval (actual): 100
amarok: END__: void EngineController::initializePhonon() - Took 0.47s
amarok: END__: EngineController::EngineController() - Took 0.47s
amarok: BEGIN: MainWindow::MainWindow()
amarok: p before: QPoint(0,-30)
amarok: p after: QPoint(0,-30)
amarok: BEGIN: Playlist::Model::Model()
amarok: ServiceBrowser starting...
amarok: BEGIN: ServiceListDelegate::ServiceListDelegate(QTreeView*)
amarok: END__: ServiceListDelegate::ServiceListDelegate(QTreeView*) - Took 9.6e-05s
amarok: BEGIN: void ServicePluginManager::collect()
amarok: [PluginManager] Plugin trader constraint: "[X-KDE-Amarok-framework-version] == 41 and [X-KDE-Amarok-plugintype] == 'service' and [X-KDE-Amarok-rank] > 0"
amarok: Received [ "7" ] collection plugin offers
amarok: [PluginManager] Trying to load: "amarok_service_ampache"
amarok: BEGIN: void CollectionManager::init()
amarok: [PluginManager] Plugin trader constraint: "[X-KDE-Amarok-framework-version] == 41 and [X-KDE-Amarok-plugintype] == 'collection' and [X-KDE-Amarok-rank] > 0"
amarok: [CollectionManager] Received [ "4" ] collection plugin offers
amarok: [PluginManager] Trying to load: "libamarok_collection-mtpcollection"
amarok: [PluginManager]
" " PluginManager Service Info:
" " ---------------------------
" " name : "MTP Collection"
" " library : "libamarok_collection-mtpcollection"
" " desktopEntryPath : "amarok_collection-mtpcollection.desktop"
" " X-KDE-Amarok-plugintype : "collection"
" " X-KDE-Amarok-name : "mtp-collection"
" " X-KDE-Amarok-authors : ("Alejandro Wainzinger")
" " X-KDE-Amarok-rank : "100"
" " X-KDE-Amarok-version : "1" ...

Revision history for this message
3vi1 (launchpad-net-eternaldusk) wrote :

I've got the exact same issue with a completely patched Karmic (5/24). I'm supposing the following are the cause of the two exception windows:

amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&)
amarok: importing qt bindings "qt.core"
amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.0041s
amarok: [ScriptManager] [ERROR!] Script Error: "14:23:46 Error: Unable to import qt.core: no such extension on Line: 24"
amarok: BEGIN: void ScriptManager::slotStopScript(QString)
amarok: no such service to remove

amarok: BEGIN: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&)
amarok: importing qt bindings "qt.core"
amarok: END__: bool AmarokScript::ScriptImporter::loadQtBinding(const QString&) - Took 0.002s
amarok: [ScriptManager] [ERROR!] Script Error: "14:24:58 Error: Unable to import qt.core: no such extension on Line: 26"
amarok: BEGIN: void ScriptManager::slotStopScript(QString)

evil@mars:~$ uname -a
Linux mars 2.6.30-5-generic #6-Ubuntu SMP Mon May 11 20:46:57 UTC 2009 x86_64 GNU/Linux

Changed in amarok (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

I think this was probably fixed in this upload:
amarok (2:2.1mysql5.1.30-0ubuntu2) karmic; urgency=low

  * Debian/control:
    - amarok depends on libqtscript4-qtbindings

 -- Anthony Mercatante < <email address hidden>> Tue, 02 Jun 2009 16:26:41 +0200

Revision history for this message
3vi1 (launchpad-net-eternaldusk) wrote :

I can confirm that it was fixed. Thanks!

Changed in amarok (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Randall Leeds (randall-leeds) wrote :

I'm having this same problem:

Amarok version 2:2.1.1mysql5.1.30-0ubuntu1
libqtscript4-qtbindings version 0.1.0-3

amarok: [ScriptManager] The Log For the script that is the borked: "22:05:12 Script Started!
22:05:12 Error: Unable to import qt.core: no such extension on Line: 14
22:05:12 Script ended!
"
amarok: END__: bool ScriptManager::slotRunScript(QString, bool) - Took 67s
amarok: END__: void ScriptManager::slotConfigChanged(bool) - Took 67s
amarok: END__: void ScriptManager::findScripts() - Took 67s

Revision history for this message
Randall Leeds (randall-leeds) wrote :

This is still a problem on my box and there appear to be at least two bugs.

Amarok 2.1.1orig-0ubuntu4:

1) No longer depends on libqtscript4-qtbindings
2) Even with libqtscript4-qtbindings installed I still cannot load scripts

Running most recent Karmic updates. Changing the status of the bug to reflect this.

Changed in amarok (Ubuntu):
status: Fix Released → New
Revision history for this message
Technowizard (technowizard) wrote :

I still get the the exceptions on each startup and when starting amarok sript console (Amarok 2.2.0-0ubuntu1).

Revision history for this message
Technowizard (technowizard) wrote :

The last updates seem to have solved the problem. I don't get exceptions anymore.

Changed in amarok (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.