Repetier 2.2.4 crashes after deleting default configuration

On Ubuntu 20.04, RepetierHost cannot boot up anymore after I accidentally deleted the "default" printer. The error is an out-of-bounds exception -- please see the stack trace below. At present, I'm lost on how I can convince RepetierHost to start again. Any ideas?

./Repetier-Host-x86_64-2.2.4_d744af2819685cf1234f10baa5d6c3d1.AppImage 
LD_LIBRARY_PATH = /tmp/.mount_RepetiW2mCgs/usr/lib:
MONO_PATH = /tmp/.mount_RepetiW2mCgs/usr/lib
Gtk-Message: 08:45:57.478: Failed to load module "canberra-gtk-module"

Unhandled Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at RepetierHost.view.FormPrinterSettings.comboScripts_SelectedIndexChanged (System.Object sender, System.EventArgs e) [0x0004a] in <63c553364181423faf81fbf20d6b440d>:0 
  at RepetierHost.view.FormPrinterSettings.formToCon () [0x0001f] in <63c553364181423faf81fbf20d6b440d>:0 
  at (wrapper remoting-invoke-with-check) RepetierHost.view.FormPrinterSettings.formToCon()
  at RepetierHost.view.FormPrinterSettings.LoadDefaultPrinter () [0x00066] in <63c553364181423faf81fbf20d6b440d>:0 
  at RepetierHost.Main..ctor () [0x002ac] in <63c553364181423faf81fbf20d6b440d>:0 
  at (wrapper remoting-invoke-with-check) RepetierHost.Main..ctor()
  at RepetierHost.Program.Main (System.String[] args) [0x00015] in <63c553364181423faf81fbf20d6b440d>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at RepetierHost.view.FormPrinterSettings.comboScripts_SelectedIndexChanged (System.Object sender, System.EventArgs e) [0x0004a] in <63c553364181423faf81fbf20d6b440d>:0 
  at RepetierHost.view.FormPrinterSettings.formToCon () [0x0001f] in <63c553364181423faf81fbf20d6b440d>:0 
  at (wrapper remoting-invoke-with-check) RepetierHost.view.FormPrinterSettings.formToCon()
  at RepetierHost.view.FormPrinterSettings.LoadDefaultPrinter () [0x00066] in <63c553364181423faf81fbf20d6b440d>:0 
  at RepetierHost.Main..ctor () [0x002ac] in <63c553364181423faf81fbf20d6b440d>:0 
  at (wrapper remoting-invoke-with-check) RepetierHost.Main..ctor()
  at RepetierHost.Program.Main (System.String[] args) [0x00015] in <63c553364181423faf81fbf20d6b440d>:0

Comments

  • All settings are stored in $HOME/.mono/registry/CurrentUser/software/repetier/ so as a first try rename that folder so host thinks it is first call and it will recreate it. Of course without printer configs except deafult. Slicer settings are in separate files and will survive.
  • Thank you, that did the trick!
Sign In or Register to comment.