amarok e juk non vanno se faccio doppio clic su un file audio

Ritratto di duns
Forum: 

Ho postato questo problema sul forum internazionale, ma non mi hanno saputo dare risposta. Magari qualcuno qui me la può dare. Non è un problema enorme, daccordo, però è fastidiosamente anormale.
Se apro amarok (o juk) e seleziono un file audio dall'interno di tali programmi, il file viene riprodotto regolarmente.
Se invece faccio doppio clic su un file audio (come dire, dall'esterno di tali programmi) amarok e juk non vanno: compare la loro finestra ma rimane bianca e vanno in crash (devo terminarli brutalmente).
Qualche idea?
Grazie

Ritratto di zafran

Se da shell dai
amarok FILE
che succede?

Ritratto di duns

E' un lungo, mi spiace:
amarok intervallo.1.mp3
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Fading to 1
Transitioning to state "ready"
QWidget::insertAction: Attempt to insert null action
Transitioning to state "ready"
Transitioning to state "ready"
Setting new source
New source: QUrl( "" )
Transitioning to state "ready"
Transitioning to state "ready"
Trying to set an invalid MediaSource -> ignoring.
**********************************************************************************************
** AMAROK WAS STARTED IN NORMAL MODE. IF YOU WANT TO SEE DEBUGGING INFORMATION, PLEASE USE: **
** amarok --debug **
**********************************************************************************************
[duns@localhost musica]$ X Error: BadValue (integer parameter out of range for operation) 2
Major opcode: 53 (X_CreatePixmap)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 14 (X_GetGeometry)
Resource id: 0x6400175
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Extension: 150 (RENDER)
Minor opcode: 4 (RenderCreatePicture)
Resource id: 0x6400175
X Error: RenderBadPicture (invalid Picture parameter) 163
Extension: 150 (RENDER)
Minor opcode: 8 (RenderComposite)
Resource id: 0x6400175
X Error: BadValue (integer parameter out of range for operation) 2
Major opcode: 53 (X_CreatePixmap)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 14 (X_GetGeometry)
Resource id: 0x6400177
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0xb567b9d7
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Extension: 150 (RENDER)
Minor opcode: 4 (RenderCreatePicture)
Resource id: 0x6400177
X Error: RenderBadPicture (invalid Picture parameter) 163
Extension: 150 (RENDER)
Minor opcode: 8 (RenderComposite)
Resource id: 0x6400177
X Error: BadValue (integer parameter out of range for operation) 2
Major opcode: 53 (X_CreatePixmap)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 14 (X_GetGeometry)
Resource id: 0x6400179
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Extension: 150 (RENDER)
Minor opcode: 4 (RenderCreatePicture)
Resource id: 0x6400179
X Error: RenderBadPicture (invalid Picture parameter) 163
Extension: 150 (RENDER)
Minor opcode: 8 (RenderComposite)
Resource id: 0x6400179
X Error: BadValue (integer parameter out of range for operation) 2
Major opcode: 53 (X_CreatePixmap)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 14 (X_GetGeometry)
Resource id: 0x640017b
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0xb567b9d7
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Extension: 150 (RENDER)
Minor opcode: 4 (RenderCreatePicture)
Resource id: 0x640017b
X Error: RenderBadPicture (invalid Picture parameter) 163
Extension: 150 (RENDER)
Minor opcode: 8 (RenderComposite)
Resource id: 0x640017b
X Error: BadValue (integer parameter out of range for operation) 2
Major opcode: 53 (X_CreatePixmap)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 14 (X_GetGeometry)
Resource id: 0x640017d
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Extension: 150 (RENDER)
Minor opcode: 4 (RenderCreatePicture)
Resource id: 0x640017d
X Error: RenderBadPicture (invalid Picture parameter) 163
Extension: 150 (RENDER)
Minor opcode: 8 (RenderComposite)
Resource id: 0x640017d
X Error: BadValue (integer parameter out of range for operation) 2
Major opcode: 53 (X_CreatePixmap)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 14 (X_GetGeometry)
Resource id: 0x640017f
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Extension: 150 (RENDER)
Minor opcode: 4 (RenderCreatePicture)
Resource id: 0x640017f
X Error: RenderBadPicture (invalid Picture parameter) 163
Extension: 150 (RENDER)
Minor opcode: 8 (RenderComposite)
Resource id: 0x640017f
amarok(24431) KSambaSharePrivate::testparmParamValue: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Warning: Service printers defines a print command, but rameter is ignored when using CUPS libraries.
"
Setting new source
New source: QUrl( "" )
Transitioning to state "ready"
Transitioning to state "ready"
Setting new source
New source: QUrl( "file:///mnt/musica/intervallo.1.mp3" )
Transitioning to state "playing"
Duration message
Stream changed to file:///mnt/musica/intervallo.1.mp3
Fading to 0.891251
State change
Stream changed to file:///mnt/musica/intervallo.1.mp3
State change
Moving from "ready" 1 to "paused" 4
Moving from "paused" 4 to "playing" 2
Fading to 0.891251
About to finish
Got next source. Waiting for end of current.
New source: QUrl( "file:///mnt/musica/intervallo.1.mp3" )
Finally got a source

Da notare che stavolta, incredibilmente, è andata bene. E in effetti a ben guardare aspettando un (bel) po' viene fuori giusto (mi spazientivo dovendo aspettare più di 30/40 secondi). Ma sono tempi che non avevo mai visto prima...

Ritratto di zafran

"Finally got a source"
Lo dice anche da sé. Ah ah

Anche a me è successo spesso di avere tempi lunghissimi nell'apertura di amarok.
Non so perché.
Comunque lì sembra che ci sia un bel po' di problemi nella gestione dell'interfaccia e poi: che c'entra samba?

Mah, l'importante comunque è che almeno lanciandolo da CLI alla fine funzioni.

Ritratto di footstep11

Tanto per curiosita': prova a lanciare

amarok --debug

Mauro

Ritratto di duns

footstep11 wrote:
Tanto per curiosita': prova a lanciare

amarok --debug

Mauro


Ne viene fuori una pappardella così lunga che non la potrei copiare e incollare e parte amarok in una modalità un po' strana, insolita.
Ne copio però la parte che riporta degli errori:

amarok: BEGIN: void WikipediaApplet::dataUpdated(const QString&, const Plasma::DataEngine::Data&)
amarok: END__: void WikipediaApplet::dataUpdated(const QString&, const Plasma::DataEngine::Data&) [Took: 0s]
X Error: BadValue (integer parameter out of range for operation) 2
Major opcode: 53 (X_CreatePixmap)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 14 (X_GetGeometry)
Resource id: 0x6e00174
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Extension: 153 (RENDER)
Minor opcode: 4 (RenderCreatePicture)
Resource id: 0x6e00174
X Error: RenderBadPicture (invalid Picture parameter) 174
Extension: 153 (RENDER)
Minor opcode: 8 (RenderComposite)
Resource id: 0x6e00174
X Error: BadValue (integer parameter out of range for operation) 2
Major opcode: 53 (X_CreatePixmap)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 14 (X_GetGeometry)
Resource id: 0x6e00176
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0xb568b9d7
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Extension: 153 (RENDER)
Minor opcode: 4 (RenderCreatePicture)
Resource id: 0x6e00176
X Error: RenderBadPicture (invalid Picture parameter) 174
Extension: 153 (RENDER)
Minor opcode: 8 (RenderComposite)
Resource id: 0x6e00176
X Error: BadValue (integer parameter out of range for operation) 2
Major opcode: 53 (X_CreatePixmap)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 14 (X_GetGeometry)
Resource id: 0x6e00178
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Extension: 153 (RENDER)
Minor opcode: 4 (RenderCreatePicture)
Resource id: 0x6e00178
X Error: RenderBadPicture (invalid Picture parameter) 174
Extension: 153 (RENDER)
Minor opcode: 8 (RenderComposite)
Resource id: 0x6e00178
X Error: BadValue (integer parameter out of range for operation) 2
Major opcode: 53 (X_CreatePixmap)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 14 (X_GetGeometry)
Resource id: 0x6e0017a
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0xb568b9d7
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Extension: 153 (RENDER)
Minor opcode: 4 (RenderCreatePicture)
Resource id: 0x6e0017a
X Error: RenderBadPicture (invalid Picture parameter) 174
Extension: 153 (RENDER)
Minor opcode: 8 (RenderComposite)
Resource id: 0x6e0017a
X Error: BadValue (integer parameter out of range for operation) 2
Major opcode: 53 (X_CreatePixmap)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 14 (X_GetGeometry)
Resource id: 0x6e0017c
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Extension: 153 (RENDER)
Minor opcode: 4 (RenderCreatePicture)
Resource id: 0x6e0017c
X Error: RenderBadPicture (invalid Picture parameter) 174
Extension: 153 (RENDER)
Minor opcode: 8 (RenderComposite)
Resource id: 0x6e0017c
X Error: BadValue (integer parameter out of range for operation) 2
Major opcode: 53 (X_CreatePixmap)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Major opcode: 14 (X_GetGeometry)
Resource id: 0x6e0017e
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0x0
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
Extension: 153 (RENDER)
Minor opcode: 4 (RenderCreatePicture)
Resource id: 0x6e0017e
X Error: RenderBadPicture (invalid Picture parameter) 174
Extension: 153 (RENDER)
Minor opcode: 8 (RenderComposite)
Resource id: 0x6e0017e
amarok: BEGIN: Playlists::PlaylistFilePtr Playlists::loadPlaylistFile(const KUrl&)
amarok: END__: Playlists::PlaylistFilePtr Playlists::loadPlaylistFile(const KUrl&) [Took: 0s]

Grazie
Duns

Ritratto di footstep11

Sto andando un po' a naso: hai pulseaudio abilitato? Prova a disabilitarlo (devi fare reboot... in realta' basterebbe uscire di sessione, ma un sano reboot non fa mai male...)

Mauro