Hello,
I have seen other people asked the similar questions but their solutions didn’t apply for me or I couldn’t find the right solution for me.
I have built MyDaemon example and opened the simulator by using the command “sudo ./start-ursim.sh” and it always says “My Daemon Failed” in the installation node. I checked the directory of the python script repeatedly (in daemonService and in the .zip file), it seems OK. I have to say that I haven’t changed the code one bit.
When I run the Python script in the terminal, the program works but it still says “My Daemon Failed”. I believe intallationNode doesn’t execute Python script.
Could you please share your suggestions on how to solve this issue?
Thank you
Hello,
I have removed the URCap from URSim and built it again.
This time Daemon worked but after that I closed the URSim and made some changes to the Python script and then rebuilt the URCap and this time it says “server connection refused” on the terminal.
Clearly, it can not create the server after closing and re-opening thr URSim.
Does anyone know why it behaves like this.
Thank you
Hello,
I found the issue. My Python script had mistakes after I changed it therefore the server never started.
Secondly, when you re-build the URCap, the changes apply to the URCap but not to the Python script of the URCap.
You either have to delete URCap from URSim and re-built the URCap again or you have to change the Python script in /home/ur/ursim/ursim-5.9.1.1031110/GUI/felix-cache/bundle
Thank you