Repetier Host won't strat after a crash

Hi,

I was using repetier and about to slice an STL when it closed unexpectedly. It wouldn't restart and gave the following message if I start from terminal. This also happens after restarting Linux and downloading fresh copy of Repetier.

Repetier-Host-x86_64-2.1.3.AppImage
LD_LIBRARY_PATH = /tmp/.mount_RepetiSUIFXB/usr/lib:/tmp/.mount_RepetiSUIFXB/usr/lib/mono/4.5:
MONO_PATH = /tmp/.mount_RepetiSUIFXB/usr/lib/mono/4.5
Gtk-Message: 18:35:18.858: Failed to load module "topmenu-gtk-module"

Unhandled Exception:
System.ArgumentNullException: Value cannot be null.
Parameter name: value
  at Microsoft.Win32.RegistryKey.SetValue (System.String name, System.Object value) [0x00009] in <a07d6bf484a54da2861691df910339b1>:0
  at (wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey:SetValue (string,object)
  at RepetierHost.view.utils.RegMemoryFolder.SetString (System.String r, System.String val) [0x00001] in <4b6b78851490464eaa6ae55615a8e4c5>:0
  at SlicerSlic3rPE.Slic3rInstance.StorePrinterSettings () [0x000e0] in <02f4fae9d81d40aebcbb2938848c3430>:0
  at SlicerSlic3rPE.Slic3rPanelPE.comboInfillPattern_SelectedIndexChanged (System.Object sender, System.EventArgs e) [0x0001b] in <02f4fae9d81d40aebcbb2938848c3430>:0
  at System.Windows.Forms.ComboBox.OnSelectedIndexChanged (System.EventArgs e) [0x00020] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.ComboBox.SetSelectedIndex (System.Int32 value, System.Boolean supressAutoScroll) [0x00093] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.ComboBox.set_SelectedIndex (System.Int32 value) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.ComboBox+ObjectCollection.RemoveAt (System.Int32 index) [0x0004b] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at SlicerSlic3rPE.Slic3rPanelPE.UpdateButtons () [0x0001d] in <02f4fae9d81d40aebcbb2938848c3430>:0
  at (wrapper remoting-invoke-with-check) SlicerSlic3rPE.Slic3rPanelPE:UpdateButtons ()
  at SlicerSlic3rPE.Slic3rInstance.ReadPrinterSettings () [0x001a2] in <02f4fae9d81d40aebcbb2938848c3430>:0
  at SlicerSlic3rPE.Slic3rInstance.SelectPrinter (RepetierHostExtender.interfaces.IPrinter _printer) [0x00023] in <02f4fae9d81d40aebcbb2938848c3430>:0
  at (wrapper delegate-invoke) <Module>:invoke_void_IPrinter (RepetierHostExtender.interfaces.IPrinter)
  at RepetierHost.Main.OnPrinterChanged (RepetierHostExtender.interfaces.IRegMemoryFolder printerKey, System.Boolean printerChanged2) [0x0009d] in <4b6b78851490464eaa6ae55615a8e4c5>:0
  at RepetierHost.view.FormPrinterSettings.formToCon () [0x001fa] in <4b6b78851490464eaa6ae55615a8e4c5>:0
  at (wrapper remoting-invoke-with-check) RepetierHost.view.FormPrinterSettings:formToCon ()
  at RepetierHost.Main..ctor () [0x01599] in <4b6b78851490464eaa6ae55615a8e4c5>:0
  at (wrapper remoting-invoke-with-check) RepetierHost.Main:.ctor ()
  at RepetierHost.Program.Main (System.String[] args) [0x0001a] in <4b6b78851490464eaa6ae55615a8e4c5>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentNullException: Value cannot be null.
Parameter name: value
  at Microsoft.Win32.RegistryKey.SetValue (System.String name, System.Object value) [0x00009] in <a07d6bf484a54da2861691df910339b1>:0
  at (wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey:SetValue (string,object)
  at RepetierHost.view.utils.RegMemoryFolder.SetString (System.String r, System.String val) [0x00001] in <4b6b78851490464eaa6ae55615a8e4c5>:0
  at SlicerSlic3rPE.Slic3rInstance.StorePrinterSettings () [0x000e0] in <02f4fae9d81d40aebcbb2938848c3430>:0
  at SlicerSlic3rPE.Slic3rPanelPE.comboInfillPattern_SelectedIndexChanged (System.Object sender, System.EventArgs e) [0x0001b] in <02f4fae9d81d40aebcbb2938848c3430>:0
  at System.Windows.Forms.ComboBox.OnSelectedIndexChanged (System.EventArgs e) [0x00020] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.ComboBox.SetSelectedIndex (System.Int32 value, System.Boolean supressAutoScroll) [0x00093] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.ComboBox.set_SelectedIndex (System.Int32 value) [0x00000] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at System.Windows.Forms.ComboBox+ObjectCollection.RemoveAt (System.Int32 index) [0x0004b] in <c86f0be4f9a847d3b8d63306221e6732>:0
  at SlicerSlic3rPE.Slic3rPanelPE.UpdateButtons () [0x0001d] in <02f4fae9d81d40aebcbb2938848c3430>:0
  at (wrapper remoting-invoke-with-check) SlicerSlic3rPE.Slic3rPanelPE:UpdateButtons ()
  at SlicerSlic3rPE.Slic3rInstance.ReadPrinterSettings () [0x001a2] in <02f4fae9d81d40aebcbb2938848c3430>:0
  at SlicerSlic3rPE.Slic3rInstance.SelectPrinter (RepetierHostExtender.interfaces.IPrinter _printer) [0x00023] in <02f4fae9d81d40aebcbb2938848c3430>:0
  at (wrapper delegate-invoke) <Module>:invoke_void_IPrinter (RepetierHostExtender.interfaces.IPrinter)
  at RepetierHost.Main.OnPrinterChanged (RepetierHostExtender.interfaces.IRegMemoryFolder printerKey, System.Boolean printerChanged2) [0x0009d] in <4b6b78851490464eaa6ae55615a8e4c5>:0
  at RepetierHost.view.FormPrinterSettings.formToCon () [0x001fa] in <4b6b78851490464eaa6ae55615a8e4c5>:0
  at (wrapper remoting-invoke-with-check) RepetierHost.view.FormPrinterSettings:formToCon ()
  at RepetierHost.Main..ctor () [0x01599] in <4b6b78851490464eaa6ae55615a8e4c5>:0
  at (wrapper remoting-invoke-with-check) RepetierHost.Main:.ctor ()
  at RepetierHost.Program.Main (System.String[] args) [0x0001a] in <4b6b78851490464eaa6ae55615a8e4c5>:0

My system is..
uname -a
Linux colin-Satellite-P50t-B 4.15.0-39-generic #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
with MATE 1.20 Desktop

Repetier-Host-x86_64-2.1.2.AppImage starts and runs.

I have been using Repetier-Host-x86_64-2.1.3.AppImage since it was released with no other problems.

Hope someone can help.

Thanks, Colin





Comments

  • I guess you have selected the new infill pattern without telling host that you use a newer Slic3rPE version. That causes the list of infills being incomplete and selectes pattern "null" which is not allowed causing the crash.

    You could try to add a file named "version.rh" with the value 5 as content in the SLic3rPE application directory (where also slic3r.pl is contained).  That will tell host the version so it adds gyroid pattern which I guess you selected.

    Alternatively modify the current selected prifle to use a different infill and set the version in host slicer manager correctly.
  • I'm having this same issue, but can't understand what you're saying the fix should be.

    I have a few slicers installed in various places on my Ubuntu machine, but they're mostly all Appimages, so I can't just add files to them (mounting an AppImage and trying to write in a file complains that it's a read only filesystem.

    Are there any other fixes for this? Currently I'm having to use Slic3r directly and manually upload the gcode to my repetier-server.
  • If you use an external slic3r appimage all you need to make sure is that you set the version correctly, so it knows the special changes e.g. new infill patterns. That is the same as adding the mentioned file. If it is not present host will use the version you set in the slicer manager.
  • I'm not particularly attached to any slic3r install, I just want to get RepetierHost running again. What would I need to change within RH to get it to run again?

    For clarity, here's the error I'm getting:

    $~/.build/Repetier/Host build/RepetierHost$ mono ./RepetierHost.exe

    (mono:16397): Gtk-WARNING **: 14:25:26.034: Unable to locate theme engine in module_path: "adwaita",

    (mono:16397): Gtk-WARNING **: 14:25:26.040: Unable to locate theme engine in module_path: "adwaita",
    libpng warning: iCCP: known incorrect sRGB profile

    Unhandled Exception:
    System.ArgumentNullException: Value cannot be null.
    Parameter name: value
      at Microsoft.Win32.RegistryKey.SetValue (System.String name, System.Object value) <0x7feb2c0983b0 + 0x00089> in <04750267503a43e5929c1d1ba19daf3e>:0
      at (wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey.SetValue(string,object)
      at RepetierHost.view.utils.RegMemoryFolder.SetString (System.String r, System.String val) [0x00001] in <4b6b78851490464eaa6ae55615a8e4c5>:0
      at SlicerSlic3r.Slic3rInstance.StorePrinterSettings () [0x000e0] in <2922cc78e6214f8d9f8aee1c02768f64>:0
      at SlicerSlic3r.Slic3rPanel.comboInfillPattern_SelectedIndexChanged (System.Object sender, System.EventArgs e) [0x0001b] in <2922cc78e6214f8d9f8aee1c02768f64>:0
      at System.Windows.Forms.ComboBox.OnSelectedIndexChanged (System.EventArgs e) [0x00020] in <895eff5fc3c3440985711e3d9bfab833>:0
      at System.Windows.Forms.ComboBox.SetSelectedIndex (System.Int32 value, System.Boolean supressAutoScroll) [0x00093] in <895eff5fc3c3440985711e3d9bfab833>:0
      at System.Windows.Forms.ComboBox.set_SelectedIndex (System.Int32 value) [0x00000] in <895eff5fc3c3440985711e3d9bfab833>:0
      at System.Windows.Forms.ComboBox+ObjectCollection.RemoveAt (System.Int32 index) [0x0004b] in <895eff5fc3c3440985711e3d9bfab833>:0
      at SlicerSlic3r.Slic3rPanel.UpdateButtons () [0x0001d] in <2922cc78e6214f8d9f8aee1c02768f64>:0
      at (wrapper remoting-invoke-with-check) SlicerSlic3r.Slic3rPanel.UpdateButtons()
      at SlicerSlic3r.Slic3rInstance.ReadPrinterSettings () [0x001a2] in <2922cc78e6214f8d9f8aee1c02768f64>:0
      at SlicerSlic3r.Slic3rInstance.SelectPrinter (RepetierHostExtender.interfaces.IPrinter _printer) [0x00023] in <2922cc78e6214f8d9f8aee1c02768f64>:0
      at (wrapper delegate-invoke) <Module>.invoke_void_IPrinter(RepetierHostExtender.interfaces.IPrinter)
      at RepetierHost.Main.OnPrinterChanged (RepetierHostExtender.interfaces.IRegMemoryFolder printerKey, System.Boolean printerChanged2) [0x0009d] in <4b6b78851490464eaa6ae55615a8e4c5>:0
      at RepetierHost.view.FormPrinterSettings.formToCon () [0x001fa] in <4b6b78851490464eaa6ae55615a8e4c5>:0
      at (wrapper remoting-invoke-with-check) RepetierHost.view.FormPrinterSettings.formToCon()
      at RepetierHost.Main..ctor () [0x01599] in <4b6b78851490464eaa6ae55615a8e4c5>:0
      at (wrapper remoting-invoke-with-check) RepetierHost.Main..ctor()
      at RepetierHost.Program.Main (System.String[] args) [0x0001a] in <4b6b78851490464eaa6ae55615a8e4c5>:0
    [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentNullException: Value cannot be null.
    Parameter name: value
      at Microsoft.Win32.RegistryKey.SetValue (System.String name, System.Object value) <0x7feb2c0983b0 + 0x00089> in <04750267503a43e5929c1d1ba19daf3e>:0
      at (wrapper remoting-invoke-with-check) Microsoft.Win32.RegistryKey.SetValue(string,object)
      at RepetierHost.view.utils.RegMemoryFolder.SetString (System.String r, System.String val) [0x00001] in <4b6b78851490464eaa6ae55615a8e4c5>:0
      at SlicerSlic3r.Slic3rInstance.StorePrinterSettings () [0x000e0] in <2922cc78e6214f8d9f8aee1c02768f64>:0
      at SlicerSlic3r.Slic3rPanel.comboInfillPattern_SelectedIndexChanged (System.Object sender, System.EventArgs e) [0x0001b] in <2922cc78e6214f8d9f8aee1c02768f64>:0
      at System.Windows.Forms.ComboBox.OnSelectedIndexChanged (System.EventArgs e) [0x00020] in <895eff5fc3c3440985711e3d9bfab833>:0
      at System.Windows.Forms.ComboBox.SetSelectedIndex (System.Int32 value, System.Boolean supressAutoScroll) [0x00093] in <895eff5fc3c3440985711e3d9bfab833>:0
      at System.Windows.Forms.ComboBox.set_SelectedIndex (System.Int32 value) [0x00000] in <895eff5fc3c3440985711e3d9bfab833>:0
      at System.Windows.Forms.ComboBox+ObjectCollection.RemoveAt (System.Int32 index) [0x0004b] in <895eff5fc3c3440985711e3d9bfab833>:0
      at SlicerSlic3r.Slic3rPanel.UpdateButtons () [0x0001d] in <2922cc78e6214f8d9f8aee1c02768f64>:0
      at (wrapper remoting-invoke-with-check) SlicerSlic3r.Slic3rPanel.UpdateButtons()
      at SlicerSlic3r.Slic3rInstance.ReadPrinterSettings () [0x001a2] in <2922cc78e6214f8d9f8aee1c02768f64>:0
      at SlicerSlic3r.Slic3rInstance.SelectPrinter (RepetierHostExtender.interfaces.IPrinter _printer) [0x00023] in <2922cc78e6214f8d9f8aee1c02768f64>:0
      at (wrapper delegate-invoke) <Module>.invoke_void_IPrinter(RepetierHostExtender.interfaces.IPrinter)
      at RepetierHost.Main.OnPrinterChanged (RepetierHostExtender.interfaces.IRegMemoryFolder printerKey, System.Boolean printerChanged2) [0x0009d] in <4b6b78851490464eaa6ae55615a8e4c5>:0
      at RepetierHost.view.FormPrinterSettings.formToCon () [0x001fa] in <4b6b78851490464eaa6ae55615a8e4c5>:0
      at (wrapper remoting-invoke-with-check) RepetierHost.view.FormPrinterSettings.formToCon()
      at RepetierHost.Main..ctor () [0x01599] in <4b6b78851490464eaa6ae55615a8e4c5>:0
      at (wrapper remoting-invoke-with-check) RepetierHost.Main..ctor()
      at RepetierHost.Program.Main (System.String[] args) [0x0001a] in <4b6b78851490464eaa6ae55615a8e4c5>:0

    I'm not a Linux noob, but I can't seem to find a directory within RH that has a slic3r.pl file. I can find the slic3r.pl files when I mount an AppImage, but they're read-only. Am I supposed to be able to add this file to the appimage, or put it in the directory where RH is located?
  • Seems to happen when it wants to set the slic3r infill patterns in host. So removing the settings before starting might help. They are stored in mono registry $HOME/.mono not sure from here on. software/repetier I guess. Then in slicers you see all your configured slicers. In each you see a printer name containing the actual settings. One of them has a setting that doe snot exist for given version. Try changing first version to 5 and try. If it doe snot work try deleting the setting and create a new one.
Sign In or Register to comment.