List Info

Thread: Gmail and Courier-Imap




Gmail and Courier-Imap
user name
2008-03-22 11:58:15
Hi all ,
I am trying to sync from a Gmail account to an Courier Imap
and the following is the error message that I get.
Any help will be appreciated.

Johnminvesta:~$ offlineimap
Thread 'Account sync Gmail' terminated with exception:
Traceback (most recent call last):
  File
"/var/lib/python-support/python2.4/offlineimap/threadut
il.py", line
153, in run
    Thread.run(self)
  File "/usr/lib/python2.4/threading.py", line
422, in run
    self.__target(*self.__args, **self.__kwargs)
  File
"/var/lib/python-support/python2.4/offlineimap/accounts
.py", line
114, in syncrunner
    self.sync()
  File
"/var/lib/python-support/python2.4/offlineimap/accounts
.py", line
148, in sync
    remoterepos.syncfoldersto(localrepos, [statusrepos])
  File
"/var/lib/python-support/python2.4/offlineimap/reposito
ry/Base.py",
line 155, in syncfoldersto
    dest.makefolder(key)
  File
"/var/lib/python-support/python2.4/offlineimap/reposito
ry/IMAP.py",
line 240, in makefolder
    raise RuntimeError, "Repository %s could not create
folder %s: %s" % (
self.getname(), foldername, str(result))
RuntimeError: Repository Local could not create folder
[Gmail].Sent Mail:
('NO', ['Invalid mailbox name.'])


Last 50 debug messages logged for Account sync Gmail prior
to exception:
imap: dequote() called with input: orkut
imap: imapsplit() called with input: (HasNoChildren)
"/" "osi"
imap: imapsplit() returning: ['(\HasNoChildren)',
'"/"', '"osi"']
imap: imapsplit() called with input: HasNoChildren
imap: imapsplit() returning: ['\HasNoChildren']
imap: dequote() called with input: "osi"
imap: dequote() returning: osi
imap: dequote() called with input: osi
imap: imapsplit() called with input: (HasNoChildren)
"/" "other"
imap: imapsplit() returning: ['(\HasNoChildren)',
'"/"', '"other"']
imap: imapsplit() called with input: HasNoChildren
imap: imapsplit() returning: ['\HasNoChildren']
imap: dequote() called with input: "other"
imap: dequote() returning: other
imap: dequote() called with input: other
imap: imapsplit() called with input: (HasNoChildren)
"/" "reference"
imap: imapsplit() returning: ['(\HasNoChildren)',
'"/"', '"reference"']
imap: imapsplit() called with input: HasNoChildren
imap: imapsplit() returning: ['\HasNoChildren']
imap: dequote() called with input: "reference"
imap: dequote() returning: reference
imap: dequote() called with input: reference
imap: imapsplit() called with input: (HasNoChildren)
"/" "slashdot"
imap: imapsplit() returning: ['(\HasNoChildren)',
'"/"', '"slashdot"']
imap: imapsplit() called with input: HasNoChildren
imap: imapsplit() returning: ['\HasNoChildren']
imap: dequote() called with input: "slashdot"
imap: dequote() returning: slashdot
imap: dequote() called with input: slashdot
imap: imapsplit() called with input: (HasNoChildren)
"/" "sriram"
imap: imapsplit() returning: ['(\HasNoChildren)',
'"/"', '"sriram"']
imap: imapsplit() called with input: HasNoChildren
imap: imapsplit() returning: ['\HasNoChildren']
imap: dequote() called with input: "sriram"
imap: dequote() returning: sriram
imap: dequote() called with input: sriram
imap: Attempting plain authentication
imap: imapsplit() called with input: (Noselect)
"." ""
imap: imapsplit() returning: ['(\Noselect)',
'"."', '""']
imap: dequote() called with input: "."
imap: dequote() returning: .
imap: dequote() called with input: ""
imap: dequote() returning:
imap: imapsplit() called with input: (Unmarked
HasNoChildren) "." "INBOX"
imap: imapsplit() returning: ['(\Unmarked
\HasNoChildren)', '"."',
'"INBOX"']
imap: imapsplit() called with input: Unmarked
HasNoChildren
imap: imapsplit() returning: ['\Unmarked',
'\HasNoChildren']
imap: dequote() called with input: "INBOX"
imap: dequote() returning: INBOX
imap: dequote() called with input: INBOX


With Regards

Antano Solar John




Re: Gmail and Courier-Imap
user name
2008-03-22 17:14:13
On Saturday 22 March 2008 11:58:15 am Antano Solar wrote:
> Hi all ,
> I am trying to sync from a Gmail account to an Courier
Imap
> and the following is the error message that I get.
> Any help will be appreciated.
>
> Johnminvesta:~$ offlineimap

>     raise RuntimeError, "Repository %s could not
create folder %s: %s" % (
> self.getname(), foldername, str(result))
> RuntimeError: Repository Local could not create folder
[Gmail].Sent Mail:
> ('NO', ['Invalid mailbox name.'])

Looks like your Local repository doesn't like that mailbox
name.  Maybe the 
brackets, or maybe the space?




[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )