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

afm-util fails to install HTML app

XMLWordPrintable

      afm-util install  low-can-demo.wgt

      fails with following journal entries

      Jul 24 19:51:56 m3ulcb afm-system-daemon[3465]:  ERROR: can't get info on content index.html: No such file or directory [/usr/src/debug/af-main/dab+gitAUTOINC+d06b
      Jul 24 19:51:55 m3ulcb afm-system-daemon[3465]:  NOTICE: – INSTALLING widget /home/root/low-can-demo.wgt to /var/local/lib/afm/applications – [/usr/src/debug/af-

      root@m3ulcb:~# cat /var/local/lib/afm/applications/low-can-demo/0.9/config.xml
      <?xml version="1.0" encoding="UTF-8"?>
      <widget xmlns="http://www.w3.org/ns/widgets" id="low-can-demo" version="0.9">
          <name>low-can-demo</name>
          <icon src="icon.png"/>
          <content src="htdocs/index.html" type="text/html"/>
          <description>HTML5 Low level CAN service UI for demo</description>
          <author>Forlot Romain <romain.forlot@iot.bzh></author>
          <license>APL2.0</license>
          <feature name="urn:AGL:widget:required-api">
              <param name="#target" value="main" />
              <param name="low-can" value="auto" />
          </feature>
          <feature name="urn:AGL:widget:provided-unit">
              <param name="#target" value="stat" />
              <param name="description" value="CPU stat binding used in HTML5 UI" />
              <param name="content.src" value="lib/afb-stat.so" />
              <param name="content.type" value="application/vnd.agl.service" />
          </feature>
          <feature name="urn:AGL:widget:provided-api">
              <param name="#target" value="main" />
              <param name="stat" value="ws" />
          </feature>
      </widget>

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

            jobol Jose Bollo (Inactive)
            hitendran Hitendra Nishar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: