Git Product home page Git Product logo

Comments (5)

hjo1620 avatar hjo1620 commented on July 20, 2024

Please ignore this bugreport.
The error occured while the source server was slow to respond, today I don't have this error.

from larch.

rgrove avatar rgrove commented on July 20, 2024

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.

hjo1620 avatar hjo1620 commented on July 20, 2024

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.

rgrove avatar rgrove commented on July 20, 2024

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.

hjo1620 avatar hjo1620 commented on July 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.