~ $ youker-assistant
"/usr/bin"
static bool QDeclarativeMetaType::isModule(const QByteArray&, int, int) Qt 4.7 import detected; please note that Qt 4.7 is directly reusable as QtQuick 1.x with no code changes. Continuing, but startup time will be slower.
file:///usr/share/youker-assistant/qml/func/settings/WidgetTheme.qml:78:18: QML Image: Cannot open: file:///usr/share/youker-assistant/qml/img/skin/Adwaita.png
file:///usr/share/youker-assistant/qml/func/WeatherForecast.qml:371:25: QML Image: Cannot open: file:///usr/share/youker-assistant/qml/img/weather/n.gif
file:///usr/share/youker-assistant/qml/func/WeatherForecast.qml:375:25: QML Image: Cannot open: file:///usr/share/youker-assistant/qml/img/weather/d.gif
file:///usr/share/youker-assistant/qml/func/WeatherForecast.qml:406:25: QML Image: Cannot open: file:///usr/share/youker-assistant/qml/img/weather/n.gif
file:///usr/share/youker-assistant/qml/func/WeatherForecast.qml:410:25: QML Image: Cannot open: file:///usr/share/youker-assistant/qml/img/weather/d.gif
file:///usr/share/youker-assistant/qml/func/WeatherForecast.qml:441:25: QML Image: Cannot open: file:///usr/share/youker-assistant/qml/img/weather/n.gif
file:///usr/share/youker-assistant/qml/func/WeatherForecast.qml:445:25: QML Image: Cannot open: file:///usr/share/youker-assistant/qml/img/weather/d.gif
file:///usr/share/youker-assistant/qml/func/WeatherForecast.qml:479:25: QML Image: Cannot open: file:///usr/share/youker-assistant/qml/img/weather/n.gif
file:///usr/share/youker-assistant/qml/func/WeatherForecast.qml:483:25: QML Image: Cannot open: file:///usr/share/youker-assistant/qml/img/weather/d.gif
file:///usr/share/youker-assistant/qml/func/WeatherForecast.qml:514:25: QML Image: Cannot open: file:///usr/share/youker-assistant/qml/img/weather/n.gif
file:///usr/share/youker-assistant/qml/func/WeatherForecast.qml:518:25: QML Image: Cannot open: file:///usr/share/youker-assistant/qml/img/weather/d.gif
file:///usr/share/youker-assistant/qml/func/WeatherForecast.qml:550:25: QML Image: Cannot open: file:///usr/share/youker-assistant/qml/img/weather/n.gif
file:///usr/share/youker-assistant/qml/func/WeatherForecast.qml:554:25: QML Image: Cannot open: file:///usr/share/youker-assistant/qml/img/weather/d.gif
get pc_message failed!
after some debug I found some error here:
~ $ python /usr/lib/python2.7/dist-packages/youker-assistant-daemon/src/youkersystem-daemon
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youker-assistant-daemon/src/youkersystem-daemon", line 28, in <module>
Daemon(dbus.SystemBus(), mainloop)
File "/usr/share/pyshared/youker-assistant-daemon/src/systemdbus/daemon.py", line 60, in __init__
bus_name = dbus.service.BusName(INTERFACE, bus=bus)
File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 131, in __new__
retval = bus.request_name(name, name_flags)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 303, in request_name
'su', (name, flags))
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.94" is not allowed to own the service "com.ubuntukylin_tools.daemon" due to security policies in the configuration file
For the first case, I'm sure that the sessiondbus doesn't start successfully.
For the second case, the systemdbus should be start with root, when we run the youker-assistant, the app will start it with root. If user doesn't install deb package, they should copy some configure files to some path. User can read the file named "ReadMe".