<div dir="ltr"><div>This reminds me of SDK RPM-validator tool complaining about files with executable permission (it issued a warning about possible deprecation of executable files in RPM according to Harbour rules).<br><br>
</div>If any sort of permission-scheme has to be enforced, shouldn't the SDK's RPM generator take care of it by itself?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 16, 2014 at 2:41 PM, Andrey Kozhevnikov <span dir="ltr"><<a href="mailto:coderusinbox@gmail.com" target="_blank">coderusinbox@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">IMHO you should manage file permissions yourself before deploying?<br>
<br>
16.04.2014 18:39, <a href="mailto:christopher.lamb@thurweb.ch" target="_blank">christopher.lamb@thurweb.ch</a> пишет:<div class="HOEnZb"><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All<br>
<br>
I have just installed the April SDK update, and have opened an existing app, and am trying to deploy to my Jolla.<br>
<br>
The app worked with the previous SDK release, and is already installed on the phone.<br>
<br>
If I deploy as "Deploy by copying Binaries" then thinks work as expected, and the app successfully deploys and starts on the phone.<br>
<br>
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.<br>
<br>
<br>
[W] unknown:72 - file:///usr/share/landed26_<u></u>QT5/qml/landed26_QT5.qml:72:5: Type MainPage unavailable<br>
MainPage {<br>
^<br>
[W] unknown:9 - file:///usr/share/landed26_<u></u>QT5/qml/gui/MainPage.qml:9:1: Script file:///usr/share/landed26_<u></u>QT5/qml/javascript/landed.js unavailable<br>
import "../javascript/landed.js" as LJS<br>
^<br>
[W] unknown:-1 - file:///usr/share/landed26_<u></u>QT5/qml/javascript/landed.js: File not found<br>
<br>
I also get the white screen when trying to open the app.<br>
<br>
Via SSH on the jolla device I can find the file is present:<br>
[nemo@Jolla javascript]$ pwd<br>
/usr/share/landed26_QT5/qml/<u></u>javascript<br>
[nemo@Jolla javascript]$ ls -ahl<br>
total 48K<br>
drwxr-xr-x 1 root root 152 2014-04-16 14:31 .<br>
drwxr-xr-x 1 root root 110 2014-04-16 14:31 ..<br>
-rw-r--r-- 1 root root 4.2K 2014-04-16 14:31 jsonpath.js<br>
-rw------- 1 root root 349 2014-04-16 14:31 landed.js<br>
-rw------- 1 root root 1.2K 2014-04-16 14:31 message.js<br>
-rwxr-xr-x 1 root root 9.4K 2014-04-16 14:31 readDataModel.js<br>
-rwxr-xr-x 1 root root 8.8K 2014-02-03 08:32 settingsDB.js<br>
-rw-r--r-- 1 root root 5.2K 2014-04-16 14:31 writeDataModel.js<br>
<br>
However the access permissions look very strange. I suspect that all the js files should have rights like -rwxr-xr-x<br>
<br>
Chris<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
SailfishOS.org Devel mailing list<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
SailfishOS.org Devel mailing list</div></div></blockquote></div><br><br clear="all"><br>-- <br>Luca Donaggio
</div>