Cant test with latest master, wrong version of hardware objects ?
Created by: marcus-oscarsson
Dear all,
I tried to test my latest development against the latest master but I cant seem to get it to work. I thought that it might be because of incompatible versions of hardware objects. So i started to look into it !
I have been using hardware objects 2.2 because it was as I understood it what you are using ?. There are two commits from you guys on the master branch more recent than 2.2. So I tried to use master instead but it did not change anything. I even tried to cherry-pick your commits from master into 2.2, with no success. So which version of hardware objects are you using ? Maybe having the right one will resolve the problems I'm experiencing. Or its perhaps some configuration that I'm unaware of ?
So here is what I get using latest master of mxcube3 and hardware objects 2.2.
I cant center and I get the following message:
Error: Server refused to add point
A centered positions is sometimes added when I've tried to center and then refresh the page. Saving the position takes ages but works, if you have some patience :). Then adding a task is not possible because server refused to add to the queue, giving me:
File "/home/oscarsso/projects/mxcube/mxcube3/mxcube3/routes/Queue.py", line 722, in add_method
return add_data_collection(node_id)
File "/home/oscarsso/projects/mxcube/mxcube3/mxcube3/routes/Queue.py", line 675, in add_data_collection
col_node.acquisitions[0].acquisition_parameters.centred_position = qmo.CentredPosition(cpos['motorPositions'])
KeyError: 'motorPositions'
I started to debug it a bit but it seems like I'm either missing some commits or not having the right version of something so I prefer to ask you before i dig any deeper :).
Thanks, Marcus