AWS Thinkbox Discussion Forums

[Linux] Beta 3: Exception when saving repository options

I opened the repository options, turned down the “Number of minutes before an unresponsive slave is marked as Stalled” in the Slate Settings, clicked OK, and got this:

Traceback (most recent call last): File "DeadlineUI\UI\Forms\RepositoryOptionsDialog.py", line 65, in saveScripts IOException: /usr/Deadline6/repo/scripts/General/visible.ini already exists at System.IO.File.Copy (System.String sourceFileName, System.String destFileName, Boolean overwrite) [0x00000] in <filename unknown>:0 at System.IO.File.Copy (System.String sourceFileName, System.String destFileName) [0x00000] in <filename unknown>:0 at FranticX.Text.IniFileWriter.WriteIniFile (System.String filename) [0x00000] in <filename unknown>:0 at Deadline.StorageDB.ScriptsStorage.SaveVisibleScripts (System.String scriptType, System.Collections.Generic.Dictionary`2 visible) [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

Hmm, I wonder if this is due to a permission issue. In beta 4, if an error occurs when trying to delete the existing file, that will propagate instead of having the copy error propagate (which isn’t very useful here). We’re also going to save the repository options before trying to update the scripts.

Our plan is to move away from the visible.ini files during the beta, but that shouldn’t prevent you from saving repository options in the meantime. :slight_smile:

Cheers,

  • Ryan
Privacy | Site terms | Cookie preferences