Shotgun upload error

After a draft job is finished we get this error:

The output files doesn´t get uploaded.

Any ideas of what we can do?

Thanks,

Timor

Forgot to add: thumbnails are being uploaded fine (which is also DRAFT as per our setting)…

That’s interesting. I’m currently helping out another client with a similar issue through our ticket system, and I have yet to find the answer to this one…

Could you zip up the Job files for your Draft job that’s giving this error? If you’re not sure how to find those, just right-click the job, select ‘Explore Repository Directory’, and look for the .job files in there. I’m very curious to see what kind of values are in there; it really shouldn’t be going through that code to upload the Draft output.

Also out of curiosity, which submitter was it that you were using for this particular job? Was it Nuke, perchance?

Also, has this always been a problem, or has this just been cropping up lately?

Cheers,

  • Jon

Hi Jon,

thank you looking into this.

We have this problem for quite a while and I am pretty sure it happens with every program we use, even though you where right, it was Nuke this time…

I attached the job file, I hope it helps…

Cheers

Timor
draft_event_plugin_info0.zip (545 Bytes)

No problem :slight_smile:

And it seems you missed one of the job files; there should be two in that folder (the one you uploaded, and one with the Job ID in the name – something like ‘999_050_999_4f9979c1.job’). If you could upload that other one too that would be super helpful!

Cheers,

  • Jon

sure…sorry.

there it is…
00b_030_999_3b2d9e40.zip (1.37 KB)

Hi Jon,

could you find anything suspicious?

Any idea what value we have to enter into the: \deadlinerepository5\events\Shotgun\Shotgun.py": ?

It says: “TypeError : int() argument must be a string or a number, not ‘NoneType’” -> so it looks like this is where the error is, right?

Thanks!

Timor

Hey Timor,

This is definitely a weird issue. Given the Job file you uploaded (and really, Draft jobs in general), it should never even reach the bit of code that’s causing this error. Draft jobs in general should never even go through any of the Shotgun Event Plugin stuff; the upload of the Draft output is done using a post-job script. Looking at the Job files you uploaded confirms this, the Job isn’t itself tied to a Shotgun version, but there is a post-job script set for uploading to Shotgun, so I’m really confused.

I’m pretty sure this can just be fixed by adding extra checks to the Shotgun Event Plugin so that this doesn’t happen; could you zip up a copy of your Shotgun Event plugin for me to modify? It should be located at ‘events/Shotgun/Shotgun.py’ in your Repository.

Cheers,

  • Jon

Hi Jon,

attached the shotgun.py.

Hope it helps,

Thanks,

Timor
Shotgun.zip (3.38 KB)

Hey Timor,

Try using the updated Event Plugin I’ve attached here (extract to ‘events/Shotgun/Shotgun.py’; same place you grabbed it from earlier). It integrates a bunch of fixes from newer versions of it, which should hopefully fix your problem.

Cheers,