Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ERROR: getfolder() asked for a nonexisting folder 'archive'. #539

Open
giacecco opened this issue Jun 28, 2017 · 0 comments
Open

ERROR: getfolder() asked for a nonexisting folder 'archive'. #539

giacecco opened this issue Jun 28, 2017 · 0 comments

Comments

@giacecco
Copy link

Thanks a lot for the instructions at https://github.com/sup-heliotrope/sup/wiki/Complete-gmail-configuration . However, when I run offlineimap after configuring as you suggested, I get:

$ echo "Just to be sure I'm starting clean"
$ rm -rf ~/.mail/dicoim ~/.offlineimap/Account-dicoim ~/.offlineimap/Repository-dicoim-*
$ offlineimap -o
OfflineIMAP 6.7.0
  Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
Account sync dicoim:
 *** Processing account dicoim
 Establishing connection to imap.gmail.com:993
 ERROR: getfolder() asked for a nonexisting folder 'archive'.
 *** Finished account 'dicoim' in 0:01
ERROR: Exceptions occurred during the run!
ERROR: getfolder() asked for a nonexisting folder 'archive'.

Traceback:
  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 263, in syncrunner
    self.__sync()
  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 343, in __sync
    localfolder = self.get_local_folder(remotefolder)
  File "/usr/lib/python2.7/site-packages/offlineimap/accounts.py", line 292, in get_local_folder
    replace(self.remoterepos.getsep(), self.localrepos.getsep()))
  File "/usr/lib/python2.7/site-packages/offlineimap/repository/Maildir.py", line 150, in getfolder
    OfflineImapError.ERROR.FOLDER)

$

My .offlineimaprc is here https://gist.github.com/giacecco/1d368a9ca0cac1cbbede30193be9e654 . The offending nametrans is the one in the Repository dicoim-remote section. The file is almost identical to the one you shared. What am I doing wrong? Thanks.

G.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant