Hello,
should XML-RPC work under EigenD 2.0 as before?
Does the functionality need to be enabled somehow, or should it just be possible to connect to http://localhost:55553 ?
written by: Bjoern
Hi Geert,Hello,
should XML-RPC work under EigenD 2.0 as before?
Does the functionality need to be enabled somehow, or should it just be possible to connect to http://localhost:55553 ?
I am developing a program that when a chord is played through a MIDI port it will set up a Pico to play the chord and harmonics. Hopefully 2.0 won't cause any problems.
Kmapper is the thing to watch out for, I think 2.0 will make it easier to set up key layouts.
I've just done some testing, and my scripts do work with 1.4.12-stable, but not with 2.0.48-experimental.
Is the XML-RPC functionality not yet finished in 2.0 ? Or maybe I am not looking at the right port, and I can't recall whether it's possible to set the port somewhere.
See also here.
Thanks!
Can you provide more information? What do your scripts do? What doesn't work? You need to have an Interpreter agent to activate the XML-RPC interface. Maybe you don't have one in your custom EigenD setup or are you using the factory setup?
Have you launched Stage and does that work? It uses the same XML-RPC interface.
Hi Geert,
I am using the pico factory setup in 2.0 (latest experimental)
I am trying this (which worked in 1.4):
import xmlrpclib
import sys
s=xmlrpclib.Server('http://localhost:55553')
s.execBelcanto( "..."):
Hi Bjoern,
If Stage is able to connect to EigenD, everything is OK on the EigenD XML/RPC front. It uses port 55553 and is able to get all the date to and from it. I just did a quick test and the Python you posted works just fine with 2.0.48.
Maybe something is different in your networking setup at the moment that prevent a Python script to connect?
Take care,
Geert
Hi Geert,
thanks for the message! I've tried both 2 and 1.4 side by side:
In 2.0.48-experimental Stage connects to EigenD as normal, i.e. I can control the pico settings from Stage. However, the above code doesn't work for me. (I am using the pico factor setup.)
In 1.4, Stage works, and the above code works.
When I browse to localhost:55553, I get
Error response
Error code 501.
Message: Unsupported method ('GET').
Error code explanation: 501 = Server does not support this operation.
Hi Bjoern,
This actually means that the XML/RPC server only responds to POST HTTP requests, which is what it's supposed to do. XML/RPC isn't supposed to respond to GET requests, if it used to, that was a bug :-)
You should use a proper XML/RPC client or construct valid HTTP POST requests to communicate with the backend.
If you really want to check if a server is responding on a port, you can use telnet. However, since Stage works, you can be sure that it does.
telnet 127.0.0.1 55553
Hi Bjoern,
Everything should be documented in the release notes. There are several sections though, the changes and improvements are at the end of the document, while the bug fixes are at the beginning.
Best regards,
Geert
Ah! OK - yes, the server is definitely working! THANKS!
I tried my belcanto commands through the commander, and they don't work either! So the issue is with the belcanto!
I have some scripts that start:
empty join
kgroup 1 listen
empty join
keygroup 1 listen
Hi Geert,
many thanks!
I've started a new thread here.
Thanks,
Bjoern
Please log in to join the discussions