newsmangler icon indicating copy to clipboard operation
newsmangler copied to clipboard

Lost connection bugs everything

Open greencopper opened this issue 13 years ago • 3 comments

I know this is in the TODO, but I believe it should be reported as an issue anyway.

When poster looses a connection it faults and posting has to begin over with a reset count or what ever.

It would be really cool if poster had the ability to keep checking for a connection and then continue once the connection is reestablished. Perhaps an option for how long it should keep trying, 0 = infinitely.

greencopper avatar Jan 04 '12 03:01 greencopper

I've never actually used newsmangler apart from testing to make sure it worked, I wrote it mostly as a proof of concept. I have a number of other projects on the go right now, I'm not sure if/when I'll get any time to look at this :(

madcowfred avatar Jan 14 '12 03:01 madcowfred

I think what is needed most is if newsmangler can resume an upload. It doesn't matter that much if it hangs during a lost connection, and it doesn't even matter if you have to manually stop it with CTRL+C, but once you have to do that, it will begin over.

A simple idea is to keep a log so that newsmangler checks the log to see where it was last.

If I'm uploading say 120 files and poster looses the connection, I can repost, but without starting over.

Having the option "--resume" for example, in which case poster will continue with the last file it lost and NOT starting all over, and also keeping the title in correct order so it continues with (75 of 120) and not (1 of 120) again or (1 of 45).

greencopper avatar Jan 19 '12 02:01 greencopper

I'm currently in the middle of rewriting some of the awful internals of newsmangler, adding a log of which parts have been posted (and skipping those automatically) is definitely a high priority after that.

madcowfred avatar Mar 12 '12 04:03 madcowfred