AWS Thinkbox Discussion Forums

Shotgun Fails to allow setting Version

If I manually add a draft job, the shotgun panel doesn’t seem to work.

First of all, I noticed there is no “create version” checkbox like when you click ‘pipeline tools’ to add sg and draft events within an integrated submission.

Second, the “Version” field doesn’t populate and refuses to let me set it. “Description” also, is unresponsive.

The log says
‘Validation failed on Version Name’
Getting Version list for task ‘Test04 > 001_0100 > previz’… done!

This makes manual submissions of Draft completely useless if the version can’t be created.

deadline 10.0.9.4

Another shotgun bug?

2018-01-11 11:13:59: File “p:_DeadlineRepo10\scripts\Jobs\CreateShotgunVersion.py”, line 133, in CreateShotgunVersion
2018-01-11 11:13:59: sgConfig = ShotgunUtils.GetIniFileData( shotgunPath )
2018-01-11 11:13:59: AttributeError: ‘module’ object has no attribute ‘GetIniFileData’

I can’t find any reference to this function in any of the modules.

Do you guys have unit tests?

we have 10.0.9.2 , but we use our own shotgun version workflow.
Looking at our repo and your errors, the ShotgunUtils lib is getting added to the events path from:
/events/Shotgun/

In our version of the ShotgunUtils, it does have GetIniFileData function.

In case this is usefull for debugging the issue…

I had to insert these lines
in CreateShotgunVersion.py

line 133
sgConfig = RepositoryUtils.GetEventPluginConfig( “Shotgun” )
framePaddingCharacter = sgConfig.GetConfigEntryWithDefault( “FramePaddingCharacter”, “#” )

line 185
sgConfig = RepositoryUtils.GetEventPluginConfig( “Shotgun” )

Thanks guys, just a quick update to this. I’ve fixed this regression (and a related issue) on the dev side, so it’ll be fixed in the next release.

Cheers

Privacy | Site terms | Cookie preferences