SuperGouge / ChanThreadWatch

Fork of the original discontinued ChanThreadWatch.
90 stars 13 forks source link

Unhandled Exception error #18

Closed fJo81VzbYs2laS9o closed 10 years ago

fJo81VzbYs2laS9o commented 10 years ago

CTW v1.10.5 Unhandled exception error when trying to add a thread with the One-time download option This seems to happen when trying to add a watch thread from any url.

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

\ Exception Text ** System.FormatException: Input string was not in a correct format. at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) at JDP.frmChanThreadWatch.AddThread(String pageURL) at JDP.frmChanThreadWatch.btnAdd_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

fJo81VzbYs2laS9o commented 10 years ago

I don't know how often people actually use this option. This was my first time ever using this option to try to download a thread, and I've been using CTW since Jart announced it on 4chan /s/. That being said, I'd probably assume that not many others use this option either, and would consider it a low priority.

SuperGouge commented 10 years ago

This is actually a bug happening because of an incorrect value entered in the "Check every (minutes):" text field. When this happens, the drop-down menu should be activated instead. This means it happened either just before the input in the text field was validated (which is unlikely) or the validation never occurred (which is weird too). If you remember what was in this text field when you pressed the "Add Thread" button, it would help determine why the validation did not happen.

fJo81VzbYs2laS9o commented 10 years ago

text field for which option? time check interval? that was left at the default 1minute on the pulldown menu. There was/is no text of any kind in the custom time check field

SuperGouge commented 10 years ago

For this bug to happen the drop-down must have been disabled (usually when correct input is in text field). The problem is that it was disabled while the text field didn't contain any valid input which is a situation that shouldn't happen in any case. That's why there must have been something that prevented the drop-down menu from enabling or invalid text was entered without triggering validation.

fJo81VzbYs2laS9o commented 10 years ago

I don't know, I just paste the links, click the one time download then click add and the window pops up with the unhandled exception error.

http://i.imgur.com/M5Y2rsX.jpg

SuperGouge commented 10 years ago

Ok I see what happens it will be fixed in the next release.