1
Vote

Nice warning when download list is full

description

Upgraded my syno-firmware to DSM 2.1-0832 and now almost nothing works. I assumed the firmware upgrade was a minor bug-fix (big mistake!!) and the ongoing problems were going to be fixed when you released your next version, but now I think something has changed in the way my DS -108j communicates. More details available when you want...
 
John

comments

Flard wrote Mar 26, 2009 at 3:02 PM

Please post the full exception message so I can analyse the impact.

(I'm going a short holiday tomorrow, so I'm afraid I don't have time to look into it before next week.)

John_Parsons wrote Mar 26, 2009 at 3:06 PM

Try to D/L adding URL to dialog:
Date and Time: 26/03/2009 15:04:36
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 3

Application: C:\Program Files\SynoManager\SynoManagerGUI.exe
Version: 0.12.0.0

Exception Source: SynoManager.DownloadStation
Exception type: SynoManager.CommunicationException
Exception message: Download Station returned data in an unexpected format

Stack trace:
at SynoManager.DownloadStation.DownloadRedirector.GetResult[T](String method, String action, String data, String[] args) in D:\Development\SynoManager\SynoManager.DownloadStation\DownloadRedirector.cs:line 343
at SynoManager.DownloadStation.DownloadRedirector.AddUrl(String url) in D:\Development\SynoManager\SynoManager.DownloadStation\DownloadRedirector.cs:line 152
at SynoManager.DownloadStation.DownloadStationService.AddUrl(String url) in D:\Development\SynoManager\SynoManager.DownloadStation\DownloadStationService.cs:line 157
at SynoManager.DownloadStation.DownloadGuiPlugin.addUrlTask(Object sender, EventArgs e) in D:\Development\SynoManager\SynoManager.DownloadStation\DownloadGuiPlugin.cs:line 238
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.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.ToolStripDropDown.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.ToolStripDropDown.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)
--- Inner Exception ---
Exception Source: SynoManager.Core
Exception type: LitJson.JsonException
Exception message: The type SynoManager.DownloadStation.DownloadRedirector+DownloadRedirectorResult doesn't have the property 'task_error_limit'
---JSON Debug Info---
Method:
Key: task_error_limit
Value: True
JSON Type: Boolean
.NET Type: Boolean
Input:
{
"success" : true,
"task_error_limit" : "ERR_REACH_LIMIT_USER"
}




Stack trace:
at LitJson.JsonMapper.ReadValue(Type inst_type, JsonReader reader) in D:\Development\SynoManager\SynoManager.Core\LitJson\JsonMapper.cs:line 470
at LitJson.JsonMapper.ToObject[T](String json) in D:\Development\SynoManager\SynoManager.Core\LitJson\JsonMapper.cs:line 884
at SynoManager.DownloadStation.DownloadRedirector.GetResult[T](String method, String action, String data, String[] args) in D:\Development\SynoManager\SynoManager.DownloadStation\DownloadRedirector.cs:line 339

John_Parsons wrote Mar 26, 2009 at 3:09 PM

Similar trace when using command line:
Date and Time: 26/03/2009 15:07:33
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 3

Application: C:\Program Files\SynoManager\SynoManagerGUI.exe
Version: 0.12.0.0

Exception Source: SynoManager.DownloadStation
Exception type: SynoManager.CommunicationException
Exception message: Download Station returned data in an unexpected format

Stack trace:
at SynoManager.DownloadStation.DownloadRedirector.GetResult[T](String method, String action, String data, String[] args) in D:\Development\SynoManager\SynoManager.DownloadStation\DownloadRedirector.cs:line 343
at SynoManager.DownloadStation.DownloadRedirector.AddUrl(String url) in D:\Development\SynoManager\SynoManager.DownloadStation\DownloadRedirector.cs:line 152
at SynoManager.DownloadStation.DownloadStationService.AddUrl(String url) in D:\Development\SynoManager\SynoManager.DownloadStation\DownloadStationService.cs:line 157
at SynoManager.DownloadStation.DownloadStationService.Add(String location) in D:\Development\SynoManager\SynoManager.DownloadStation\DownloadStationService.cs:line 111
at SynoManager.GUI.MainForm.ProcessQueuedCommendLineArguments() in D:\Development\SynoManager\SynoManager.GUI\MainForm.cs:line 313
at SynoManager.GUI.MainForm.OpenConnection() in D:\Development\SynoManager\SynoManager.GUI\MainForm.cs:line 139
at SynoManager.GUI.MainForm.MainForm_Load(Object sender, EventArgs e) in D:\Development\SynoManager\SynoManager.GUI\MainForm.cs:line 71
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.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)
--- Inner Exception ---
Exception Source: SynoManager.Core
Exception type: LitJson.JsonException
Exception message: The type SynoManager.DownloadStation.DownloadRedirector+DownloadRedirectorResult doesn't have the property 'task_error_limit'
---JSON Debug Info---
Method:
Key: task_error_limit
Value: True
JSON Type: Boolean
.NET Type: Boolean
Input:
{
"success" : true,
"task_error_limit" : "ERR_REACH_LIMIT_USER"
}




Stack trace:
at LitJson.JsonMapper.ReadValue(Type inst_type, JsonReader reader) in D:\Development\SynoManager\SynoManager.Core\LitJson\JsonMapper.cs:line 470
at LitJson.JsonMapper.ToObject[T](String json) in D:\Development\SynoManager\SynoManager.Core\LitJson\JsonMapper.cs:line 884
at SynoManager.DownloadStation.DownloadRedirector.GetResult[T](String method, String action, String data, String[] args) in D:\Development\SynoManager\SynoManager.DownloadStation\DownloadRedirector.cs:line 339

John_Parsons wrote Mar 26, 2009 at 3:23 PM

Tried everything else (music library, preferences, browsing D/L files etc and the only problem I had was that it wouldn't open a file on the D/L page-

Open Task

Could not open file. Is the share accessible?

OK

John

PS Have a nice holiday!

Flard wrote Mar 26, 2009 at 3:27 PM

Hmm... interesting...

From the looks of it the diskstation is returning "ERR_REACH_LIMIT_USER". I assume that the 'official' Download Redirector is still working?
(It's also strange that the diskstation is still saying: 'success: true').

John_Parsons wrote Mar 27, 2009 at 10:58 AM

Duh!
Official redirector says:
"Number of download tasks has reached the maximum limit. You can clear the completed download tasks or remove some unfinished download tasks. Then create new ones."
The wierdest thing about it is that you can still happily add a download task via the web interface, which is why I thought it was a synomanager issue!
Looks like you will have to add some more error handling!
UPDATE:
Cleared list on disk station, synomanager now working fine - excellent!

John

Flard wrote Mar 30, 2009 at 1:00 PM

(Renamed the issue)

I'm very glad the problem is resolved. I wil try to add a nice dialog when the user limit is reached.

wrote Mar 30, 2009 at 1:00 PM

wrote Feb 13, 2013 at 9:54 PM