Error in when calli...
Clear all

[Solved] Error in when calling set_direction() or set_speed_reference()

Forum 1
Trusted Member
Joined: 5 months ago
Posts: 63
Topic starter  


I am still working on my application including a linear actuator. In short, I want to move the linear actuator outwards or inwards based on a sensor input. This I am doing in a loop where I am regularly updating the speed and direction based on the new sensor data.

The problem is that the program sometimes freezes and this always happens with an error message down to the SOLO. I encountered the following error now a few times:

^CTraceback (most recent call last):
File "", line 222, in <module>
File "", line 207, in tilt_back
__solo_driver.set_direction(1) # direction
File "/home/pi/.local/lib/python3.7/site-packages/SoloPy/", line 182, in set_direction
return self.__exec_cmd(cmd)
File "/home/pi/.local/lib/python3.7/site-packages/SoloPy/", line 25, in __exec_cmd
while ser.in_waiting:
File "/usr/lib/python3/dist-packages/serial/", line 467, in in_waiting
s = fcntl.ioctl(self.fd, TIOCINQ, TIOCM_zero_str)

Sometimes this error happens on __solo_driver.set_speed_reference() and it seems to me that there is a problem in reading or writing to the device.

I am glad for any help.

Kind regards,


SOLO Team liked
Chief Member Moderator
Joined: 2 years ago
Posts: 395

Hi @unolittlebird,

This problem is now being shared with the software team, they are working on it, they will get in touch with you here once they have some notes or solutions.



If you found the answers helpful and you could solve your problems, please kindly verify here to help others in the future.