After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 528998 - Error Refreshing with Google Contacts
Error Refreshing with Google Contacts
Status: RESOLVED DUPLICATE of bug 520699
Product: conduit
Classification: Other
Component: dataproviders
0.3.x
Other All
: Normal normal
: ---
Assigned To: conduit-maint@gnome.bugs
conduit-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2008-04-20 09:29 UTC by hirschler
Modified: 2008-04-20 11:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description hirschler 2008-04-20 09:29:15 UTC
Please describe the problem:
1. I create a new syncpair with Google Contacts & Evolution Contacts (also tried contacts to folder, same error)
2. Enter username, password and select addressbook from Evolution.
3. Start Sync
4. Error Refreshing


Steps to reproduce:
1. Everytime when i try to create a syncpair or use an already existing syncpair


Actual results:
[Syncronization      ][INFO   ] Setting global cancel flag (Synchronization.py:90)
[Syncronization      ][DEBUG  ] Starting worker: <RefreshDataProviderWorker(Wrapper: Gmail Contacts source (UID: GmailContactSource-john.doe), initial)> (Synchronization.py:93)
[Syncronization      ][DEBUG  ] Refresh <RefreshDataProviderWorker(Wrapper: Gmail Contacts source (UID: GmailContactSource-john.doe), started)> beginning (Synchronization.py:772)
[modules.Gmail       ][DEBUG  ] Getting all contacts as vcards (GmailModule.py:316)
[Syncronization      ][CRITICAL] UNKNOWN REFRESH ERROR: Wrapper: Gmail Contacts source (UID: GmailContactSource-john.doe)
Traceback (most recent call last):
  • File "/var/lib/python-support/python2.5/conduit/Synchronization.py", line 784 in run
    self.dataproviderWrapper.module.refresh()
  • File "/usr/lib/conduit/modules/GmailModule/GmailModule.py", line 318 in refresh
    for c in Contact.parse_vcf(pageData):
  • File "/var/lib/python-support/python2.5/conduit/datatypes/Contact.py", line 10 in parse_vcf
    for vobj in vobject.readComponents(string):
  • File "/var/lib/python-support/python2.5/vobject/base.py", line 968 in readComponents
    vline = textLineToContentLine(line, n)
  • File "/var/lib/python-support/python2.5/vobject/base.py", line 845 in textLineToContentLine
    return ContentLine(*parseLine(text, n), **{'encoded':True, 'lineNumber' : n})
  • File "/var/lib/python-support/python2.5/vobject/base.py", line 714 in parseLine
    raise ParseError("Failed to parse line: %s" % line, lineNumber)
ParseError: At line 512: Failed to parse line: A-2700 Wiener Neustadt
 (Synchronization.py:793)
[Syncronization      ][WARNING] Sync Aborted (Synchronization.py:798)
[Syncronization      ][DEBUG  ] Deleting worker: <RefreshDataProviderWorker(Wrapper: Gmail Contacts source (UID: GmailContactSource-john.doe), started)> (Synchronization.py:86)

Expected results:
My expectation get every Contact from Google Contacts and write them into my local addressbook from Evolution

Does this happen every time?
Yes

Other information:
Tried to erase the line where it complains, error still occurs.
Changed Username in Bugreport.
Comment 1 John Carr 2008-04-20 11:59:58 UTC
Thanks for taking the time to report this problem.

The Gmail Contacts code in our releases is broken due to (i assume) changes at Google. They have released a new supported API which we are working to adopt as soon as possible. This should provide us with a more stable way and maintainable way to sync your contacts.

See http://bugzilla.gnome.org/show_bug.cgi?id=520699 for our progress on sorting this out.

*** This bug has been marked as a duplicate of 520699 ***