"cappy@computer:/usr/bin$ repetierHost cappy@computer:/usr/bin$ Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. File name: 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' [ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. File name: 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' ^C cappy@computer:/usr/bin$ "
Hey the latest few versions of Repetier-host aren't communicating with my marlin printer. On 14.04 it worked with v1.06, but I suspect that was using a pref from 0.95f. Basically the 0.95f version let me set the data bits and stop bits, and my printer doesn't seem to negotiate with the new versions. It says it connected correctly, and I am in the dialout group, and it's definitely the correct usb port. I'm running a Velleman k8200 with Marlin firmware (velleman fw v2) and no response from commands going out.
From ./configureFirst.sh
Ubuntu 16.04lts
System: x86_64
Using 64 bit CuraEngine
[sudo] password for alewis:
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
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 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.
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!
We removed stop bits/data bits/partiy as all firmwares use the same anyway. All that matters is communication protocol (autodetect should work) and correct baud rate. Also make sure no other software is using the same port in parallel. While connecting works communication will fail. I also would advice printing over Repetier-Server even if you use host for preparing. Use the repetier-server connector to connect to server to send prints and control.
System.Windows.Forms is the UI library used for the app. So your mono did not install that causing it not to start. Check
apt-file search System.Windows.Forms.dll
which package would contain it and install it.
On starting repetierHost I get this message:
cappy@cappycompi ~/RepetierHost $ repetierHost
cappy@cappycompi ~/RepetierHost $
Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
at RepetierHost.view.FormPrinterSettings.comboConnector_SelectedIndexChanged (System.Object sender, System.EventArgs e) <0x413574e0 + 0x00181> in <filename unknown>:0
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged (System.EventArgs e) <0x4131fca0 + 0x00073> in <filename unknown>:0
at System.Windows.Forms.ComboBox.SetSelectedIndex (Int32 value, Boolean supressAutoScroll) <0x4131fa50 + 0x00129> in <filename unknown>:0
at System.Windows.Forms.ComboBox.set_SelectedIndex (Int32 value) <0x4131fa20 + 0x00013> in <filename unknown>:0
at RepetierHost.view.FormPrinterSettings.load (System.String printername) <0x41354730 + 0x001f1> in <filename unknown>:0
at RepetierHost.view.FormPrinterSettings.comboPrinter_SelectedIndexChanged (System.Object sender, System.EventArgs e) <0x41356e40 + 0x00083> in <filename unknown>:0
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged (System.EventArgs e) <0x4131fca0 + 0x00073> in <filename unknown>:0
at System.Windows.Forms.ComboBox.SetSelectedIndex (Int32 value, Boolean supressAutoScroll) <0x4131fa50 + 0x00129> in <filename unknown>:0
at System.Windows.Forms.ComboBox.set_SelectedIndex (Int32 value) <0x4131fa20 + 0x00013> in <filename unknown>:0
at System.Windows.Forms.ComboBox.set_Text (System.String value) <0x4134e0f0 + 0x00127> in <filename unknown>:0
at RepetierHost.view.FormPrinterSettings.load (System.String printername) <0x41354730 + 0x00057> in <filename unknown>:0
at RepetierHost.view.FormPrinterSettings.LoadDefaultPrinter () <0x41354430 + 0x00117> in <filename unknown>:0
at RepetierHost.Main..ctor () <0x41200840 + 0x011ca> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) RepetierHost.Main:.ctor ()
at RepetierHost.Program.Main (System.String[] args) <0x411bc1d0 + 0x00037> in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
Comments
unfortunately the software wont start.
"cappy@computer:/usr/bin$ repetierHost
cappy@computer:/usr/bin$
Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
File name: 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
^C
cappy@computer:/usr/bin$ "
regards
cappy