iotbzh / DEPRECATED_app-framework-templates

DEPRECATED. Please use official version on https://git.automotivelinux.org/src/cmake-apps-module/
8 stars 3 forks source link

Error org.freedesktop.DBus.Error.Failed: "can't start" #2

Open SiranWang1102 opened 5 years ago

SiranWang1102 commented 5 years ago

I successfully installed qml.wgt, but the following error occurred at runtime.

root@qemux86-64:~/AGL-wgt# afm-util start xxxxxx-hybrid-qml@0.1 Error org.freedesktop.DBus.Error.Failed: "can't start"

What caused it?

SiranWang1102 commented 5 years ago

Should I install the service before installing wgt, can you explain the relationship between the two, thank you.

And when I install the service, the system prompts error: Nov 14 17:36:21 qemux86-64 afm-system-daemon[237]: ERROR: content lib isn't a regular file [/usr/src/debug/af-main/eel+gitAUTOINC+d68c224367-r0/git/src/wgtpkg-install

jobol commented 5 years ago

The types of applications application/vnd.agl.qml.hybrid and "application/vnd.agl.html.hybrid are not supported by EEL.

The examples here are deprecated.

You should better try one of those:

But I'm not expert of our examples.

SiranWang1102 commented 5 years ago

thank you for your reply~ I tried to install the first and third, but did not see the display of the interface except the icon on the target system. I want an example that can support qt and can see the interface. Can you provide an example that can be referenced?

jobol commented 5 years ago

The simplest I'm aware of is https://git.automotivelinux.org/apps/mixer/

You also can check apps of https://git.automotivelinux.org/

Mostly up-to-date!

SiranWang1102 commented 5 years ago

I downloaded the latest hvac source code, but when I want to run, the system prompts the same error.

root@qemux86-64:~/AGL-wgt# afm-util run hvac@0.1 Error org.freedesktop.DBus.Error.Failed: "can't start"

Nov 15 14:49:08 qemux86-64 afm-user-daemon[353]: ERROR: can't start user unit afm-appli-hvac@0.1.service [/usr/src/debug/af-main/eel+gitAUTOINC+d68c224367-r0/git/src/

This will have something to do with /etc/afm/afm-unit.conf. What configuration do I need to modify?

jobol commented 5 years ago

IIRC you are using EEL. I'm not sure that the master version of HVAC fits EEL requirements. But it is probably something different that you encounter here.

The best place for discussing about it is the mailing list of AGL [1] and its feature/bug tracking system [2]. See [3] for other places of importance.

It is important for us to get visible feedbacks.

[1] https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions [2] https://jira.automotivelinux.org [3] https://wiki.automotivelinux.org/start/getting-started

SiranWang1102 commented 5 years ago

alright, thank you very much. I have submitted a bug and look forward to your reply.

https://jira.automotivelinux.org/browse/SPEC-1946