Hi again,

Sorry to send so much messages !

I captured tcp traffic between Esperanza and xmms2, and between my client to compare.

And now the error is "Client 'Esperanza' with bad protocol version (24, not 18) connected" (where Esperanza is actually my client".

(Plus the server seems to expect 32 bit integers, not 64, and lists without sub type.)

Weird since it says it has the same version as the good working server in the other machine : 0.8 DrO_o.

The only solution for me would be to build xmms2 from source but it seems out of my knowledge to do that.

Is it possible to use a different protocol version with this xmms2 version ?

Thank you.


Le 08/07/2017 à 17:21, niahoo osef a écrit :
Still trying to find out. I launched the daemon in a console and it seems to receive 0 arguments :

log output:
/build/xmms2-_lng8w/xmms2-0.8+dfsg/_build_/src/xmms/main_ipc.c:9: Wrong number of arguments to hello (0)

Still, my message seems fine, I have a payload which is a list with the two arguments :

00 00 00 01  00 00 00 20  00 00 00 01  00 00 00 2B
00 00 00 06  00 00 00 00  00 00 00 02  00 00 00 02
00 00 00 00  00 00 00 18  00 00 00 03  00 00 00 0B
65 78 6D 6D  73 32 5F 63  6F 6E 6E

Any idea ?

Thank you


Le 08/07/2017 à 00:20, niahoo osef a écrit :
Well the message seems ok, and it works two with another server :

00:11:02.668 [debug] Outgoing IPC message
00 00 00 01  00 00 00 20  00 00 00 01  00 00 00 2B
00 00 00 06  00 00 00 00  00 00 00 02  00 00 00 02
00 00 00 00  00 00 00 18  00 00 00 03  00 00 00 0B
65 78 6D 6D  73 32 5F 63  6F 6E 6E

« If you indeed pass those two arguments, and they're rejected, then you
probably have to dig into the server and see how it's being received. »

I have no clue how to achieve that.

I tried the esperanza package client and it works.


Le 07/07/2017 à 23:23, Daniel Svensson a écrit :
On Fri, Jul 7, 2017 at 5:01 PM, niahoo osef <ludo...@laposte.net> wrote:
Now that I want to test with actual music, I just installed xmms2 on my xubuntu laptop (a mere apt install xmms2) but I have the following error :
Wrong number of arguments to hello.

How could I check the IPC protocol version that is installed on my laptop ?
The number of arguments have been the same since 2010. Your client
passes the IPC protocol version it supports to the server via the
HELLO command. The server may reject it.

This is what the HELLO message is supposed to look like:
https://github.com/xmms2/xmms2-devel/blob/master/src/ipc.xml#L150

If you indeed pass those two arguments, and they're rejected, then you
probably have to dig into the server and see how it's being received.




--
_______________________________________________
Xmms2-devel mailing list
Xmms2-devel@lists.xmms2.org
https://lists.xmms2.org/cgi-bin/mailman/listinfo/xmms2-devel


--
_______________________________________________
Xmms2-devel mailing list
Xmms2-devel@lists.xmms2.org
https://lists.xmms2.org/cgi-bin/mailman/listinfo/xmms2-devel

Reply via email to