Google account sync

You found a bug or you're missing a major feature? Just ask and discuss
Forum rules
We use this forum to discuss about bugs and feature requests. If you are sure you found a bug or have a good feature request: Don't hesitate and use our github issue tracker at https://github.com/owncloud/core/issues

Re: Google account sync

Postby VicDeo » Fri Jun 08, 2012 1:03 am

Another good idea - to make the app bullet-proof and more crash-friendly.
I've just performed a successful test drive on the fresh 4.0.1 instance. It works for me.

The error is likely on the server side. Do you have php-curl extension enabled?
Is there anything in the server log after the sync attempt?
no sorry for myself
VicDeo
Developer
 
Posts: 46
Joined: Tue Jan 24, 2012 1:12 am

Re: Google account sync

Postby dnlwgnr » Fri Jun 08, 2012 3:33 pm

I have asked my server:
php-curl is activated an in there are no errors in the serverlog.

I also tested the sync with my firefox. The Error-Message in the console was:

Timestamp: 08.06.12 16:28:42
Error: TypeError: result is null
Source File: http://uspread.de/apps/gsync/js/sync.js
Line: 375
dnlwgnr
Newbie
 
Posts: 8
Joined: Thu Jun 07, 2012 7:11 pm

Re: Google account sync

Postby VicDeo » Sat Jun 09, 2012 12:16 am

dnlwgnr
Please update with the current snapshot
http://apps.owncloud.com/content/show.p ... ent=151488

Switch log level to debug on the admin page
Sync and post here the entries that will be added to the log by the app, like this one:
Debug Gsync Firing contacts request
no sorry for myself
VicDeo
Developer
 
Posts: 46
Joined: Tue Jan 24, 2012 1:12 am

Re: Google account sync

Postby dnlwgnr » Sat Jun 09, 2012 9:31 am

Hi,

This Log-Level Warning is coming:

Warning | Gsync | Curl reports the error: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed | June 9, 2012, 10:26
dnlwgnr
Newbie
 
Posts: 8
Joined: Thu Jun 07, 2012 7:11 pm

Re: Google account sync

Postby VicDeo » Sat Jun 09, 2012 6:51 pm

I uploaded v3.1
Please check if it works for you.
no sorry for myself
VicDeo
Developer
 
Posts: 46
Joined: Tue Jan 24, 2012 1:12 am

Re: Google account sync

Postby dnlwgnr » Sun Jun 10, 2012 12:58 pm

Unfortunately, it doesnt work either...
I am posting a screenshot with the error code...

ownCloud (Daniel).png
ownCloud (Daniel).png (169.02 KiB) Viewed 948 times
dnlwgnr
Newbie
 
Posts: 8
Joined: Thu Jun 07, 2012 7:11 pm

Re: Google account sync

Postby VicDeo » Mon Jun 11, 2012 10:39 am

Hi,

so the contacts should be fetched now, but it is not possible to parse contact images.

Please replace the file apps/gsync/lib/shared.php with
https://gitorious.org/~vicdeo/owncloud/ ... shared.php
no sorry for myself
VicDeo
Developer
 
Posts: 46
Joined: Tue Jan 24, 2012 1:12 am

Re: Google account sync

Postby dnlwgnr » Mon Jun 11, 2012 6:40 pm

It works :) Thanks a lot :)
dnlwgnr
Newbie
 
Posts: 8
Joined: Thu Jun 07, 2012 7:11 pm

Re: Google account sync

Postby octom » Thu Jun 14, 2012 4:04 pm

Hi,
with Version 4.0.2 and gsync v0.3.1 i get this error messages.
Code: Select all
Error   contacts   thumbnail.php. Couldn't load image string for ID 327   June 14, 2012, 16:55
Error   contacts   thumbnail.php. Couldn't load image string for ID 340   June 14, 2012, 16:55
Error   contacts   thumbnail.php. Couldn't load image string for ID 344   June 14, 2012, 16:55
Error   contacts   thumbnail.php. Couldn't load image string for ID 343   June 14, 2012, 16:55
Error   contacts   thumbnail.php. Couldn't load image string for ID 346   June 14, 2012, 16:55
Error   core   OC_Image->__toString. Error writing image   June 14, 2012, 16:55
Error   core   OC_Image->__toString. Error writing image   June 14, 2012, 16:55
Error   core   OC_Image->__toString. Error writing image   June 14, 2012, 16:55
Error   core   OC_Image->__toString. Error writing image   June 14, 2012, 16:54
Error   core   OC_Image->__toString. Error writing image   June 14, 2012, 16:54

Most of the contacts will be imported, only a few not.

When i take the files shared.php from the link above no contacts are imported only this debug messages
Code: Select all
Debug   Gsync   Got response from Google. Length is 242700   June 14, 2012, 16:59
Debug   Gsync   Firing contacts request   June 14, 2012, 16:59
Debug   Gsync   Got response from Google. Length is 242700   June 14, 2012, 16:58
Debug   Gsync   Firing contacts request   June 14, 2012, 16:58
Debug   Gsync   Got response from Google. Length is 242700   June 14, 2012, 16:58
Debug   Gsync   Firing contacts request   June 14, 2012, 16:58
octom
Beginner
 
Posts: 27
Joined: Fri Feb 17, 2012 12:03 pm

Re: Google account sync

Postby VicDeo » Mon Jun 18, 2012 8:21 am

Sorry, I was at the conference this weekend.

Contacts are imported only once. On the next execution they are synced with previously imported contacts.
AFAIK, OC4 has a limit for the length of the group title.
Is is possible for you to post here some of your group titles?
I'm interested in the longest title in the first place.
no sorry for myself
VicDeo
Developer
 
Posts: 46
Joined: Tue Jan 24, 2012 1:12 am

PreviousNext

Return to Discuss possible bugs & feature requests

Who is online

Users browsing this forum: No registered users and 0 guests