Troubleshooting

Admin socket already exists

If you can't run yggdrasil with this error:

Admin socket /var/run/yggdrasil.sock already exists and is in use by another process

Try to remove file yggdrasil.sock and run it again:

sudo rm /var/run/yggdrasil.sock

Can't get lease

If you can't get lease with this error:

Generic exception during check-in:
No lease for resource "body"
    (resuming check-in)

Or this error:

Generic exception during check-in:
bosdyn.api.RetainLeaseResponse (LeaseUseError): 
    (resuming check-in)

You need to acquire lease (if you have already done it, try again):

lease = lease_client.acquire()
← Lesson 5. Robot service. Camera calibration and "Spot check" Robonomics-js →