I was doing some work in the profile manager which included Adding, removing, renaming, and adding colors to channels. I wasn't watching closely enough to describe exactly the steps I took, but...
*********** Exception Text ***********
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at StandardSequence.StandardSequence.UpdateGrid(Graphics g)
at StandardSequence.StandardSequence.pictureBoxGrid_Paint(Object sender, PaintEventArgs e)
at System.Windows.Forms.Control.OnPaint(PaintEventArgs e)
at System.Windows.Forms.PictureBox.OnPaint(PaintEventArgs pe)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.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)
------------
Oh, and I also started another (1.1.11) copy of Vixen while this one was running to look at some of my channels...was that the problem? 😕
A screenshot is attached.
-Matt
Now, when I try to open the sequence I was working with, I get an exception:
*********** Exception Text ***********
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Vixen.EventSequence.LoadFromXml(XmlNode contextNode)
at Vixen.EventSequence..ctor(String fileName)
at StandardSequence.StandardSequence.Open(String filePath)
at Vixen.Form1.OpenSequence(String fileName)
at Vixen.Form1.openALightingProgramToolStripMenuItem_Click(Object sender, EventArgs e)
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)
So I would assume whatever I did last time corrupted the file?
I have attached the .vix file.
-Matt
I'll take a look at it tonight and get it fixed for you.
Matt - can you also attach the "Channels 2007" profile and any channel group files that it references?
Sure thing- the .pro extension isn't allowed on the forum - so I've renamed the extension to .txt - If it doesn't work let me know.
.pro is now allowed.
Thanks Brian - Will it work?....
...Of Course! Here's the .pro file.
-Matt
Running the two versions in separate locations shouldn't be an issue since you're working with two different files.
Was there any event data in the file? I can open it with my latest build (not yet released) without any errors, but there is no event data, the sequence is blank. Was this the state you left it in?
Yes, I was still working with the Channels profile and hadn't added any events yet.
-Matt
