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

google-contacts-client disabled, but tries to find BT in log? [answered]

asked 2019-02-06 01:05:45 +0300

deloptes gravatar image

updated 2019-02-07 23:03:01 +0300

Hi sailors,

I have a question. What does this message mean?:

google-contacts-client[3923]: [W] unknown:0 - This device does not have a BT adapter

I googled and it shows something like trying to check if it can sync contacts with car or https://together.jolla.com/question/175382/bug-contacts-disappear-if-google-account-contact-sync-fails/

The problem is: I have disabled Contacts sync in the google accounts. The phone should not run google-contacts-client at all.

2019-02-07: I update the title so that it is not that ironic and misleading

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by deloptes
close date 2019-09-25 10:17:30.534574

Comments

2

It syncs contacts between phone and Google contacts service. If it is disabled, it should not perform sync. I'm surprised that it runs at all, but maybe it immediately checks the service status and exits.

See https://git.merproject.org/mer-core/buteo-sync-plugins-social/tree/master/src/google/google-contacts for its source code.

As to why that message is printed, Buteo internally tries to figure out which transport methods are available to it, and one of those is Bluetooth. See https://git.merproject.org/mer-core/buteo-syncfw/blob/master/libbuteosyncfw/common/TransportTracker.cpp#L174

Refactoring the sync framework to incur less overhead and be more streamlined is something I would like to see done eventually...

chris.adams ( 2019-02-07 05:37:12 +0300 )edit

@chris.adams thank you for the explanation and the links. I hope you read this commebt for two reasons. Firstly I know what it is and what it does, but by asking what it is doing I mean that I would not expect it to run if not enabled. This is definitely an ill behaving. So we still do not know why it is running and you suggest someone looks in the code to understand :)

Secondly I wrote long time ago that my will is to make syncml work again as I don't have other possibility to sync contacts. I tried once and you helped me with some good advice - could be two years ago, but I did not make it so far and SDKs and releases came out - I looked at it recently because I was talking to Patrick Ohly on SyncEvolution regarding future of SyncML. I would really love to work on it, but time constraints did not allow so far. I would like however to keep up with progress on syncfw and eventually bring syncml back to life on Sailfish. Is it possible to subscribe somewhere on this subject, so that I am informed what is going on?

BTW SyncML is robust protocol and syncevolution a great sync engine, however no modern mobile phone manufacturer uses it anymore, which leaves one with no choice on syncing PIM data. It is really that bad - you have no choice! I was hoping that resurrected Nokia 3310 phones would have those old features, but SyncML was removed (BT2 or BT3 is still in the phone) - amazing - no choice 21st century "everyone" is talking about diversity. Perhaps I open new question on that.

deloptes ( 2019-02-07 22:49:28 +0300 )edit

Same here

Aug 06 23:41:30 Sailfish [3278]: [D] unknown:0 - Starting oop plugin  "syncemail-9"
Aug 06 23:41:30 Sailfish [3278]: [D] unknown:0 - Starting process  "/usr/lib/buteo-plugins-qt5//oopp/syncemail-client"  with plugin name  "syncemail"  and profile name  "syncemail-9"
Aug 06 23:41:30 Sailfish syncemail-client[24101]: [D] unknown:0 - Using adapter path:  "/org/bluez/hci0"
deloptes ( 2019-08-07 09:09:24 +0300 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2019-09-25 10:17:12 +0300

deloptes gravatar image

This is reported by buteo-syncfw, when trying to access BT manager. The code is bluez4 and does not work with bluez5 (See my work here https://git.sailfishos.org/deloptes/buteo-syncfw/tree/feat/bluez5v2)

When sync runs it starts looking for profiles to sync. It tries to find BT profile and framework to sync. It fails with reported message.

It is not exactly related to the google contacts. Because google plugins are installed it tries the plugins.

I hope it briefly explains how the message comes up.

edit flag offensive delete publish link more

Question tools

Follow
2 followers

Stats

Asked: 2019-02-06 01:05:45 +0300

Seen: 395 times

Last updated: Sep 25 '19