AWS Thinkbox Discussion Forums

do not copy job file?

I remember there being an option not to copy the main scene file to the repository / jobs folder. Based on the built in maya submission script, i have found that if i define SceneFile in the job file, and then omit the scene name in the command line, that will make it skip the copy to the repository.

This does work, the file is now not copied. However, the job now errors somewhere in deadline:

=======================================================
Error

Error in RenderTasks: TypeError : cannot concatenate ‘str’ and ‘NoneType’ objects (Python.Runtime.PythonException)
[’ File “none”, line 168, in RenderTasks\n’]
at Deadline.Plugins.ScriptPlugin.RenderTasks(String taskId, Int32 startFrame, Int32 endFrame, String& outMessage, AbortLevel& abortLevel)

Any ideas? The file loads proper, but then the failure happens here:

0: STDOUT: File read in 2 seconds.
0: STDOUT: File read in 2 seconds.
0: STDOUT: Result: //inferno2/projects/common/pipeline/submission_queue/2013_01_29/TST_003_0002_maya_animation_layout.ma_16_49_34_207/TST_003_0002_maya_animation_layout.ma
0: STDOUT: mel: READY FOR INPUT
0: INFO: This is a script job
0: INFO: Reading Plugin Info
0: INFO: Building globals melscript
0: INFO: Building DeadlineValue

=======================================================
Type

RenderPluginException

=======================================================
Stack Trace

at Deadline.Plugins.Plugin.RenderTask(String taskId, Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.a(TaskLogWriter A_0)

=======================================================
Details

Date: 2013/01/29 16:55:37
Frames: 1
Elapsed Time: 00:00:00:00
Slave Name: LAPRO0315

The crash appears to happen in mayaBatch on this line:
scriptBuilder.AppendLine(" case “DataFileName” : return “” + self.GetDataFilename() + “”; break;")

cheers,
laszlo

Thanks! I think this should be a quick fix. Just replace that line with this:

scriptBuilder.AppendLine("      case \"DataFileName\" : return \"" + self.SceneFile + "\"; break;")

We’ll fix this in beta 11, but if you get a chance to test this today, let us know if it fixes the problem for you.

Cheers,

  • Ryan

I wanted to try quickly, but it seems that something corrupted itself overnight, and the machine cant submit any jobs any more :frowning:(

I tried rebooting it, but this is very weird.

C:\Documents and Settings\ScanlineVFX>“C:\Program Files\Thinkbox\Deadline6\bin\deadlinecommand.exe” \inferno2\projects
common\pipeline\submission_queue\2013_01_30\TST_003_0002_maya_animation_layout.ma_09_42_14_521\MayaScriptJob_0_info.job
\inferno2\projects\common\pipeline\submission_queue\2013_01_30\TST_003_0002_maya_animation_layout.ma_09_42_14_521\MayaS
criptJob_0_job.job
Deadline Command 6.0 [v6.0.0.49986 R]

Submitting to Repository: \inferno2.scanlinevfxla.com\deadline\repository6

Submission Contains the Following:

  1. Auxiliary File #1 ("\inferno2\projects\common\pipeline\submission_queue\2013_01_30\TST_003_0002_maya_animation_la
    yout.ma_09_42_14_521\MayaScriptJob_0_job.job")
    Error: An error occurred while deserializing the Pools property of class Deadline.Pools.PoolCollections: Enumerable clas
    s PoolCollection does not implement IList so it can’t be deserialized. (System.IO.FileFormatException)
    at MongoDB.Bson.Serialization.BsonClassMapSerializer.DeserializeMember(BsonReader bsonReader, Object obj, BsonMemberM
    ap memberMap)
    at MongoDB.Bson.Serialization.BsonClassMapSerializer.Deserialize(BsonReader bsonReader, Type nominalType, Type actual
    Type, IBsonSerializationOptions options)
    at MongoDB.Bson.Serialization.BsonClassMapSerializer.Deserialize(BsonReader bsonReader, Type nominalType, IBsonSerial
    izationOptions options)
    at MongoDB.Driver.Internal.MongoReplyMessage1.ReadFrom(BsonBuffer buffer, IBsonSerializationOptions serializationOpt ions) at MongoDB.Driver.Internal.MongoConnection.ReceiveMessage[TDocument](BsonBinaryReaderSettings readerSettings, IBsonSe rializationOptions serializationOptions) at MongoDB.Driver.MongoCursorEnumerator1.GetReply(MongoConnection connection, MongoRequestMessage message)
    at MongoDB.Driver.MongoCursorEnumerator1.GetFirst() at MongoDB.Driver.MongoCursorEnumerator1.MoveNext()
    at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable1 source) at Deadline.StorageDB.MongoDB.MongoSettingsStorage.GetPoolsAndGroupCollections(Boolean invalidateCache, PoolCollectio ns& poolCollections, PoolCollections& groupCollections) at Deadline.StorageDB.SettingsStorage.GetActivePoolsAndGroups(Boolean invalidateCache, PoolCollection& activePools, P oolCollection& activeGroups) at Deadline.Controllers.DataController.SubmitJob(Job job, StringCollection2 auxiliarySubmissionFileNames, Boolean loa dPluginInfoDictionary, Boolean resetJobDefaults, TaskCollection taskCollectionOverride) at Deadline.Submission.SubmissionUtils.SubmitNewJob(IDictionary2 htInfo, StringCollection2 auxillarySubmissionFileNa
    mes)
    at Deadline.Submission.SubmissionUtils.SubmitNewJob(String[] args)
    at Deadline.Submission.Submit.Perform(String[] args)

Before this, i assigned a new machine to a pool / group.

But now it appears the mongo db is corrupted. Thats pretty scary.

I dont see any pools listed in the monitor’s edit pools dropdown (neither are any slaves listed). If i go to “edit groups”, it pops up the Manage Pools window, still empty.

It’s not corruption, it’s a bug in our code.
viewtopic.php?f=86&t=8899

It will be fixed in beta 11, which should be out by tomorrow at the latest.

The manage pools dialog is completely inresponsive, none of the buttons do anything other than the little x in the corner to close the window.

I dont know how to fix the issue…

Changing pools/groups is a pretty simple and common operation, i really hope its not this easy to corrupt the database :frowning: (we are currently unable to submit any new jobs)

Just saw this:

viewtopic.php?f=156&t=8908

Just to make it clear, nothing is corrupted in the database. This is a bug in OUR code where it tries to read that data from the database.

We are about halfway through the build procedure here, so there is a good chance it might be up later today.

Thanks Ryan, thats great news. We got most of the code changes done last night for our intended rollout this morning, so you might imagine this being a bit of an upset :-\

I read on the bug forum that this seems to be a mongo driver issue? While you are doing the build, i might try swapping out dlls, if that is something that might work. If not, we will wait.

Btw, the manage pools dialog was fine when i first used it with beta 10. Same for managing groups. So whatever was set up with beta8 was still visible this morning.

Then i edited the pool settings on one machine, and clicked ok. After that going to edit groups still showed the valid group settings. But after editing the group on the machine, both edit pool/edit group dialogs came up empty.

Anyway, maybe this helps, unless you already know whats happening.

Yeah, the issue was that beta 10 could read beta 8’s pools, but it can’t read beta 10’s pools. So basically, once beta 10 “updated” the pools, it could no longer read them back in.

It’s already fixed internally, and the beta 11 build is almost done.

Beta 11 is now available: viewtopic.php?f=84&t=8913

Please read the release notes, as there is still a bug affecting the saving of the pools and groups. It is not a critical bug like the one in beta 10 though, and it will be fixed in beta 12.

Thanks Ryan, grabbing now!

Privacy | Site terms | Cookie preferences