Can only run Repetier-Host under sudo?
I am running Repetier-Host V2.2.4 and Server V1.4.2 on Linux Mint 20.3 Una.
If I launch Repetier-Host using sudo repetierHost it opens and runs correctly, connects to the server, prints, etc.. However, if I attempt to run it under my user it doesn't start and gives me the following errors:
$repetierHost
$ libpng warning: iCCP: known incorrect sRGB profile
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
My username is a member of the tty dialout group so that doesn't appear to be the problem.
The major issue is that I am trying to get access to the slicer g-code files, but they are being saved under root which is complicating access.
Comments
yes that folder,
$mv repetier repetier2
second command undoes first so you get error back. So just rename it to repetier2 and starting host should create a new repetier folder.