Hi All

I have just installed the April SDK update, and have opened an existing app, and am trying to deploy to my Jolla.

The app worked with the previous SDK release, and is already installed on the phone.

If I deploy as "Deploy by copying Binaries" then thinks work as expected, and the app successfully deploys and starts on the phone.

If I deploy as "Deploy as RPM Package", then I get the error below in QtCreator, and a "white screen of death" on the phone.


[W] unknown:72 - file:///usr/share/landed26_QT5/qml/landed26_QT5.qml:72:5: Type MainPage unavailable
         MainPage {
         ^
[W] unknown:9 - file:///usr/share/landed26_QT5/qml/gui/MainPage.qml:9:1: Script file:///usr/share/landed26_QT5/qml/javascript/landed.js unavailable
     import "../javascript/landed.js" as LJS
     ^
[W] unknown:-1 - file:///usr/share/landed26_QT5/qml/javascript/landed.js: File not found

I also get the white screen when trying to open the app.

Via SSH on the jolla device I can find the file is present:
[nemo@Jolla javascript]$ pwd
/usr/share/landed26_QT5/qml/javascript
[nemo@Jolla javascript]$ ls -ahl
total 48K
drwxr-xr-x 1 root root  152 2014-04-16 14:31 .
drwxr-xr-x 1 root root  110 2014-04-16 14:31 ..
-rw-r--r-- 1 root root 4.2K 2014-04-16 14:31 jsonpath.js
-rw------- 1 root root  349 2014-04-16 14:31 landed.js
-rw------- 1 root root 1.2K 2014-04-16 14:31 message.js
-rwxr-xr-x 1 root root 9.4K 2014-04-16 14:31 readDataModel.js
-rwxr-xr-x 1 root root 8.8K 2014-02-03 08:32 settingsDB.js
-rw-r--r-- 1 root root 5.2K 2014-04-16 14:31 writeDataModel.js

However the access permissions look very strange. I suspect that all the js files should have rights like -rwxr-xr-x

Chris



_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to