viktorgino / headunit-desktop

HeadUnit Desktop is a car PC software built with Qt 5 and QML
https://github.com/viktorgino/headunit-desktop/wiki
GNU General Public License v3.0
285 stars 64 forks source link

The application does not start properly. #58

Closed Yokosa closed 2 years ago

Yokosa commented 3 years ago

I built the application according to the wiki guidelines. But there are application errors.

`root@raspberrypi:~/headunit-desktop/build# ./headunit-app libEGL warning: DRI2: failed to authenticate QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' Plugin Manager: Plugin loaded : "libandroid-auto-plugin.so" Plugin Manager: Plugin loaded : "libhud-serial-plugin.so" Plugin Manager: Plugin loaded : "libhvac-plugin.so" Plugin Manager: Plugin loaded : "libmedia-player-plugin.so" Settings Loader: "" : Error loading settings JSON, root type should be of "items" type Plugin Manager: Plugin loaded : "libphone-bluetooth-plugin.so" Plugin Manager: Plugin loaded : "librpi-plugin.so" Plugin Manager: Plugin loaded : "libsample-plugin.so" Settings Loader: Duplicate name ( "SamplePlugin" "" ) skipping. Settings Loader: Duplicate name ( "SamplePlugin" "" ) skipping. QSettings::value: Empty key passed Plugin Manager: Plugin loaded : "libusbconnectionlistener-plugin.so" WelleIoPlugin 2021-06-09T12:41:58.790 Debug: Plugin loaded : "libwelle-io-plugin.so" 2021-06-09T12:41:58.791 Debug: Loading qml plugin: "libandroid-auto-plugin.so" 2021-06-09T12:41:58.792 Debug: Loading qml plugin: "libhud-serial-plugin.so" 2021-06-09T12:41:58.792 Debug: Loading qml plugin: "libhvac-plugin.so" 2021-06-09T12:41:58.793 Debug: Loading qml plugin: "libmedia-player-plugin.so" 2021-06-09T12:41:58.793 Debug: Loading qml plugin: "libphone-bluetooth-plugin.so" 2021-06-09T12:41:58.794 Debug: Loading qml plugin: "librpi-plugin.so" 2021-06-09T12:41:58.794 Debug: Loading qml plugin: "libsample-plugin.so" 2021-06-09T12:41:58.794 Debug: Loading qml plugin: "libusbconnectionlistener-plugin.so" 2021-06-09T12:41:58.795 Debug: Loading qml plugin: "libwelle-io-plugin.so" 2021-06-09T12:41:58.800 Debug: Audio: ActiveState

(headunit-app:10662): GLib-GObject-WARNING **: 12:41:58.856: g_object_set_is_valid_property: property 'device-name' of object class 'GstAlsaSink' is not writable

(headunit-app:10662): GLib-GObject-WARNING **: 12:41:58.863: g_object_set_is_valid_property: property 'device-name' of object class 'GstAlsaSink' is not writable

(headunit-app:10662): GLib-GObject-WARNING **: 12:41:58.864: g_object_set_is_valid_property: property 'device-name' of object class 'GstAlsaSrc' is not writable 2021-06-09T12:41:58.915 Debug: Starting headunit W: ../../../modules/android-auto/headunit/hu/hu_usb.cpp:392: Start : Opening device 0x0eef : 0x0005 W: ../../../modules/android-auto/headunit/hu/hu_usb.cpp:392: Start : Opening device 0x08bb : 0x2912 W: ../../../modules/android-auto/headunit/hu/hu_usb.cpp:392: Start : Opening device 0x0424 : 0xec00 W: ../../../modules/android-auto/headunit/hu/hu_usb.cpp:392: Start : Opening device 0x0424 : 0x9514 W: ../../../modules/android-auto/headunit/hu/hu_usb.cpp:392: Start : Opening device 0x1d6b : 0x0002 libusb: warning [handle_control_completion] unrecognised urb status -22 E: ../../../modules/android-auto/headunit/hu/hu_usb.cpp:486: Start : Can't find any OAP devices 2021-06-09T12:41:58.993 Debug: "Failed to open port , error: No such file or directory"

2021-06-09T12:41:58.994 Debug: Loading hvac settings : "modules/hvac/cars/Sample/sample_car.json"

(headunit-app:10662): GLib-GObject-CRITICAL **: 12:41:59.003: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(headunit-app:10662): GStreamer-CRITICAL **: 12:41:59.003: gst_object_unref: assertion 'object != NULL' failed

(headunit-app:10662): GLib-GObject-CRITICAL **: 12:41:59.003: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(headunit-app:10662): GStreamer-CRITICAL **: 12:41:59.003: gst_object_unref: assertion 'object != NULL' failed 2021-06-09T12:41:59.006 Debug: Theme loaded : "themes/default-theme/libdefault-theme.so" 2021-06-09T12:41:59.136 Warning: QQmlApplicationEngine failed to load component 2021-06-09T12:41:59.136 Warning: qrc:/qml/main.qml:21 Type DashView unavailable qrc:/qml/DashView.qml:91 Type Notifications unavailable qrc:/qml/Notifications.qml:2 module "QtQuick.Controls" version 1.4 is not installed

2021-06-09T12:41:59.136 Debug: Loading took : 982 ms 2021-06-09T12:41:59.166 Debug: ofonoAvailableChanged : true 2021-06-09T12:41:59.171 Debug: Manager Started 2021-06-09T12:41:59.172 Warning: Error registerAgent : "Manager not operational!" 2021-06-09T12:41:59.172 Warning: Error requestDefaultAgent : "Manager not operational!" 2021-06-09T12:41:59.173 Debug: obex service started 2021-06-09T12:41:59.179 Debug: obex manager started `

viktorgino commented 3 years ago

Hi @Yokosa

Can you please try installing the qml-module-qtquick-controls package?