ERROR: can't start system unit afm-appli-asr--0.1--main@.service for uid 0
Description
Environment
Attachments
relates to
Activity

jose bollo December 14, 2018 at 3:07 PM
I looked at your application. The framework is right to not start your application. But the framework is wrong to deliver a message that can be understood.
When trying to start the application with systemd you get the answer:
The issue is that you require the API asr but that API doesn't exist. That is an information that I had not. I was thinking that the required-api existed, provided by some service.

jose bollo December 14, 2018 at 10:53 AM
jose.bollo AT iot.bzh I don't use RPI3 but I'll check

Wang xiyuan December 14, 2018 at 10:44 AM
Can you leave your email address, I will send it to you by email, we use the Raspberry Pi 3.

jose bollo December 14, 2018 at 9:15 AM
well difficult to diagnose that way. Can you push the wgt to some place from where I can download ? Is it for M3 board?

Wang xiyuan December 14, 2018 at 3:35 AM
I tried to put libBDSpeechSDK.so into the /usr/lib/ directory. Now ldd can see this library, but the same error is still displayed when running the app.
And I tried to name bin/asr as radio, and it can be successfully installed when afm-util run asr@0.1 is executed. Why?
raspberrypi3:/usr/lib# journalctl -f
– Logs begin at Mon 2018-11-12 13:06:37 UTC. –
Nov 12 14:22:41 raspberrypi3 sshd[727]: Accepted none for root from 192.168.191.1 port 52892 ssh2
Nov 12 14:22:41 raspberrypi3 audit[727]: AVC lsm=SMACK fn=smack_key_permission action=denied subject="System" object="_" requested=w pid=727 comm="sshd" key_serial=410795904 key_desc="_uid.0"
Nov 12 14:22:41 raspberrypi3 sshd[727]: pam_unix(sshd:session): session opened for user root by (uid=0)
Nov 12 14:22:41 raspberrypi3 kernel: audit: type=1400 audit(1542032561.089:5): lsm=SMACK fn=smack_key_permission action=denied subject="System" object="_" requested=w pid=727 comm="sshd" key_serial=410795904 key_desc="_uid.0"
Nov 12 14:22:41 raspberrypi3 kernel[254]: [ 4569.310899] audit: type=1400 audit(1542032561.089:5): lsm=SMACK fn=smack_key_permission action=denied subject="System" object="_" requested=w pid=727 comm="sshd" key_serial=410795904 key_desc="_uid.0"
Nov 12 14:22:41 raspberrypi3 systemd-logind[248]: New session c3 of user root.
Nov 12 14:22:41 raspberrypi3 systemd[1]: Started Session c3 of user root.
Nov 12 14:22:41 raspberrypi3 sftp-server[729]: error: Unknown extended request "fs-multiple-roots-supported@vandyke.com"
Nov 12 14:22:41 raspberrypi3 sftp-server[729]: error: Unknown extended request "vendor-id"
Nov 12 14:24:03 raspberrypi3 afm-system-daemon[309]: ERROR: can't start system unit afm-appli-asr--0.1--main@.service for uid 0 /usr/src/debug/af-main/flounder+gitAUTOINC+73bd54bda0-r0/git/src/afm-urun.c:252
Nov 12 14:24:24 raspberrypi3 afm-system-daemon[309]: ERROR: can't start system unit afm-appli-asr--0.1--main@.service for uid 0 /usr/src/debug/af-main/flounder+gitAUTOINC+73bd54bda0-r0/git/src/afm-urun.c:252
Nov 12 14:24:24 raspberrypi3 afbd-launcher@0.1[446]: qml: app cannot be launched!
Details
Details
Assignee

Reporter

The current situation is that we wrote an app demo, but it prompts at runtime.
ERROR: can't start system unit afm-appli-asr--0.1--main@.service for uid 0 /usr/src/debug/af-main/flounder+gitAUTOINC+73bd54bda0-r0/git/src/afm-urun.c:252
I want to know what other dependencies are in addition to the config.xml file when we install the app.
I modified the config.xml file, but the actual installation icon is not displayed according to the icon in the package wgt, but I created an icon with the first letter of the application.
Is there any requirement for the format and size of the icon, can we install two identical icons in the system?