Comments (5)
Please ignore this bugreport.
The error occured while the source server was slow to respond, today I don't have this error.
from larch.
Unfortunately, this is a bug in Ruby's Net::IMAP library that Larch has no control over. Glad to hear you eventually got past it, though.
from larch.
FYI I didn't really give a complete picture regarding the error, I'm sorry about that.
Here's what happened:
- I ran the migration using larch
- it failed/stopped with the errormessage in the above bug report
- I re-ran larch 3 times, and it always stopped at the same message (slightly different debug output afaic remember)
- I used Thunderbird to manually, via IMAP, move the last message in the debug output
- Manual move worked
- Re-ran, and now the migration ran to completion
(emails: 16436, folders: 354, mailbox transferred/size: 928MB)
The single message that blocked the migration, had a weird (dingbat looking) character in the subject.
from larch.
Yep. If Net::IMAP's response parser gets into an unexpected state due to a malformed or otherwise unanticipated response, it can cause a deadlock like this. Skipping the offending message or moving it out of the way with another mail client can get things moving again.
from larch.
Is it possible to scan the source mailbox beforehand, for these kinds of malformed messages, i.e. can we detect them somehow ?
The previous migration took 8 hours, and I would like to not monitor it, rather manually move malformed emails beforehand.
from larch.
Related Issues (20)
- [error] mailbox cannot contain messages HOT 1
- repair fetched mail on-the-fly - recalculation of guid needed HOT 1
- hande unescaped special characters in mail envelope HOT 2
- gmail ssl HOT 1
- Segfault with Larch 1.1.1 and Amalgalite 1.1.2 Segfaults When Fetching Message Flags on ~4GB Gmail Account HOT 2
- Inserting missing Message-Id HOT 3
- piping through tee, ruby buffer HOT 1
- Cannot sync from Appleโs iCloud servers HOT 1
- Successfully copied mailboxes from courier-imap server
- "message not found on server"
- undefined method `empty?' HOT 1
- Unable to parse flag \NonJunk
- message filtering
- Add 'runall' option
- Support for special characters
- Import into Gmail hangs on a message that is too large
- Error copying messages from subfolder using davmail 4.5.1
- Problem of port HOT 2
- Error in search mailbox differences
- [warning] [>] Net::IMAP::ResponseParseError: unexpected token LBRA (will retry)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from larch.