XML-RPC launchProject failing for version 2.2

I have some software which uses the HADDOCK xmlrpc interface to submit and track runs. After switching to the 2.2 server, the function ‘launchproject(user, pass, name, params)’ fails. The error the server returns is ‘<Fault 1: “<type ‘exceptions.AttributeError’>:getvar”>’.

The xmlrpc endpoint: http://haddock.science.uu.nl/cgi/services/HADDOCK2.2/haddockserver-xmlrpc.cgi
My username: vsarpe

The parameter file I’m testing:
https://www.dropbox.com/s/wzphtltnpvu0t7k/testParams.txt?dl=0

This parameter file works perfectly when I try the regular HADDOCK 2.2 web interface.

Could be an issue on both sides… Which local software are you speaking about?

It’s our in-house software which we are developing (Mass Spec Studio at University of Calgary). It’s built using .NET and uses CookComputing XML-RPC library.
To avoid any library specific problems, we can isolate the launchProject function using a short python script. See script:

https://www.dropbox.com/s/dzx1n0q9t83psib/haddock-xmlrpc-launch.py?dl=0

I removed my own user, pass and local path to file. Those would have to be filled in.

I have an update on this: submitting the parameter file via the webserver interface works, but the status is stuck on “Processing”. There might be something wrong with the parameter file itself.

How I generated the parameter file: I used the easy haddock interface to submit a job and downloaded its parameter file. (maybe line endings get scrambled or something?)

The param file for haddock2.2 has indeed changed.

I have an update on this: submitting the parameter file via the webserver interface works, but the status is stuck on “Processing”. There might be something wrong with the parameter file itself.

Give it some time - could be busy.
If still stuck I will try to look into it

Looks like the jobs might be stuck on processing for over a week:

http://haddock.science.uu.nl/serviceresults/HADDOCK2.2/8359372750/msstudio-1/
http://haddock.science.uu.nl/serviceresults/HADDOCK2.2/8359372750/msstudio-12/
http://haddock.science.uu.nl/serviceresults/HADDOCK2.2/8359372750/x4-brct-msstudio-1/

Would it be possible to get a template parameter file which works via the version 2.2 XML-RPC interface?

You can simply submit manually a job, and save the generated HADDOCK parameter file - there is a link to it in the first page returned by the server upon submission.

Indeed, we did that using the E2A-HPr-demo data on the first page. We submitted it via web interface, downloaded the parameter file and tried submitting the unchanged parameter file using the XML-RPC interface. What we observed:

  • Version 2.0 accepts the ‘launchProject’ call and starts a new run, but gets stuck on “Processing”.
  • Version 2.2 rejects the ‘launchProject’ call with the ‘getvar’ error described above.

As a control, version 2.2 manual file upload web interface runs normally.

Hi Vlad

Clearly an issue we need to look at. Will get back to you on that.