Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-2943

Can't install neither agl-service-helloworld nor native application

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • None
    • Guppy 7.0.4
    • App Framework
    • Image = agl-demo-platform-crosssdk-qemux86-64.wic.vmdk
      SDK = Guppy 7.0.4.
    • QEMU x86_64

      Hi there, AGL community.

      Please help me to understand reason behind errors I get when I'm trying to install helloworld native application and service and how to solve this error.

      What I've done so far

      I've built hello-world native application widget, copied it via scp to my target qemu machine and successfully installed it using

       qemux86-64:~# afm-util install helloworld-native-application.wgt
      

       

      This comment gave following result:

      Unknown macro: { h6.  "added"}

       

      But when I've tried to run installed application using

      qemux86-64:~# afm-util start helloworld-native-application@0.1-f347611-dirty

      I got the following error:

      ERROR: not-found

       

      What does this error mean?

      My guess was that I need to run matching hello-world service (please correct me if my assumption is wrong) which I also have build and copied via ssh to my target but when I tried to install service widget with 

      qemux86-64:~# afm-util install agl-service-helloworld.wg 

      I got this error:

      ERROR: failed installation failed: File exists

       

      journalctl -f gives following output:

      qemux86-64:~# journalctl -f
      – Logs begin at Sun 2019-11-10 13:15:17 UTC. –{{ Nov 10 16:03:32 qemux86-64 afm-system-daemon[381]: NOTICE: – UNINSTALLING widget of id helloworld-native-application@0.1-f347611-dirty from /var/local/lib/afm/applications – [/usr/src/debug/af-main/guppy+gitAUTOINC+598f374d29-r0/git/src/wgtpkg-uninstall.c:47]}}
       {{ Nov 10 16:03:32 qemux86-64 afm-system-daemon[381]: ERROR: can't read widget config in directory '/var/local/lib/afm/applications/helloworld-native-application/0.1-f347611-dirty': No such file or directory [/usr/src/debug/af-main/guppy+gitAUTOINC+598f374d29-r0/git/src/wgtpkg-uninstall.c:70]}}
       {{ Nov 10 16:04:10 qemux86-64 afm-system-daemon[381]: NOTICE: – UNINSTALLING widget of id helloworld-native-application@0.1-fe47611-dirty from /var/local/lib/afm/applications – [/usr/src/debug/af-main/guppy+gitAUTOINC+598f374d29-r0/git/src/wgtpkg-uninstall.c:47]}}
       {{ Nov 10 16:04:21 qemux86-64 afm-system-daemon[381]: NOTICE: – INSTALLING widget /home/0/helloworld-native-application.wgt to /var/local/lib/afm/applications – [/usr/src/debug/af-main/guppy+gitAUTOINC+598f374d29-r0/git/src/wgtpkg-install.c:547]}}
       {{ Nov 10 16:04:21 qemux86-64 systemd[1]: Reloading.}}
       {{ Nov 10 16:04:21 qemux86-64 systemd[1]: Stopped target Sockets.}}
       {{ Nov 10 16:04:21 qemux86-64 systemd[1]: Stopping Sockets.}}
       {{ Nov 10 16:04:21 qemux86-64 systemd[1]: Reached target Sockets.}}
       {{ Nov 10 16:04:31 qemux86-64 afm-system-daemon[381]: NOTICE: – INSTALLING widget /home/0/agl-service-helloworld.wgt to /var/local/lib/afm/applications – [/usr/src/debug/af-main/guppy+gitAUTOINC+598f374d29-r0/git/src/wgtpkg-install.c:547]}}
       {{ Nov 10 16:04:31 qemux86-64 afm-system-daemon[381]: ERROR: Can't connect to file /home/0/agl-service-helloworld.wgt [/usr/src/debug/af-main/guppy+gitAUTOINC+598f374d29-r0/git/src/wgtpkg-zip.c:125]}}
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jobol-iot jose bollo
            ktv6 Tigran Karapetyan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: