Humm.. that's strange. Maybe it's something inside the external component used
by DWSIM to evaluate expressions. I'll change my locale settings to Turkish
and try to debug the error to see what happens.
Thanks for your feedback!
Daniel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Indeed there is an error with the expression evaluator when the locale
settings are set to Turkish. I've downloaded the source code to see what's
going on... it seems that it doesn't accept any variable which starts with
"I"...
/Daniel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi developers,
Congratulation for a great work.
I installed the latest Beta (3618) on Windows XP English version. I launced
dwsim and clicked "Create New Simulation"
I received the following error:
System.ArgumentException: 'I1' is not a valid name
at Ciloci.Flee.VariableCollection.ValidateVariableName(String name)
at Ciloci.Flee.VariableCollection.DefineVariable(String name, Type
variableType)
at DWSIM.SpreadsheetForm.DefineVariables()
at DWSIM.SpreadsheetForm.UISpreadsheetEditorForm_Load(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.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at WeifenLuo.WinFormsUI.Docking.DockContentHandler.SetVisible()
at WeifenLuo.WinFormsUI.Docking.DockPane.set_ActiveContent(IDockContent value)
at WeifenLuo.WinFormsUI.Docking.DockContentHandler.Activate()
at WeifenLuo.WinFormsUI.Docking.DockContentHandler.Show(DockPanel dockPanel,
DockState dockState)
at WeifenLuo.WinFormsUI.Docking.DockContentHandler.Show(DockPanel dockPanel)
at WeifenLuo.WinFormsUI.Docking.DockContent.Show(DockPanel dockPanel)
at DWSIM.FormChild.FormChild_Load(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)
Could you help me?
Hello,
Did this error happen just once or aren't you able to start a simulation at
all?
This happens everyt'me I lunch it. I cannot create a new simulation or open an
existing one/
I installed dwsim on a Turkish version of Windows 7. It gives me the exact
same error.
Anything I can do to help?
Regards,
cg
Ok,
It's the regional settings. I had set it to English (US) and it started
working.
In both versions (XP & 7)
Regards,
cg.
Humm.. that's strange. Maybe it's something inside the external component used
by DWSIM to evaluate expressions. I'll change my locale settings to Turkish
and try to debug the error to see what happens.
Thanks for your feedback!
Daniel
Indeed there is an error with the expression evaluator when the locale
settings are set to Turkish. I've downloaded the source code to see what's
going on... it seems that it doesn't accept any variable which starts with
"I"...
/Daniel