What steps will reproduce the problem?
1. Create an empty file "test.torrent"
2. Attempt to add the empty torrent file in Transmission Remote
3.
What is the expected output? What do you see instead?
Would expect a warning dialog that the file is empty and cannot be added.
Instead the app crashes due to an unhandled exception (see below).
What version of the products are you using?
OS: Win XP
Transmission: 1.73 (build xxx)
Remote: 3.20 (rev 0)
************** Exception Text **************
System.Exception: Empty file
at TransmissionRemoteDotnet.Requests.TorrentAddByFile(String file,
Boolean deleteAfter, JsonArray high, JsonArray normal, JsonArray low,
JsonArray wanted, JsonArray unwanted, String destination, Int32 peerLimit,
Boolean startTorrent)
at TransmissionRemoteDotnet.MainWindow.Upload(String[] args)
at TransmissionRemoteDotnet.MainWindow.addTorrentButton_Click(Object
sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs
e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e,
ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e,
ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.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)
Original issue reported on code.google.com by tarjei.k...@gmail.com on 2 May 2010 at 9:25
Original issue reported on code.google.com by
tarjei.k...@gmail.com
on 2 May 2010 at 9:25