[Pkg-kde-extras] Bug#721882: amarok: Scripts unable to loadQtBinding

Robert Keevil rkeevil+debian at gmail.com
Wed Sep 4 23:56:47 UTC 2013


Package: amarok
Version: 2.8.0-1
Severity: normal

Dear Maintainer,

Many of the scripts I have used for some time now fail to work.  Within the
GUI, a small dialog appears when attempting to run them, with a message such
as:

Script error reported by: <script name>
ReferenceError: Can't find variable: <QtComponent>

e.g. for the Random Album script, it cannot find QUrl.

Running Amarok with --debug leads to lines like:

amarok:     BEGIN: bool ScriptManager::slotRunScript(const QString&, bool)
amarok:       BEGIN: void ScriptManager::startScriptEngine(const QString&)
amarok:         [ScriptManager] start script engine: "Amarok Script Console"
amarok:       END__: void ScriptManager::startScriptEngine(const QString&)
[Took: 0s]
amarok:       [WARNING] bool AmarokScript::ScriptImporter::loadQtBinding(const
QString&) Qt Binding "qt.core" not allowed!
amarok:       [WARNING] bool AmarokScript::ScriptImporter::loadQtBinding(const
QString&) Qt Binding "qt.gui" not allowed!
amarok:       [WARNING] bool AmarokScript::ScriptImporter::loadQtBinding(const
QString&) Qt Binding "qt.uitools" not allowed!
amarok:       [ERROR__] [ScriptManager] "Script Error: ReferenceError: Can't
find variable: QMainWindow (line: 64)"
amarok:       BEGIN: void ScriptManager::slotStopScript(const QString&)
amarok:         [ScriptManager] Disabling sccript "Amarok Script Console"
amarok(27033)/kdecore (KPluginInfo) KPluginInfo::save: no KConfigGroup, cannot
save
amarok:         BEGIN: void ScriptManager::scriptFinished(const QString&)
amarok:         END__: void ScriptManager::scriptFinished(const QString&)
[Took: 0s]
amarok:       END__: void ScriptManager::slotStopScript(const QString&) [Took:
0s]
amarok:       [ScriptManager] The Log For the script that is the borked:
("12:03:31 Script started", "Script Error: ReferenceError: Can't find variable:
QMainWindow (line: 64)", "12:03:31 Script ended")
amarok:     END__: bool ScriptManager::slotRunScript(const QString&, bool)
[Took: 0.001s]


Googling leads to:
https://bugs.kde.org/show_bug.cgi?id=280483
http://forum.kde.org/viewtopic.php?f=117&t=96575

which suggest that Amarok might have been compiled without qtscript support?

Thanks

Robert



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'testing'), (500, 'stable'), (99, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages amarok depends on:
ii  amarok-common             2.8.0-1
ii  amarok-utils              2.8.0-1
ii  kde-runtime               4:4.10.5-1
ii  libaio1                   0.3.109-4
ii  libavcodec-extra-54       6:9.8-2+b1
ii  libavformat54             6:9.8-2+b1
ii  libavutil52               6:9.8-2+b1
ii  libc6                     2.17-92+b1
ii  libcurl3-gnutls           7.32.0-1
ii  libgcrypt11               1.5.3-2
ii  libgdk-pixbuf2.0-0        2.28.2-1
ii  libgl1-mesa-glx [libgl1]  9.1.6-2
ii  libglib2.0-0              2.36.4-1
ii  libgpod4                  0.8.2-7
ii  libkcmutils4              4:4.10.5-1
ii  libkdecore5               4:4.10.5-1
ii  libkdeui5                 4:4.10.5-1
ii  libkdewebkit5             4:4.10.5-1
ii  libkdnssd4                4:4.10.5-1
ii  libkfile4                 4:4.10.5-1
ii  libkio5                   4:4.10.5-1
ii  libknewstuff3-4           4:4.10.5-1
ii  liblastfm1                1.0.8-1
ii  libloudmouth1-0           1.4.3-9
ii  libmtp9                   1.1.6-20-g1b9f164-1
ii  libmysqlclient18          5.5.31+dfsg-1
ii  libnepomukcore4           4:4.10.5-1+b1
ii  libofa0                   0.9.3-5
ii  libphonon4                4:4.6.0.0-3
ii  libplasma3                4:4.10.5-1
ii  libqjson0                 0.8.1-2
ii  libqt4-dbus               4:4.8.5+dfsg-4
ii  libqt4-network            4:4.8.5+dfsg-4
ii  libqt4-opengl             4:4.8.5+dfsg-4
ii  libqt4-script             4:4.8.5+dfsg-4
ii  libqt4-sql                4:4.8.5+dfsg-4
ii  libqt4-svg                4:4.8.5+dfsg-4
ii  libqt4-xml                4:4.8.5+dfsg-4
ii  libqtcore4                4:4.8.5+dfsg-4
ii  libqtgui4                 4:4.8.5+dfsg-4
ii  libqtscript4-core         0.2.0-1
ii  libqtscript4-gui          0.2.0-1
ii  libqtscript4-network      0.2.0-1
ii  libqtscript4-sql          0.2.0-1
ii  libqtscript4-uitools      0.2.0-1
ii  libqtscript4-xml          0.2.0-1
ii  libqtwebkit4              2.2.1-6
ii  libsolid4                 4:4.10.5-1
ii  libsoprano4               2.9.2+dfsg.1-4
ii  libstdc++6                4.8.1-9
ii  libthreadweaver4          4:4.10.5-1
ii  libx11-6                  2:1.6.1-1
ii  libxml2                   2.9.1+dfsg1-3
ii  phonon                    4:4.6.0.0-3
ii  zlib1g                    1:1.2.8.dfsg-1

Versions of packages amarok recommends:
pn  clamz                      <none>
ii  kdemultimedia-kio-plugins  4:4.10.5-1

Versions of packages amarok suggests:
pn  amarok-doc         <none>
ii  libqt4-sql-mysql   4:4.8.5+dfsg-4
pn  libqt4-sql-psql    <none>
ii  libqt4-sql-sqlite  4:4.8.5+dfsg-4
pn  moodbar            <none>

Versions of packages amarok-common depends on:
ii  perl  5.18.1-3

amarok-common recommends no packages.

Versions of packages amarok is related to:
ii  phonon-backend-vlc [phonon-backend]  0.6.2-2

-- no debconf information



More information about the pkg-kde-extras mailing list