ASCII Dataset Exception in Data Manager
Author: JimJames
Creation Date: 3/6/2013 1:07 AM
profile picture

JimJames

#1
Error occured when double clicking on symbol details in the data manager for an ASCII file dataset.

The reported argument out of range was one more than the number of symbols in the dataset.

Using 6.4.52.0 64-bit edition.






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

************** Exception Text **************
System.ArgumentOutOfRangeException: Value of '26' is not valid for 'Value'. 'Value' should be between 'minimum' and 'maximum'.
Parameter name: Value
at System.Windows.Forms.ProgressBar.set_Value(Int32 value)
at WealthLabPro.DataManagerForm.x(Object A_0, EventArgs A_1)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
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.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

profile picture

Eugene

#2
It's only guesswork at this point, but I think that the data formats of your ASCII files are mixed in this DataSet. The ASCII provider always uses the first ASCII file to set the format for the entire DataSet. If the directory contains files in a different ASCII format, applying the saved settings will likely fail.

Consequently, uniformity of format is required within an ASCII DataSet. If you believe that the data for all included symbols is 100% uniform i.e. follow the convention 'religiously', you might want to zip and attach the DataSet's XML file (User Guide > Data > Where data are stored?, enable hidden file/folder visibility in Windows Control Panel > Folder Options) AND the entire folder with ASCII files the DataSet is pointing at.
profile picture

JimJames

#3
Sorry Eugene, I know that is a really picky error and I don't want to jam up the forum. I would have just stuck it in a support ticket but the support link said to post here.

That data manager error occurs on any dataset, not just ASCII file when I select a dataset and then DOUBLE click on "Symbol Details" at the top of the pane. If I click once it works ok. I would put it to the bottom of the bug list.
profile picture

Eugene

#4
No problem James, finding a solution to any issue only adds value - not jams up.

Double-clicking on 'Symbol Details' is the key. Somehow I overlooked it when reading your first message. It makes zero sense to do. Chances are you're the first to have discovered this error message. ;) To rephrase an old doctor's office joke:

- When I double-click "Symbol Details", I get an exception
- Don't do that then!
profile picture

JimJames

#5
Doctor I swear it was an accident, I never meant to shoot anyone, my mouse finger is just trigger happy <g>
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).