maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [ANNOUNCE] syncgcontacts for Harmattan (https://talk.maemo.org/showthread.php?t=86252)

paoletto 2013-04-20 08:50

Re: [ANNOUNCE] syncgcontacts for Harmattan
 
Quote:

Originally Posted by Macros (Post 1337473)
Tested it. Output now reads as follows:
Code:

libqtcontacts-tracker: initializing libqtcontacts-tracker 4.19.2-1+0m8 for /usr/bin/python2.6 [15258]
libqtcontacts-tracker: engine.cpp:1591: Not cleaning up obsolete resources for nao:hasTag property since the property's range is too generic (rdfs:Resource).
The -d option is set
...
Fetched  534 contacts from account roger.roesch . Now filtering and adding.
Adding Contact Name1 Surname1
....
Adding Contact Name39  Surname39
Saving photo
'NoneType' object has no attribute 'given_name'

534 is the correct number.
The contacts which get stored seem semi random. Its a whole class from my Gymnasium(High school) + a teacher from the same time+some forum contacts+random people I dont know anymore. They could even be the first contacts I ever added into gmail.

I think this should fix your problem.
But you should seriously consider giving a name to the contacts you have on your phone :)

paoletto 2013-04-20 11:06

Re: [ANNOUNCE] syncgcontacts for Harmattan
 
by the way, being very short on time, i would be considering collaborators for this project.
Anybody familiar with PySide (possibly also for the UI), and QtMobility/Maemo PIM, that is interested in helping out with this project? Features to-be-added are growing day after day, and time is instead shrinking.. :)

Beware, some parts of the code are old, and written in a rush, so quite some refactoring is needed (in particular wrt. options management/handling, what can be used with what, and what cant, etc.)

skyleth 2013-04-21 23:42

Re: [ANNOUNCE] syncgcontacts for Harmattan
 
i don't know anything about programming, but wouldn't be easier to sync using carddav protocol?

paoletto 2013-04-22 06:19

Re: [ANNOUNCE] syncgcontacts for Harmattan
 
Quote:

Originally Posted by skyleth (Post 1337832)
i don't know anything about programming, but wouldn't be easier to sync using carddav protocol?

It would be maybe easier, but both carddav and syncml are fairly limited on the google side. For example, both of them do not support contact groups (tags), which is one of the reasons why i started this project.

Macros 2013-04-22 08:11

Re: [ANNOUNCE] syncgcontacts for Harmattan
 
2.8 fixed my problem.
Thank you for your continued developing effort. :)

snowboarder 2013-05-01 12:43

Re: [ANNOUNCE] syncgcontacts for Harmattan
 
Hi paoletto,

First, thank you for this great script...it's much needed since google has removed activesync for free gmail accounts.

I'm able to run the script properly, it says that it is adding my account, it shows the correct number of contacts to add and then says "Now filtering and adding". However, it doesn't add anything and drops me into a shell prompt.

I really don't know what else to do at this point...do you have any ideas?

SB


All times are GMT. The time now is 08:06.

vBulletin® Version 3.8.8