Post by Sriram KarraPost by Sriram Karra1. Your ~/.netrc file portion that refers to this profile
--8<---------------cut here---------------start------------->8---
machine gc_bbgcsynk
login j.cubizolles
password ~/.asynk/gmail-contacts.json
-8<---------------cut here---------------end--------------->8---
--8<---------------cut here---------------start------------->8---
-rw------- 1 wilk wilk 80 juin 25 14:17 /home/wilk/.netrc
--8<---------------cut here---------------end--------------->8---
--8<---------------cut here---------------start------------->8---
[11:26:15.829 DEBUG] Command line: "/home/wilk/info/emacs/ASynK/asynk.py --op sync --name bbgcsynk --dry-run"
[11:26:15.829 INFO] Parsing BBDB file /home/wilk/.bbdb...
[11:26:15.829 DEBUG] New BBContactsFolder: default
[11:26:15.829 INFO] Parsing BBDB Store with encoding utf-8...
[11:26:15.840 DEBUG] Assigning UUID 64de1254-1be5-11e5-9191-6045bdf646b4 for new contact: Hervé Leguil
[11:26:15.840 DEBUG] New BBContactsFolder: asynk
[11:26:15.965 DEBUG] New BBContactsFolder: eleves-14-15
[11:26:15.965 INFO] Parsing BBDB Store with encoding utf-8...Success
[11:26:15.966 INFO] Successfully parsed 536 entries.
[11:26:15.966 DEBUG] PIMDB gc does not have email_domains.
[11:26:15.966 DEBUG] PIMDB gc does not have notes_map
[11:26:15.966 DEBUG] PIMDB gc does not have phones_map
[11:26:15.966 INFO] Attempting to log into Google...
[11:26:15.968 INFO] Using pre-fetched access_token...
[11:26:15.968 DEBUG] Getting Group List to populate folders...
--8<---------------cut here---------------end--------------->8---
--8<---------------cut here---------------start------------->8---
total 60
drwxrwxr-x 4 wilk wilk 4096 juin 25 06:28 .
drwxr-xr-x 72 wilk wilk 4096 juin 26 11:29 ..
drwxrwxr-x 2 wilk wilk 4096 juin 25 06:28 backups
-rw-rw-r-- 1 wilk wilk 1205 août 13 2013 config.py
-rw-r--r-- 1 wilk wilk 743 mars 28 2014 config.pyc
-r-------- 1 wilk wilk 441 juin 25 06:12 gmail-contacts.json
-rw------- 1 wilk wilk 859 juin 25 06:28 j.cubizolles.dat
drwxrwxr-x 2 wilk wilk 4096 juin 26 11:26 logs
-rw-rw-r-- 1 wilk wilk 21626 juin 25 06:28 state.json
--8<---------------cut here---------------end--------------->8---
The error message is:
--8<---------------cut here---------------start------------->8---
Traceback (most recent call last):
File "/home/wilk/info/emacs/ASynK/asynk.py", line 321, in <module>
main()
File "/home/wilk/info/emacs/ASynK/asynk.py", line 318, in main
asynk.dispatch()
File "/home/wilk/info/emacs/ASynK/asynk/asynk_core.py", line 97, in dispatch
res = getattr(self, self.get_op())()
File "/home/wilk/info/emacs/ASynK/asynk/asynk_core.py", line 366, in op_sync
pname = self._load_profile()
File "/home/wilk/info/emacs/ASynK/asynk/asynk_core.py", line 584, in _load_profile
self._login()
File "/home/wilk/info/emacs/ASynK/asynk/asynk_core.py", line 85, in _login
coll.login()
File "/home/wilk/info/emacs/ASynK/asynk/state_collection.py", line 336, in login
self.get_username(), self.get_pwd())
File "/home/wilk/info/emacs/ASynK/asynk/pimdb_gc.py", line 68, in __init__
self.set_folders()
File "/home/wilk/info/emacs/ASynK/asynk/pimdb_gc.py", line 166, in set_folders
groups = self.list_folders(silent=True)
File "/home/wilk/info/emacs/ASynK/asynk/pimdb_gc.py", line 87, in list_folders
feed = self.get_groups_feed()
File "/home/wilk/info/emacs/ASynK/asynk/pimdb_gc.py", line 293, in get_groups_feed
feed = self.get_gdc().GetGroups()
File "/usr/lib/python2.7/dist-packages/gdata/contacts/client.py", line 218, in get_groups
return self.get_feed(uri, desired_class=desired_class, auth_token=auth_token, **kwargs)
File "/usr/lib/python2.7/dist-packages/gdata/client.py", line 640, in get_feed
**kwargs)
File "/usr/lib/python2.7/dist-packages/gdata/client.py", line 307, in request
response, Unauthorized)
gdata.client.Unauthorized: Unauthorized - Server responded with: 401, <?xml version="1.0" encoding="UTF-8"?>
<errors xmlns="http://schemas.google.com/g/2005">
<error>
<domain>GData</domain>
<code>authError</code>
<location type="header">Authorization</location>
<internalReason>Invalid Credentials</internalReason>
</error>
</errors>
--8<---------------cut here---------------end--------------->8---
Exception AttributeError: "'GCPIMDB' object has no attribute 'server'" in <bound method GCPIMDB.__del__ of <pimdb_gc.GCPIMDB object at 0x7fe68d1e6dd0>> ignored
Thanks for your help,
Julien.
--
You received this message because you are subscribed to the Google Groups "ASynK Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to asynk+***@googlegroups.com.
To post to this group, send an email to ***@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/asynk/87k2uqzuek.fsf%40free.fr.
For more options, visit https://groups.google.com/d/optout.