unhandled exception on startup

I cant seem to get any versions of Repetier Host to run today I Downloaded the latest linux version and installed using sh configurefirst.sh and got:
 
System: x86_64
Using 64 bit CuraEngine
[sudo] password for dane: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libmono-winforms2.0-cil is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  mono-reference-assemblies-2.0 mono-devel

E: Package 'libmono-winforms2.0-cil' has no installation candidate
rm: cannot remove '/usr/bin/repetierHost': No such file or directory
Checking if you are in the dialout group.
1
User already in dialout group. Adding not required.
Compiling helper software to allow non ansi baud rates for some boards
depending on the used serial driver.
Configuration finished.
IMPORTANT: In addition to the bundled CuraEngine, the host also
supports Slic3r, Slic3r Prusa Edition and Skeinforge. These slicers are not bundled, so
need to install them according to their docs and then set the path
to them in Repetier-Host.
For Slic3r simply unpack the tar you get on http://slic3r.org in this directory.
For Slic3r Prusa Edition check https://github.com/prusa3d/Slic3r/releases
The host will then register and add it automatically on next restart.

IMPORTANT: You need a recent mono version since the host uses .NET 4.0
If you see the following error message, your mono is too old!
>>> System.Windows.Forms.SplitContainer doesn't implement interface System.ComponentModel.ISupportInitialize <<<
This folder now contains a repetier-RepetierHost.desktop file
Copy it to your desktop to get a launch icon there


I went ahead andI installed the recommended   mono-reference-assemblies-2.0 mono-devel and checked my mono version(mono -V):
Mono JIT compiler version 4.2.1 (Debian 4.2.1.102+dfsg2-7ubuntu4)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS:           __thread
SIGSEGV:       altstack
Notifications: epoll
Architecture:  amd64
Disabled:      none
Misc:          softdebug 
LLVM:          supported, not enabled.
GC:            sgen

 but when I run /usr/bin/repetierHost from the command line I get this: 
 libpng warning: iCCP: known incorrect sRGB profile
Unhandled Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at RepetierHost.view.utils.RegMemory.StringToWindowPos (System.Windows.Forms.Form f, System.String pos, Int32 screenId) <0x42140c10 + 0x000d6> in <filename unknown>:0 
  at RepetierHost.view.utils.RegMemory.RestoreWindowPos (System.String name, System.Windows.Forms.Form f) <0x42140b70 + 0x0007f> in <filename unknown>:0 
  at RepetierHost.Main..ctor () <0x41fa2610 + 0x01623> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) RepetierHost.Main:.ctor ()
  at RepetierHost.Program.Main (System.String[] args) <0x41f991f0 + 0x0002f> in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at RepetierHost.view.utils.RegMemory.StringToWindowPos (System.Windows.Forms.Form f, System.String pos, Int32 screenId) <0x42140c10 + 0x000d6> in <filename unknown>:0 
  at RepetierHost.view.utils.RegMemory.RestoreWindowPos (System.String name, System.Windows.Forms.Form f) <0x42140b70 + 0x0007f> in <filename unknown>:0 
  at RepetierHost.Main..ctor () <0x41fa2610 + 0x01623> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) RepetierHost.Main:.ctor ()
  at RepetierHost.Program.Main (System.String[] args) <0x41f991f0 + 0x0002f> in <filename unknown>:0 

Any help would be appreciated.

Comments

  • Go to $HOME/.mono/registry/CurrentUser/software/repetier/ and delete the window directory and try again. This problem seems to occur if you had a illegal window position that got stored to registry. Could not reproduce but deleting registry normally fixes the problem.
  • Ok I shutdown my computer overnight and today when I click the desktop Icon it started up fine. I will remember that if It happens again. Thanks for the help.
Sign In or Register to comment.