On Sat, 26 Sep 2020 at 0:58, Alex Ryan<alexander.j.ryan@xxxxxxxxx> wrote:I'm having difficulty getting the AGL "hello world" apps to run and would like some advice on how to debug.
I'm following the instructions for "AGL Application Framework: A Quick Tutorial"
I followed the instructions precisely to build the AGL 9.0.3 Icefish for raspberry pi 4.
The "afm-util install" commands appear to work ...
raspberrypi4:~# afm-util install /home/0/annex.wgt
{
"added":"webapps-annex@0.0"
}
raspberrypi4:~# afm-util install /home/0/memory-match.wgt
{
"added":"webapps-memory-match@1.1"
}
raspberrypi4:~# afm-util list
[
{
...
{
"description":"Memory match",
"name":"MemoryMatch",
"shortname":"",
"id":"webapps-memory-match@1.1",
"version":"1.1.7",
"author":"Todd Brandt <todd.e.brandt@xxxxxxxxx>",
"author-email":"",
"width":"",
"height":"",
"icon":"/var/local/lib/afm/applications/webapps-memory-match/1.1/icon_128.png",
"http-port":30048
},
...
{
"description":"Reversi/Othello",
"name":"Annex",
"shortname":"",
"id":"webapps-annex@0.0",
"version":"0.0.10",
"author":"Todd Brandt <todd.e.brandt@xxxxxxxxx>",
"author-email":"",
"width":"",
"height":"",
"icon":"/var/local/lib/afm/applications/webapps-annex/0.0/icon_128.png",
"http-port":30047
},
...
but "afm-util start" does not ...
raspberrypi4:~# afm-util start webapps-annex@0.0
null
raspberrypi4:~#
raspberrypi4:~# afm-util start webapps-memory-match@1.1
ERROR: cannot-start
raspberrypi4:~#
I've confirmed that the systemd daemons are running, but I'm not sure how to go about debugging this?
raspberrypi4:/etc/systemd/system# systemctl status afm-system-daemon.service
● afm-system-daemon.service - Application Framework Master, system side
Loaded: loaded (/lib/systemd/system/afm-system-daemon.service; disabled; vendor preset: enabled)
Active: active (running) since Fri 2020-09-18 02:43:47 UTC; 1 weeks 0 days ago
Main PID: 328 (afm-system-daem)
Tasks: 1 (limit: 4197)
Memory: 3.7M
CGroup: /system.slice/afm-system-daemon.service
└─328 afm-system-daemon
Sep 18 02:43:47 raspberrypi4 systemd[1]: Started Application Framework Master, system side.
raspberrypi4:/etc/systemd/system#
raspberrypi4:/etc/systemd/system# systemctl status afm-user-session@1001.service
● afm-user-session@1001.service - Initiate afm-user-session 1001
Loaded: loaded (/lib/systemd/system/multi-user.target.wants/../afm-user-session@.service; static; vendor preset: enabled)
Active: active (running) since Fri 2020-09-18 02:43:48 UTC; 1 weeks 0 days ago
Main PID: 419 (systemctl)
Tasks: 0 (limit: 4197)
Memory: 1.1M
CGroup: /system.slice/system-afm\x2duser\x2dsession.slice/afm-user-session@1001.service
‣ 419 /bin/systemctl --wait start afm-user-session@1001.target
Sep 18 02:43:48 raspberrypi4 systemd[1]: Started Initiate afm-user-session 1001.
Sep 18 02:43:49 raspberrypi4 systemd[419]: pam_unix(afm-user-session:account): account agl-driver has password changed in future
Sep 18 02:43:49 raspberrypi4 systemd[419]: pam_unix(afm-user-session:session): session opened for user agl-driver by (uid=0)
raspberrypi4:/etc/systemd/system#
--Alex Ryan
Links:
You receive all messages sent to this group.
View/Reply Online (#8692) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]