Skip to content

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

@giacecco

Description

@giacecco

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions