We have moved to a new Sailfish OS Forum. Please start new discussions there.
51

[1.0.3.8] Qt5Contacts backend broken - Sync contacts not possible in Mitäkuuluu

asked 2014-02-01 14:30:33 +0200

Eische gravatar image

updated 2014-02-01 15:01:24 +0200

Sailor gravatar image

Hi all,

I just updated to the OS to 1.0.3.8.

Now Mitäkuuluu (Indie Whatsapp Client by Coderus) is not able to sync contacts anymore. The function get stuck in an endless loop (rotating circle). In the Mitäkuuluu thread on TMO (see here) Coderus mentioned that the Qt5Contacts backend is broken. He concluded this after reviewing log files send by different users. As he has no Jolla Device he is not able to dig deeper into this problem.

For me (as a non-developer) it seems like Mitäkuuluu do not get access to the contacts on the phone anymore (it worked fine on 1.0.2.5). Is this a bug or intended behaviour? Can you please give some clues to Coderus to solve this problem?

I don't have Android support installed and I will not do it in the future. I only wan't to use native apps.

All contacts on Jolla device are send via bluetooth from Nokia N9. Don't know if this has any influence.

edit retag flag offensive close delete

Comments

Contacts sent via bluetooth have no influence on this issue. My contacts were imported by sync with Exchange and I have the same issue described in the question.

Neo ( 2014-02-01 14:55:26 +0200 )edit

4 Answers

Sort by » oldest newest most voted
9

answered 2014-02-01 17:59:26 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2014-02-05 12:45:07 +0200

teun gravatar image

@iCODeRUS: I won't support #Mitakuuluu development until #Jolla make proper way to fetch contacts database for apps. http://t.co/I9D90maBLa

hope this issue is picked up first thing..

for those who missed it:

@iCODeRUS: #Mitakuuluu update v0.1-25. Fixed contacts syncing and other minor fixies. https://t.co/hZjDpS2W62 #Jolla

edit flag offensive delete publish link more
6

answered 2014-02-01 17:06:25 +0200

dan.socea gravatar image

jolla has restricted the privileges of some 3rd party apps (in this case Mitakuuluu), so now they don't have access to contacts and other stuff. even after manually adding permissions, importing contacts does not work. big unlike to jolla for this. so much for openness :|

edit flag offensive delete publish link more

Comments

1

Disappointing and weird... I suppose there is a reason for this change though, and it would be helpful to know it because as it is now it just seems to lock down some parts of the phone to 3rd party apps (a great incentive to enhance the ecosystem).

Orologiaio ( 2014-02-01 17:36:30 +0200 )edit

The (temporary) lockdown of the bootloader was another very unpopular change, but once the reasons where explained (and the reassurance a further fix was on the way) the situation got cleared quite a bit.

Orologiaio ( 2014-02-01 17:36:34 +0200 )edit
1

Is this really true ?!? Jolla personnel, please deny or confirm !

Upp15 ( 2014-02-01 17:38:21 +0200 )edit
4

There's a reason here: https://www.mail-archive.com/devel@lists.sailfishos.org/msg03013.html (so they're still working on a lawyer-compliant way to allow apps to access contacts)

ovekaaven ( 2014-02-02 14:47:24 +0200 )edit
4

answered 2014-02-02 11:23:49 +0200

Low gravatar image

With the recent update some applications lost their privilege to access the contacts. coderus is working on it, and making progress as we speak - he's mad but he's not intending to drop the development. Keep an eye on the TMO thread

edit flag offensive delete publish link more
0

answered 2014-02-02 16:44:49 +0200

dan.socea gravatar image

this is not about legal stuff. i just did a test deleting all my social and e-mail accounts and only added one contact on the phone's memory. that should be my legal property to use how i wish and share how i wish. i cannot even read that if not logged in as root and i cannot add it to mitakuuluu even as root. i do support jolla and did so by ordering in the first wave even if it was not available to my country (ordered it through a friend). i want them to be successful and to see them grow but this is not the way. 3 months after release major features are not accessible. they have not provided a solid app base and are now limiting the developers that are bringing these useful apps to their phone. i'm waiting to see if they can bring their act together now and step up their game. in the mean time the phone will just be paperweight :(

edit flag offensive delete publish link more

Comments

2

If you add your application to privileged-group you can still read contacts just fine, so applications that are in for exampe OpenRepos can read contacts. Unfortunately currently privileged group bit is not allowed in Harbour, so for Harbour applications you need to wait for proper API to appear.

rainisto ( 2014-02-03 11:59:51 +0200 )edit

i tried this giving mitakuuluu all privileges available in the privileged file. I tried changing the group for the privileged directory. i tried starting mitakuuluu with root, however, you get to the point where you read the contacts but cannot import them to mitakuuluu. i even changed the rights on the contact database directory to no result

dan.socea ( 2014-02-03 12:56:07 +0200 )edit

@dan.socea You are not supposed to run it as a root, as it will not have access, you are supposed to run it as uid nemo and group privileged, with that it will have access, you can do that by either adding binary to privileged list and by starting application with invoker, or by adding setgid privileged bit to binary in .spec file and starting application without booster by aditing special flag to .desktop file (by default invoker will drop setgid if its not in privileged list file). Or by running "devel-su -p" which will give you nemo.privileged shell.

rainisto ( 2014-02-03 13:04:51 +0200 )edit

@rainisto so i will tell you what i did step by step and please tell me where i'm going wrong: 1st try: devel-su --privileged -> this opened a privileged console. i started mitakuuluu from it. no go. it read the contacts but was unable to generate a database 2nd try: added harbour-mitakuuluu and harbour-mitakuuluu-server to privileged list. started mitakuuluu from launcher. same as above. started it from a privileged console. same as above

we'll just forget the tries with root for now :P

dan.socea ( 2014-02-03 13:19:59 +0200 )edit

Well my guess would be that starting it with root has created some files as root that nemo can't read/create or that your directory permissions are not the default ones (maybe time for factory reset or copy permissions from stock device). I cannot debug remotely as I don't know the state of your filesystem and don't have exact data how you start the server and client parts.

rainisto ( 2014-02-03 13:30:35 +0200 )edit
Login/Signup to Answer

Question tools

Follow
9 followers

Stats

Asked: 2014-02-01 14:30:33 +0200

Seen: 1,387 times

Last updated: Feb 05 '14