[offlineimap] offlineimap doesn't fallback gracefully on XOAUTH2 (#258)
Nicolas Sebrecht
notifications at github.com
Mon Oct 12 06:29:59 BST 2015
@Frizlab: It appears that when user doesn't want XOAUTH2, it doesn't fallback gracefully:
```
Account sync nis:
ERROR: No remote oauth2_request_url for repository 'Remotenis' specified.
ERROR: Exceptions occurred during the run!
ERROR: No remote oauth2_request_url for repository 'Remotenis' specified.
Traceback:
File "/home/nicolas/dev/official_packages/gitrepos/offlineimap/offlineimap/accounts.py", line 248, in syncrunner
self.remoterepos = Repository(self, 'remote')
File "/home/nicolas/dev/official_packages/gitrepos/offlineimap/offlineimap/repository/__init__.py", line 82, in __new__
return repo(name, account)
File "/home/nicolas/dev/official_packages/gitrepos/offlineimap/offlineimap/repository/IMAP.py", line 38, in __init__
self.imapserver = imapserver.IMAPServer(self)
File "/home/nicolas/dev/official_packages/gitrepos/offlineimap/offlineimap/imapserver.py", line 100, in __init__
self.oauth2_request_url = repos.getoauth2_request_url()
File "/home/nicolas/dev/official_packages/gitrepos/offlineimap/offlineimap/repository/IMAP.py", line 276, in getoauth2_request_url
OfflineImapError.ERROR.REPO)
```
---
Reply to this email directly or view it on GitHub:
https://github.com/OfflineIMAP/offlineimap/issues/258
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20151011/276bf728/attachment-0002.html>
More information about the OfflineIMAP-project
mailing list