-
-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid literal for int() in savemessage #455
Comments
The target IMAP server looks to not be UIDPLUS compliant contrary to what they pretend. I'll see what we can do on our side. |
Usually remote imap responses with something like
|
Github-ref: #455 Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
You might like to try the above patch. ,-) |
Thanks! I will try to use it when error occurs again. |
I had same problem again with same sympthoms. It was impossible to continue sync, because offlineimap crashed with traceback. I applied the patch, it helped, now there are no crashes, just a message:
What does this mean? Message was copied or not? These messages appear on every offlineimap run now (exactly once during the run, 2 in a row):
And when sync is finished, offlineimap does not exit successfully, it says:
Exit code is 1. |
Looks like these 2 messages are copied over and over again on each run:
But they do not seem to be duplicated on target IMAP, thought. |
It's not copied. I agree I should improve the message.
Those 2 messages are the ones that offlineimap tries to copy without success again and again. I have no idea why the server does not return a new UID. I would next manually check the raw content of the faulting mail. |
It seems to me that these 2 messages in question already exist on target IMAP. This is not a problem for my task anymore, but If you wish, I can try to debug, what do I need to do? |
I think we can close this issue. This kind of unexpected response is rare enough. |
Thank you! |
Hello, I have this problem in offlineimap 7.0.12+dfsg1-2, which is packaged on Debian Stretch. Is it fixed in later versions or do I need to apply some patch manually? |
@philip-bl The patch is in since v7.1.1. It won't fix the issue but it will really help understanding what's going on. Feel free to open a new issue because the root cause might be sightly different. |
I am using Offlineimap to copy mailbox from corporate mail (dovecot) to Yandex.
While copying messages I get this error:
resp
variable contains following data:['1493194087 none']
As I am neither python programmer, nor IMAP expert, I have no Idea how to handle it.. How can this be solved?
General informations
offlineimap -V
): offlineimap v7.1.0, imaplib2 v2.57 (bundled), Python v2.7.12The text was updated successfully, but these errors were encountered: