Hi.
When I run deadlinelauncher in Ubuntu, I get this error.
** (/usr/local/lib/deadline/deadlinelauncher.exe:3768): WARNING **: The following assembly referenced from /usr/local/lib/deadline/franticxforms.dll could not be loaded:
Assembly: System.Windows.Forms (assemblyref_index=1)
Version: 2.0.0.0
Public Key: b77a5c561934e089
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/usr/local/lib/deadline/).
** (/usr/local/lib/deadline/deadlinelauncher.exe:3768): WARNING **: Could not load file or assembly ‘System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ or one of its dependencies.
** (/usr/local/lib/deadline/deadlinelauncher.exe:3768): WARNING **: Missing method .ctor in assembly /usr/local/lib/deadline/deadlinelauncher.exe, type DeadlineForms.Forms.DeadlineMainForm
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly ‘System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ or one of its dependencies.
File name: ‘System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’
Anyone have any ideas ?
Thanks
Eugene
Hi Eugene,
Which version of Mono do you have installed on the machine? The latest version is 2.4. Also, if you are using the Software/Package Manager to install Mono, make sure that all the Mono components are installed. The libgdiplus and mono-winforms packages definitely need to be installed, but if you’re installing mono-complete, that should be taken care of automatically.
If Mono appears to be installed correctly, check to make sure that the lib folder that the Mono libraries were installed to is in your library load path. I don’t know the specifics of where to do this offhand for Ubuntu, but for a CentOS machine, this can be achieved by adding the full lib path as a new line to /etc/ld.so.conf file, and then by running ldconfig from a terminal to refresh the path.
Cheers,
Hi.
I’ve installed 2.4 but not sure that winforms has installed. I’m new to Linux, so a bit confused !
I installed mono from the mono-project.com homepage and used
apt:mono-devel
Thanks
Eugene
That would be the Mono development kit, but Deadline requires the mono runtime. On doing a bit of digging, it looks like you still need to build Mono from source on Ubuntu to get the latest version. We have documentation for doing this here:
software.primefocusworld.com/sof … source.php
While the docs mention Mono 2.2, this process is the same for the latest source downloads, which is 2.4.2.3 as of this writing.
Cheers,
Hello, I have a similar problem. I’m using ubuntu 9.04 and I have already tried installing mono from source (2.2 and 2.4), I’ve tried installing mono as a precompiled deb file and still no progress. Trying to run deadlinelauncher results in:
* (/usr/local/lib/deadline/deadlinelauncher.exe:8488): WARNING **: System.Net.Sockets.SocketOptionName 0x1b is not supported at IPv6 level
manager != null: False
Deadline Launcher 3.0: Protocol option not supported (System.Net.Sockets.SocketException)
at System.Net.Sockets.Socket.SetSocketOption (SocketOptionLevel optionLevel, SocketOptionName optionName, Int32 optionValue) [0x00000]
at FranticX.Net.SocketUtils.CreateTcpSocket (AddressFamily addressFamily) [0x00000]
at FranticX.Net.SocketUtils.IsSocketInUse (Int32 port) [0x00000]
at DeadlineLauncher.DeadlineLauncherApp.Main (System.String[] args) [0x00000]
running deadlinecommand results in:
An Unexpected Error Occurred
An exception was thrown by the type initializer for Gtk.Application (System.TypeInitializationException)
Do you have any clue what might be the source of the problem ?
Can you upgrade to the latest version of Deadline (3.1 SP1)? These look like problems that we’ve already fixed.
Cheers,
I’m already using the latest version I was able to download.(Deadline 3.1 SP1 (build 36430)).
I’m doing an update of my system to the newest version of ubuntu available (9.10 beta).
After installing ubuntu 9.10 there is some improvement “deadlinecommand” starts to execute, deadlinelaucher error is exactly as it used to be. Additionaly (it was there befor but i didn’t post it) deadlineslave gives an error:
Unhandled Exception: System.DllNotFoundException: DeadlinePlugin
at (wrapper managed-to-native) DeadlineSlave.DeadlinePlugin/DeadlinePluginLinux:deadline_AllocatePlugin ()
at DeadlineSlave.DeadlinePlugin..ctor () [0x00000]
at DeadlineSlave.DeadlineSlaveApp.Main (System.String[] args) [0x00000]
after further checking I’ve manageg to retrive addional info using mono and debug level and something strange is in the logs:
Mono-INFO: DllImport attempting to load: 'DeadlinePlugin'.
Mono-INFO: DllImport loading location: 'libDeadlinePlugin.so'.
Mono-INFO: DllImport error loading library: 'libDeadlinePlugin.so: cannot open shared object file: No such file or directory'.
Mono-INFO: DllImport loading library: './libDeadlinePlugin.so'.
Mono-INFO: DllImport error loading library './libDeadlinePlugin.so: wrong ELF class: ELFCLASS32'.
Mono-INFO: DllImport loading: 'DeadlinePlugin'.
Mono-INFO: DllImport error loading library 'DeadlinePlugin: cannot open shared object file: No such file or directory'.
Mono-INFO: DllImport loading location: 'libDeadlinePlugin.so'.
Mono-INFO: DllImport error loading library: 'libDeadlinePlugin.so: cannot open shared object file: No such file or directory'.
Mono-INFO: DllImport loading library: './libDeadlinePlugin.so'.
Mono-INFO: DllImport error loading library './libDeadlinePlugin.so: wrong ELF class: ELFCLASS32'.
it looks like libDeadlinePlugin.so is 32 bit (or am I wrong ?) and I’m using a 64 bit linux system.
Are you sure that the version of Deadline you’ve installed on your Ubuntu machine is Deadline 3.1 SP1 (build 36430)? The reason I ask is the Launcher error shows this:
That would indicate that you’re either running 3.0 or 3.0 SP1. Also, the latest version of Deadline ships with 32 and 64 bit versions of the libDeadlinePlugin.so library, and doesn’t even look for libDeadlinePlugin.so specifically anymore (it looks for libDeadlinePlugin32.so or libDeadlinePlugin64.so).
Can you run this from the terminal and double check the version:
deadlinecommand -version
Cheers,
you were right, I downloaded 3.1sp1 but installed 3.0sp1 (stupid mistake), now everything seems to work (I still get warnings conserning ipv6 but it runs ok)
Cool, glad it’s working. Don’t worry about the piv6 warnings. They’re completely normal - we just haven’t found a way to suppress them (they’re coming from Mono).
Cheers,