michael-adler / sync-google-contacts

Automatically exported from code.google.com/p/sync-google-contacts
18 stars 12 forks source link

Sync fail with Company entry #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have a contact with no firstname and no lastname, just the company entry and 
a phone number
2. Try to sync
3. Wait for the sync go throw that contact and you'll have an error.

What is the expected output? 
No error.

What do you see instead?
This error :
Traceback (most recent call last):
  File "./contacts-sync", line 756, in <module>
    main()
  File "./contacts-sync", line 752, in main
    MergeContacts(users, contacts, pvt_groups)
  File "./contacts-sync", line 536, in MergeContacts
    name = entry.name.full_name.text
AttributeError: 'NoneType' object has no attribute 'text'

What version of the product are you using? On what operating system?
Latest from svn (0.1)

Please provide any additional information below.
Nothing to add. 
Thanks for your time and your great job on this script.

Original issue reported on code.google.com by pierre.r...@gmail.com on 26 Jul 2011 at 2:41

GoogleCodeExporter commented 9 years ago

Original comment by mad...@tapil.com on 23 Nov 2011 at 1:11