-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to start App Executable in Choregraphe #3
Comments
Hi Frederik, you probably want to check out your project's manifest.xml. There should be some tags in there, you need to make sure that:
you can also try ssh'ing onto your robot and running the script manually with python path/to/your/script.py, see if that works fine or crashes. |
Hi Emile, ^_^ Before about 1.5 months, as I used the name of the folder name in output folder "localizaiton" as "executable_id" and "main" as "Executable Name" parameter, the app worked fine in Choregraphe. By the way, with the purpose of debugging and improving the code more conviniently, I have changed the IP address of line 61 of runner.py (The first line of folloing code ) from "None "directly to the IP address of my robot "10.0.0.xx". And it worked standalone very well running through PyCharm in the last couple of weeks.
Best regards, |
|
|
".lastUploadedChoregrapheBehavior" is the name given to your package when you hit "play" in Choregraphe. That means that if you install it on the robot and run it with the "play" button, your package is installed twice on the robot. I recommend you delete the .lastUploadedChoregrapheBehavior, and only use the "install" function. It might be the one causing some of your problems (because it probably also has a service called "main", with an older version of the code, so maybe that one is getting started instead of of your new one). The "executable" is the ID given to a service in manifest.xml, you just have to make sure that it's the same name as the parameter of the "run executable" box in Choregraphe; by default it's "main", but you could name it "my-navigation-helper" etc. to make sure it doesn't conflict with other packages (it might conflict anyway with .lastUploadedChoregrapheBehavior, so delete that one ...) note that you can also do things like qicli call ALServiceManager.startService my-navigation-helper and see if that works (it should have about the same effect as running your behavior) |
After reading another related project on GitHub: qi-package-services, there is still one question unclear: |
Hi There,
These days I have been confused by the error related to “” and "Failed to start App Executable in Choregraphe" in Choregraphe. And I am also not 100% clear about what we should put in as the execute_id & name. The app does not work anymore --- the robot does not move as expected.
The whole debugging message is:
[INFO ] .box :onLoad:10 _Behavior__lastUploadedChoregrapheBehavior136558984:/Localization_19: Warning: You will have conflicts if several packages have executables called 'main_localization' [INFO ] behavior.box :onLoad:11 _Behavior__lastUploadedChoregrapheBehavior136558984:/Localization_19: Use a newer version of NAOqi to have executables prefixed with the package ID, or prefix it yourself, in the form with <package>.<executable ID> [INFO ] behavior.box :onInput_onStart:27 _Behavior__lastUploadedChoregrapheBehavior136558984:/Localization_19: self.packageUid()=.lastUploadedChoregrapheBehavior [INFO ] behavior.box :onInput_onStart:28 _Behavior__lastUploadedChoregrapheBehavior136558984:/Localization_19: self.executable_id=localization [INFO ] behavior.box :onInput_onStart:30 _Behavior__lastUploadedChoregrapheBehavior136558984:/Localization_19: The behavior path is=/home/nao/.local/share/PackageManager/apps/.lastUploadedChoregrapheBehavior/. [INFO ] behavior.box :onInput_onStart:31 _Behavior__lastUploadedChoregrapheBehavior136558984:/Localization_19: self.onExecutableStopped =<bound method _44f299e2177739acf609cdbdc86d599c.onExecutableStopped of <__main__._44f299e2177739acf609cdbdc86d599c; proxy of <Swig Object of type 'AL::behavior *' at 0x4b07d098> >> [INFO ] behavior.box :onInput_onStart:33 _Behavior__lastUploadedChoregrapheBehavior136558984:/Localization_19: self.executable_manager.startService =<Boost.Python.function object at 0x3b3becb8> [INFO ] behavior.box :onInput_onStart:34 _Behavior__lastUploadedChoregrapheBehavior136558984:/Localization_19: Failed to start App Executable ''localization'', stopping.
And here is the Code in Choregraphe “Localization” which was generated from this project:
I am looking forward to hearing from you.@EmileKroeger @Halftasoeur @claire-rivoire
Cheers,
Frederik
The text was updated successfully, but these errors were encountered: