I've sent a possible patch here:
http://code.google.com/p/web2py/issues/detail?id=644#c7
Seems that will solve the issue (there were no errors with the last trunk
version)
--
I reproduced the error with gpo2py, but I'm sure it's a bug in IMAPAdapter,
as pyhead said. I'll try a patch as soon as possible.
El jueves, 21 de junio de 2012 20:56:12 UTC-3, pyhead escribió:
>
> The test is being done on gmail IMAP. It must be a bug in IMAP DAL
> implementation and not gpo2p
The test is being done on gmail IMAP. It must be a bug in IMAP DAL
implementation and not gpo2py itself. The mailbox was used by Mac Mail.app
and has mailboxes with './\' characters in the names. Can anyone confirm?
The IMAP RFC does not list these characters as prohibited
http://www.faqs.or
Sorry, I was not aware of your message from the mail list. It works for my
gmail account, with web2py stable and the built-in server. I have not
tested IMAPAdapter with any other mail brand. I forgot to upload the app
installer to the project page. Now it's available here:
http://code.google.co
Unfortunately neither of these seems to work. I downloaded
your gpo2py mail client that uses DAL IMAP hoping to use it as an example,
but it doesn't work at all. Have you tested it with any IMAP servers that
work, or is this problem specific to the gmail IMAP server? I'm stuck.
On Monday, Ap
> On Monday, April 16, 2012 1:57:02 PM UTC-3, Alan Etkin wrote:I think it
probably will, since
> replacing anything with "_" would set compatible table name strings.
My mistake, with Massimo regular expression command the brackets are not
replaced by underscore (they are removed), so I assume th
I think it probably will, since replacing anything with "_" would set
compatible table name strings.
There's one caveat:
"abc[something]def" mapping will overwrite the "abc/something/def", so you
cannot have both folders in your mail account.
Although the case is very uneven, perhaps a combine
Will the proposed solution solve the problem?
replace mailbox_name = mailbox.replace("[", "").replace("]", "").replace("/",
"_")
with
mailbox_name = re.sub('[^_\w]','',re.sub('[/ ]','_',mailbox))
On Sunday, 15 April 2012 18:40:29 UTC-5, Alan Etkin wrote:
>
> Not fixed yet in trunk. There is
Not fixed yet in trunk. There is a regex replacement proposal in the issue
page by Massimo.
El sábado, 14 de abril de 2012 22:44:41 UTC-3, pyhead escribió:
>
>
> Hi web2py users,
>
> db = DAL('imap://') successfully logs in to the mail server, but fails
> when the commonly used spaces or '.' are
9 matches
Mail list logo