Blog - Unity Behind Diversity

Searching for beauty in the dissonance

Solution: Amarok Won’t Play Anything After An Upgrade To Ubuntu 9.04

I was happy to discover earlier today that Ubuntu 9.04 includes Amarok 2. But once I figured out how to queue up some music (which took a little time), I realized that nothing would play.

This was the standard output when I ran it from the command line:
balleyne@balleyne-laptop:~$ amarok
amarok(14270) Phonon::KdePlatformPlugin::createBackend: using backend: "GStreamer"
Object::connect: No such slot MainWindow::showStatistics() in /build/buildd/amarok-2.0.2mysql5.1.30/amarok-2.0.2/src/MainWindow.cpp:692
Object::connect: (receiver name: 'MainWindow')
QLayout: Attempting to add QLayout "" to MainWindow "MainWindow", which already has a layout
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
QWidget::insertAction: Attempt to insert null action
amarok(14270) Plasma::Applet::save: saving to "1"
amarok(14270) Context::ContextView::setContainment: "" Line: 599
amarok(14270) Plasma::ThemePrivate::config: using theme for app "amarok"
amarok(14270) Plasma::Applet::save: saving to "2"
amarok(14270) Plasma::Applet::save: saving to "3"
amarok(14270) Plasma::Applet::save: saving to "4"
amarok(14270) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated
amarok(14270) Context::ColumnContainment::insertInGrid: "" Line: 603
amarok(14270) Context::ColumnContainment::insertInGrid: "" Line: 603
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
Object::connect: No such slot FileBrowser::Widget::setDir( const QString& ) in /build/buildd/amarok-2.0.2mysql5.1.30/amarok-2.0.2/src/browsers/filebrowser/FileBrowser.cpp:112
Object::connect: (sender name: 'KBookmarkHandler')
Object::connect: (receiver name: 'FileBrowser::Widget')
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
link XMLID_7_ hasn't been detected!
link XMLID_7_ hasn't been detected!
Couldn't resolve property: radialGradient3986
balleyne@balleyne-laptop:~$ amarok(14270) MagnatuneConfig::load: load
QPainter::begin: Cannot paint on a null pixmap
QPainter::begin: Cannot paint on a null pixmap
QPainter::begin: Cannot paint on a null pixmap
QPainter::begin: Cannot paint on a null pixmap
QPainter::begin: Cannot paint on a null pixmap
amarok(14270) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated
amarok(14270) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated
amarok(14270) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated
amarok(14270) CoverFetcher::CoverFetcher: ""
amarok(14270) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated
QString::arg: Argument missing: Amarok - No track playing., 0:00
QString::arg: Argument missing: Amarok - No track playing., 0:00
QString::arg: Argument missing: Amarok - No track playing., 0:00
QString::arg: Argument missing: Amarok - No track playing., 0:00
QString::arg: Argument missing: Amarok - No track playing., 0:00
QString::arg: Argument missing: Amarok - No track playing., 0:00
QString::arg: Argument missing: Amarok - No track playing., 0:00
QString::arg: Argument missing: Amarok - No track playing., 0:00
QString::arg: Argument missing: Amarok - No track playing., 0:00
amarok(14270) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated
amarok(14270) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated
amarok(14270) Context::ContextView::clear: "" Line: 165
amarok(14270) Context::ContextView::clear: "" Line: 165
amarok(14270) Context::ContextView::clear: "" Line: 165
amarok(14270) Context::ContextView::clear: "" Line: 165
amarok(14270) CoverFetcher::~CoverFetcher: ""

The “QString::arg: Argument missing: Amarok – No track playing., 0:00” seemed to be the problem. I found the solution from Xavier Merino:

sudo apt-get install phonon-backend-xine

I restarted Amarok and now it works fine.

Update: People are reporting mixed results in the comments. This fix doesn’t work for everyone. Let me know if you become aware of a better solution and I’ll update here.

Another suggestion is sudo apt-get install libxine1-ffmpeg

Creative Commons Attribution-ShareAlike 4.0 International Permalink | RSS (comments) | Post a comment

19 Responses to “Solution: Amarok Won’t Play Anything After An Upgrade To Ubuntu 9.04”

  1. someone says:

    I’m sorry to say this fix did not work for me. apt indicated that the package you listed was already the current version. I tried –reinstall and still has the problem.

  2. hmm… are you getting the same errors in your Amarok output? What about apt-get purge and apt-get install?

  3. andrewg says:

    dude thx man I’ve been trying to figure that out for like a week now and it finally occured to me to run through terminal to see was was going on. But anyway, that worked for me thanks again buddy.

  4. manny says:

    thanks man. worked 4 me

  5. FeelsSoNew says:

    I purged phonon and reinstalled. It told me I had to reinstall amarok as well. Nothing changed

  6. Andrew says:

    I tried the above fix, but it didn’t work for me. Amarok will not work at all in Ubuntu 9.04. I am frustrated. Anyone out there have the solution for this? Thanks in advance.

  7. David says:

    I’m having a similar problem in xubuntu 9.04. Amarok starts up and runs fine, but wont play anything. I get the following errors in the terminal:

    QString::arg: Argument missing: Amarok – No track playing., 0:00
    amarok(15180) CurrentTrack::dataUpdated: CurrentTrack::dataUpdated

    I did the apt-get for phonon-backend-xine and found I’m already running the latest version.

    I’m all out of ideas… any advise would be great!

  8. hmmm… a quick Google search came up with another suggested missing package. For those who have phonon-backend-xine and still have the problem, what about `sudo apt-get install libxine1-ffmpeg`?

  9. Gautam says:

    Thanks Blaise… It worked now…

  10. David says:

    Same here, installing libxine1-ffmpeg fixed my problem. I wonder why this package wasn’t included when I installed Amarok?

  11. RoucoVarela says:

    I have followed all those suggested steps and I still have the same problem 🙁

  12. nandelbosc says:

    Works great for me!

    Thank’s!

  13. The_Blode says:

    This worked like a charm for me too.

  14. wolfric says:

    Worked for me, I’m running Windows XP with andLinux (KDE version Jaunty based).

    Yay! amarok at work!

  15. ioggstream says:

    with ffmpg works, thx!

  16. Mauri_X says:

    Hi guy !
    The second suggestion worked fine for me on Ubuntu 9.04
    Thank you so much and ..a big Ciao from Italy !

  17. LongFeltWant says:

    Hello. I was having this problem using Jolicloud (alpha), which is an Ubuntu variant. I first tried to apt-get install phonon-backend-xine, and that didn’t work, but then I tried apt-get install libxine1-ffmpeg and that worked: I quit amarok and restarted it, and now the music plays. Many thanks.

  18. taggleflange@yahoo.co.uk says:

    Same issue of of no music output from amarok.9.01 Ubuntu
    uninstalled “sudo apt-get purge amarok
    re installed “sudo apt-get install amarok
    now it plays………..go figure!

  19. MLM says:

    Yeah tried the phonon bit but was already installed.
    ffmpeg worked fine

Leave a Reply