qmllivebench stopped working [answered]
As per the title, yesterday everything SDK related was working fine. No changes made by me.
fired up SDK this morning, continued making an app, realised QML Live Bench is no longer functioning.
I removed SDK, reinstalled, still Qml Live Bench does not work, I have to actually run the app again to see my changes, what a PITA!
Application Output:
[D] unknown:0 - activate document: ""
[C] LiveDocument::LiveDocument:72 - Assertion "!relativeFilePath.isEmpty()" failed
[C] LiveDocument::relativeFilePath:145 - Assertion "!isNull()" failed
Why?, why is SDk so fragile?
Qt Creator 4.9.1 (Sailfish SDK 3.0.7)
Based on Qt 5.12.5 (MSVC 2015, 32 bit)
More errors from another application that I've been making for many months, but today, QML Live Bench is spewing errors left, right & centre;
[D] unknown:0 - QML debugging is enabled. Only use this in a safe environment.
[D] unknown:0 - Using Wayland-EGL
[I] unknown:0 - qmlliveruntime-sailfish initialized
[I] unknown:0 - Waiting for connection from QmlLive Bench…
[I] unknown:0 - QmlLive Bench connected
[D] onStatusChanged:722 - multi-remote pushed
[D] unknown:0 - activate document: "qml/pages/MainPage.qml"
[I] unknown:0 - ----------------------------------------
[I] unknown:0 - QmlLive: (Re)loading "qml/pages/MainPage.qml"
[W] unknown:113 - file:///usr/lib/qt5/qml/Sailfish/Silica/Page.qml:113: ReferenceError: __silica_applicationwindow_instance
is not defined
[W] unknown:58 - file:///usr/lib/qt5/qml/Sailfish/Silica/private/PageOrientationTransition.qml:58: ReferenceError:
__silica_applicationwindow_instance is not defined
[W] unknown:186 - file:///usr/lib/qt5/qml/Sailfish/Silica/Page.qml:186: ReferenceError: __silica_applicationwindow_instance
is not defined
[W] unknown:185 - file:///usr/lib/qt5/qml/Sailfish/Silica/Page.qml:185: ReferenceError: __silica_applicationwindow_instance
is not defined
[W] unknown:100 - file:///usr/lib/qt5/qml/Sailfish/Silica/CoverLoader.js:100: TypeError: Cannot read property 'Ready' of
undefined
Hmmm, so , as usual, I'm the only one with this problem?, sounds about right. Story of my life! :D
@martyone - any ideas/suggestions?, I ask you as I note from Github pages you are dealing with QmlLive package
Spam Hunter ( 2020-02-27 13:59:12 +0200 )editCould you please be more specific about what is not working, which way is it broken, what is the origin of the logs, what is you OS about? You could try to (re)move
martyone ( 2020-02-27 14:42:02 +0200 )edit~/.config/SailfishSDK/QmlLiveBench.conf
. Have you tried with a newly created app from template? Isn't your device running out of disk space? (check /tmp too)Thanks for replying @martyone
Okay, when I say QmlLive does not work, I mean tapping CTRL + S does nothing, I have to restart the build to see my changes.
The logs are directly from the 'Application output' window of the SDK, I assume this is what you mean by logs..?
My OS is Windows 7 Ultimate.
No, I have plenty of disk space, 59GB of free space to be precise.
Yes, I have tried creating a new app from template, I still get the same problem, hitting CTRL + S does not function and yes, it is enabled in Projects Build & Run settings.
I don't know where to find
~/.config/SailfishSDK/QmlLiveBench.conf.
please advise.ADDITIONAL: I've searched my PC for QmlLiveBench,conf and it it not present. Just to be clear, I am using the SDK Emulator to build apps, not my Jolla1.
Spam Hunter ( 2020-02-27 14:53:26 +0200 )edit