[SailfishDevel] After April SDK Update Existing App fails on RPM deploy to Jolla Device: Possible rights problem
khertan at khertan.net
khertan at khertan.net
Wed Apr 16 22:03:44 UTC 2014
I got the exactly same surprise. Rights of file was readable only by root.
My projects is placed on a foldr that is synced between many devices, os, and fs, (btsync on windows/fat32, linux ext4, ext3 on rasp, n9) ... and look like file attrb are badly set :)
Regards
À Wed Apr 16 2014 14:55:37 GMT+0200 (CEST), christopher.lamb at thurweb.ch a écrit :
> Hi Andrey
>
> Thanks for the fast answer
>
> Given that we are talking about cross-platform development -
> developing on one and deploying to another I am not sure that is
> always possible. What if my development host was Windows?
>
> And as a developer I want to worry about writing code, not all the
> arcane rights that all the files need to work when deployed
>
> In fact my main development host is OSX which has unix like
> permissions, the same as Sailfish. Having a look at the files on my
> host, it looks like the files are now deployed with the original
> (strange mix of) rights from my host.
>
> However in previous SDK releases this was not an issue, As far as I
> can see the SDK took care of permissions.
>
> In the meantime I will chmod the files on the host and see if that helps...
>
> Cheers
>
> Chris
>
> Zitat von "Andrey Kozhevnikov" <coderusinbox at gmail.com>:
>
> > IMHO you should manage file permissions yourself before deploying?
> >
> > 16.04.2014 18:39, christopher.lamb at thurweb.ch пишет:
> >> 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 at Jolla javascript]$ pwd
> >> /usr/share/landed26_QT5/qml/javascript
> >> [nemo at 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
> >
> > _______________________________________________
> > SailfishOS.org Devel mailing list
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing lis
--
Benoît HERVIER - http://khertan.net
More information about the Devel
mailing list