AWS Thinkbox Discussion Forums

[Linux] Launching apps with no repo

This is in Beta 6 on Fedora 15

Currently it is not possible to launch the Deadline applications without a valid repository set up. If this is the intended behavior for the actual release, it would probably be good to make them fail more gracefully.

The monitor pops up a dialog that says “A type load exception has occurred. Deadline Monitor will now exit.” and leaves this in the terminal:

[code]System.Net.Sockets.SocketOptionName 0x1b is not supported at IPv6 level
Exception on Startup: A type load exception has occurred. (System.TypeLoadException)
at Deadline.Monitor.MonitorManager.GetInstance () [0x00000] in :0
at a.a (System.String[] A_0) [0x00000] in :0

Deadline Monitor will now exit.[/code]

The slave just pops up a dialog with the traceback shown below, and echoes it to the terminal as well:

Traceback (most recent call last): File "DeadlineSlave\UI\Forms\MainWindowSlaveStartup.py", line 96, in Startup File "DeadlineSlave\UI\Forms\MainWindowSlaveStartup.py", line 155, in ConnectToRepository ReflectionTypeLoadException: The classes in the module cannot be loaded. at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (System.Reflection.Assembly,bool) at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0 at Python.Runtime.AssemblyManager.ScanAssembly (System.Reflection.Assembly assembly) [0x00000] in <filename unknown>:0 at Python.Runtime.AssemblyManager.AssemblyLoadHandler (System.Object ob, System.AssemblyLoadEventArgs args) [0x00000] in <filename unknown>:0 at System.AppDomain.DoAssemblyLoad (System.Reflection.Assembly assembly) [0x00000] in <filename unknown>:0 at Deadline.StorageDB.RepositoryStorage..ctor () [0x00000] in <filename unknown>:0 at Deadline.Controllers.DataController..ctor () [0x00000] in <filename unknown>:0 at Deadline.Slaves.SlaveManager.Connect (Boolean guiMode) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0

The slave process then hangs indefinitely. Pulse behaves similarly to the slave.

Thanks,

-Nathan

Yeah, we should definitely have better error messages. This has been logged as a bug. Thanks!

Privacy | Site terms | Cookie preferences