LDraw.org Discussion Forums

Full Version: [LDPatternCreator] Release 1.7.1 (better rotation / usability / triangulation)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
I get an unhandled exception every time I create a reference line. The error message is this:
Code:
See the end of this message for details on invoking \njust-in-time (JIT) debugging instead of this dialog box.\n\n************** Exception Text **************\nSystem.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
  at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x00098] in <a3003ab57e8d46439df2e20f3cf113cd>:0
  at System.Drawing.Graphics.DrawPolygon (System.Drawing.Pen pen, System.Drawing.PointF[] points) [0x00031] in <a3003ab57e8d46439df2e20f3cf113cd>:0
  at (wrapper remoting-invoke-with-check) System.Drawing.Graphics.DrawPolygon(System.Drawing.Pen,System.Drawing.PointF[])
  at LDPatternCreator.MainForm.MainForm_Paint (System.Object sender, System.Windows.Forms.PaintEventArgs e) [0x01c36] in <7451312ec7f840bca950d9acf6ff2ad3>:0
  at System.Windows.Forms.Control.OnPaint (System.Windows.Forms.PaintEventArgs e) [0x0001f] in <afc71676634a41889c6929c14e8a57bd>:0
  at System.Windows.Forms.Form.OnPaint (System.Windows.Forms.PaintEventArgs e) [0x00001] in <afc71676634a41889c6929c14e8a57bd>:0
  at System.Windows.Forms.Control.PaintWithErrorHandling (System.Windows.Forms.PaintEventArgs e, System.Int16 layer) [0x00043] in <afc71676634a41889c6929c14e8a57bd>:0
  at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x00219] in <afc71676634a41889c6929c14e8a57bd>:0
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x003cb] in <afc71676634a41889c6929c14e8a57bd>:0
  at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00043] in <afc71676634a41889c6929c14e8a57bd>:0
  at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x0001a] in <afc71676634a41889c6929c14e8a57bd>:0
  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m) [0x00318] in <afc71676634a41889c6929c14e8a57bd>:0
  at System.Windows.Forms.Control+ControlNativeWindow.OnMessage (System.Windows.Forms.Message& m) [0x00001] in <afc71676634a41889c6929c14e8a57bd>:0
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x000b3] in <afc71676634a41889c6929c14e8a57bd>:0
  at System.Windows.Forms.NativeWindow.Callback (System.IntPtr hWnd, System.Int32 msg, System.IntPtr wparam, System.IntPtr lparam) [0x00030] in <afc71676634a41889c6929c14e8a57bd>:0

\n************** Loaded Assemblies **************\nmscorlib\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/4.5/mscorlib.dll\n----------------------------------------\nLDPatternCreator\n    Assembly Version: 1.7.1.0\n    Win32 Version: 1.7.1.0\n    CodeBase: file:///Z:/Applications/LDPatternCreator/LDPatternCreator.exe\n----------------------------------------\nMicrosoft.VisualBasic\n    Assembly Version: 10.0.0.0\n    Win32 Version: 10.0.0.0\n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/gac/Microsoft.VisualBasic/10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll\n----------------------------------------\nSystem\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll\n----------------------------------------\nSystem.Windows.Forms\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/gac/System.Windows.Forms/4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll\n----------------------------------------\nSystem.Drawing\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll\n----------------------------------------\nSystem.Configuration\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll\n----------------------------------------\nAccessibility\n    Assembly Version: 4.0.0.0\n    Win32 Version: \n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/gac/Accessibility/4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll\n----------------------------------------\nI18N\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.0.0.0\n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/gac/I18N/4.0.0.0__0738eb9f132ed756/I18N.dll\n----------------------------------------\nI18N.West\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.0.0.0\n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/gac/I18N.West/4.0.0.0__0738eb9f132ed756/I18N.West.dll\n----------------------------------------\n\n************** JIT Debugging **************\n

I see "mono" in there a lot, and I feel like I read that's a problem with LDPC. Could that be it?
After nearly finishing a project, I was unable to load it again, instead finding this error message:
[attachment=6449]

I fear all is lost, unless I can find a way to resolve this. Huh
(2021-05-06, 13:48)N. W. Perry Wrote: [ -> ]After nearly finishing a project, I was unable to load it again, instead finding this error message:


I fear all is lost, unless I can find a way to resolve this. Huh

Please upload your *.lpc file here and I will try to rescue it.

I can't provide full support for running LDPatternCreator under MacOS X.
There is no offical support for the .NET Framework under MacOS X.

I should either re-write LDPatternCreator (platform independently) or integrate it into LDPartEditor.
This is something which requires a lot of freetime effort.
(2020-04-22, 19:34)Orion Pobursky Wrote: [ -> ]Any chance I could get a .zip file of the program vice an installer?

There is currently no standalone version.
*.lpc files need to be registered, the program requires a temporary folder for the integrated batch processes and also a folder for its configuration.
All in all, it is not trivial to create a working standalone version.
(2021-05-14, 10:11)Nils Schmidt Wrote: [ -> ]Please upload your *.lpc file here and I will try to rescue it.

I can't provide full support for running LDPatternCreator under MacOS X.
There is no offical support for the .NET Framework under MacOS X.

I should either re-write LDPatternCreator (platform independently) or integrate it into LDPartEditor.
This is something which requires a lot of freetime effort.

Thanks, I did eventually get the project finished. I start over a lot anyway so it wasn't such a big deal. :-)

I'm running windows programs under Wine, so if there's something about yours that doesn't work, it suggests the problem is more with Wine than with LPC. Can you at least tell where the error is happening? It's all gibberish to me!
Pages: 1 2 3 4 5