karimsacre / google-shared-contacts-client

Automatically exported from code.google.com/p/google-shared-contacts-client
Apache License 2.0
0 stars 0 forks source link

Unathorised error since admin sdk release #34

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run shared_contacts_profiles.exe --admin=xxx@xxxx.com --export=export.csv
2. Enter password

What is the expected output? What do you see instead?
Should have the export.csv file instead receive:
### Exporting contacts/profiles to CSV file: export.csv
Retrieving contacts... (0 retrieved so far)
Traceback (most recent call last):
File "shared_contacts_profiles.py", line 1143, in <module>
File "shared_contacts_profiles.py", line 1138, in main
File "shared_contacts_profiles.py", line 531, in ExportMsOutlookCsv
File "shared_contacts_profiles.py", line 719, in writerows
File "shared_contacts_profiles.py", line 212, in GetAllContacts
File "gdata\client.pyc", line 628, in get_feed
File "gdata\client.pyc", line 305, in request
gdata.client.Unauthorized: Unauthorized - Server responded with: 401, <html><hea
d><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Error
401
(Client Error)!!1</title>

Full error in attached file.

What version of the product are you using? On what operating system?
1.1.3
Windows 7 sp1 x64

Please provide any additional information below.
Logged a ticket with enterprise support as thought was a api setting issue, 
they have advised the code probably need to be updated to be compatible with 
the new admin sdk (https://developers.google.com/admin-sdk/overview)

Original issue reported on code.google.com by lb...@ancoris.com on 3 Jun 2013 at 10:30

GoogleCodeExporter commented 8 years ago
I think it just needs to be updated with a more recent gdata-python-client 
(https://code.google.com/p/gdata-python-client/) in the distributed files. It 
worked for me using gdata-2.0.18 instead of what was provided by this package 
in the "library.zip" file.

Original comment by ipitc...@accumetricsltd.com on 11 Sep 2013 at 6:59

GoogleCodeExporter commented 8 years ago
Turn off SSL in settings under contacts.

Original comment by LMcNic...@gmail.com on 13 Nov 2013 at 8:37

GoogleCodeExporter commented 8 years ago
I have id xxxxxx@gmail.com,
How I can Turn off SSL in settings under contacts???

Is there any way?

Original comment by initd...@gmail.com on 4 Apr 2014 at 7:04

GoogleCodeExporter commented 8 years ago
When I use "google-shared-contacts-client-1.1.3-Win32", the executable version 
then I get error as not sure why.

### Importing contacts/profiles CSV file: outlook.csv
Detecting encoding of the CSV file...
Trying utf-8
Correct encoding of the file is utf-8
    1) Adam Glacius - adam.glacius@anycom.com [add]
    2) 241a444f0b330b22 - Daniel Ireland - danielireland@restty.com [delete]
    3) 527fbda08922b018 - Duncan Amey - duncanamey@dreamt.com [update]
Querying 2 contacts/profiles(s)...
Traceback (most recent call last):
  File "shared_contacts_profiles.py", line 1143, in <module>
  File "shared_contacts_profiles.py", line 1129, in main
  File "shared_contacts_profiles.py", line 412, in ImportMsOutlookCsv
  File "shared_contacts_profiles.py", line 551, in _ExecuteBatch
  File "gdata\contacts\client.pyc", line 378, in execute_batch
  File "gdata\client.pyc", line 678, in post
  File "gdata\client.pyc", line 305, in request
gdata.client.Unauthorized: Unauthorized - Server responded with: 401, <html><hea
d><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Error
401
(Client Error)!!1</title>

Original comment by dinesh.r...@teamcomputers.com on 13 Mar 2015 at 5:31