Bug slicing with curengine

edited November 2017 in CuraEngine
Hi,

Everything was working well but yesterday without no reason Cura engine decided to bug when slicing whaever might be the sliced object.
See print screen below

I tryed to reinstall repetier but it had no effect.
I saw some data stayed on the software after uninstall / install like start gcode, end gcode,...
I think I might have to clean those data staying on the computer and after reinstall repetier but I don't know where I can find it.
Am I true?
Where can I find it?

see below the content of "details"

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

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
   at System.String.IndexOf(Char value, Int32 startIndex, Int32 count)
   at CuraEngine.CuraEngineInstance.ParseGCode(String orig, List`1 flist, Int32 bedTemp, CuraPrintSettings printSettings)
   at CuraEngine.CuraEngineInstance.WriteCuraConfig(String filename)
   at CuraEngine.CuraEngineInstance.Slice(String[] files, String output)
   at RepetierHost.view.SlicerPanel.StartSlicing()
   at RepetierHost.view.SlicerPanel.buttonStartSlicing_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2116.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
RepetierHost
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/Repetier-Host/RepetierHost.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2116.0 built by: NET47REL1LAST
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2116.0 built by: NET47REL1LAST
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2116.0 built by: NET47REL1LAST
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
RepetierHostExtender
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/Repetier-Host/RepetierHostExtender.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0 built by: NET47REL1
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2116.0 built by: NET47REL1LAST
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2116.0 built by: NET47REL1LAST
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
OpenTK
    Assembly Version: 1.2.0.0
    Win32 Version: 1.2.2336.6514-pre
    CodeBase: file:///C:/Program%20Files/Repetier-Host/OpenTK.DLL
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0 built by: NET47REL1
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
ColorSlider
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/Repetier-Host/ColorSlider.DLL
----------------------------------------
CuraEngine
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/Repetier-Host/plugins/CuraEngine/CuraEngine.dll
----------------------------------------
RepetierServerConnector
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/Repetier-Host/plugins/RepetierServerConnector/RepetierServerConnector.dll
----------------------------------------
RRFirmwares
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/Repetier-Host/plugins/RRFirmwares/RRFirmwares.dll
----------------------------------------
SlicerSlic3r
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/Repetier-Host/plugins/SlicerSlic3r/SlicerSlic3r.dll
----------------------------------------
SlicerSlic3rPE
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/Repetier-Host/plugins/SlicerSlic3rPE/SlicerSlic3rPE.dll
----------------------------------------
System.ServiceProcess
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2053.0 built by: NET47REL1
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.8.18111
    CodeBase: file:///C:/Program%20Files/Repetier-Host/Newtonsoft.Json.DLL
----------------------------------------
OpenTK.GLControl
    Assembly Version: 1.2.0.0
    Win32 Version: 1.2.2336.6514-pre
    CodeBase: file:///C:/Program%20Files/Repetier-Host/OpenTK.GLControl.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.





Comments

  • You have 4 scripts with your cura configuration (start, end, before and after extruder switch). One of the scripts must be modified and have an error. Copy the scripts used one by one to an editor, delete in config, save and test. At one point it will start working then you know which script causes this. You can fix then the script. But please do me the favour and send me the defect script so I can use it to test what exactly goes wrong so I can prevent this on future versions.
  • I found the mistake and I must admit I have been such an idiot than if I could I would ask for divorce to myself.
    I had a "{" on a line with no other symbol. So as usual in computer science the mistake was in between the screen and the chair.
    Thanks for your help.
  • On the other side I now found a bug from this error that prevents it on upcoming versions:-)
Sign In or Register to comment.