Commit graph

239 commits

Author SHA1 Message Date
Ondřej Samohel
f5a8c36e3e
Merge pull request #3759 from BigRoy/maya_submit_deadline_abstract_base
Maya: Refactor submit deadline to use AbstractSubmitDeadline
2022-09-12 10:57:04 +02:00
Roy Nieterau
49dff63f08 Fix detection of workfile instance 2022-09-08 17:50:55 +02:00
Roy Nieterau
d00eb29ca1 Remove instance._log legacy code that has no use anymore 2022-09-06 13:20:48 +02:00
Roy Nieterau
507dac4aa9 Ensure integer math for _format_tiles
See #3758
2022-09-03 15:06:24 +02:00
Roy Nieterau
5645bcb353 Use custom plugin info per type of plugin submission 2022-09-03 13:17:10 +02:00
Roy Nieterau
88e4798b53 Remove old type hint 2022-09-02 19:50:56 +02:00
Roy Nieterau
47164b36ef Be more explicit about what keys to include from Session
This way it matches more with logic of other host submitters (e.g. AfterEffects + Harmony)
2022-09-02 12:11:35 +02:00
Roy Nieterau
2c01cb806d Remove backwards compatibility for append functionality in old style vars 2022-09-02 12:03:34 +02:00
Roy Nieterau
1e87c9d6d2 Use DeadlineIndexedVar __iadd__ functionality 2022-09-02 12:02:39 +02:00
Roy Nieterau
4bdd18cb81 Use DeadlineKeyValueVar for EnvironmentKeyValue on Job Info
- To improve readability of code that sets the values
2022-09-02 11:50:14 +02:00
Roy Nieterau
e9e01e3163 Use update method 2022-08-30 14:43:18 +02:00
Roy Nieterau
2fb7cabca4 Shush hound 2022-08-30 14:39:28 +02:00
Roy Nieterau
39d216797d Force integer pixel values 2022-08-30 14:17:40 +02:00
Roy Nieterau
91a3d8494b Disable aux files for now since it's not supported by Deadline Webservice 2022-08-30 14:13:39 +02:00
Roy Nieterau
a7293f2a4f Fix indentation 2022-08-30 14:13:14 +02:00
Roy Nieterau
227b840547 Refactor AbstractSubmitDeadline vars to allow easier access to indices 2022-08-30 14:12:54 +02:00
Roy Nieterau
9472cbe271 Fix submission 2022-08-30 11:23:14 +02:00
Roy Nieterau
c6a0a199e1 Cosmetics 2022-08-30 09:40:08 +02:00
Roy Nieterau
e8aa926cb7 Move single use of in-line function to the class for readability 2022-08-30 09:28:42 +02:00
Roy Nieterau
8af88e1157 More cleanup 2022-08-30 09:08:44 +02:00
Roy Nieterau
965522585b Remove redundant docstring 2022-08-30 01:11:12 +02:00
Roy Nieterau
d7c72f97b3 Batch submit assembly jobs 2022-08-30 01:10:19 +02:00
Roy Nieterau
a9fe806fec Calculate once 2022-08-30 01:02:24 +02:00
Roy Nieterau
a6002de641 Refactor _format_tiles for readability 2022-08-30 00:58:23 +02:00
Roy Nieterau
6abafd0aca Refactor tile logic 2022-08-30 00:41:30 +02:00
Roy Nieterau
ecf2a89081 More temp restructuring 2022-08-29 23:39:11 +02:00
Roy Nieterau
f9bbda244b More explicit PluginInfo name 2022-08-29 23:22:19 +02:00
Roy Nieterau
f91e33c038 More refactoring/cleanup (WIP) 2022-08-29 23:21:30 +02:00
Roy Nieterau
7af7f71eda Remove logging of plugin name 2022-08-29 19:58:04 +02:00
Roy Nieterau
ae250c4a10 Remove unused comment key-value 2022-08-29 19:55:40 +02:00
Roy Nieterau
6f5fcecfae Use existing variable renderer 2022-08-29 19:55:24 +02:00
Roy Nieterau
4abddd027d Use collected render products for image prefix 2022-08-29 19:55:07 +02:00
Roy Nieterau
23e652a51f Patch plug-in payload with settings 2022-08-29 19:54:36 +02:00
Roy Nieterau
c725ff5b42 Move replacing in publishRenderMetadataFolder to abstract base class 2022-08-29 19:35:05 +02:00
Roy Nieterau
2933b37ef7 Refactor code for readability 2022-08-29 19:34:27 +02:00
Roy Nieterau
e81e3a7a10 Fix missing line 2022-08-29 19:22:06 +02:00
Roy Nieterau
2da8f036de Refactor logic for less indentation 2022-08-29 19:19:37 +02:00
Roy Nieterau
dc5756564b Merge remote-tracking branch 'upstream/develop' into maya_submit_deadline_abstract_base 2022-08-29 19:16:13 +02:00
Roy Nieterau
67b8664be0 Remove comment for patched file code refactor since it's already implemented 2022-08-29 19:15:20 +02:00
Roy Nieterau
dc4c32b6fc Fix representation data for workfile 2022-08-29 19:14:58 +02:00
Jakub Trllo
c26119cc9f use new functions in code 2022-08-29 14:13:08 +02:00
Jakub Jezek
33661b665c
global: submitting job is creating multiple job dependencies
if multiple baking streams are submitted
2022-08-25 16:10:17 +02:00
Jakub Jezek
9b7b217faa
Nuke: adding sumbitted job ids to instance attribute for downstream 2022-08-25 16:02:56 +02:00
Jakub Trllo
882e00baef use Logger instead of PypeLogger 2022-08-24 15:52:47 +02:00
Roy Nieterau
0f95f87d77 More draft refactoring - still not functional (WIP commit for my own sanity) 2022-08-24 14:59:14 +02:00
Roy Nieterau
65d785d100 Draft stash for refactoring maya submit deadline to use AbstractSubmitDeadline base.
- This does *NOT* work currently!
2022-08-24 00:29:08 +02:00
Petr Kalis
370c7f8293
Merge pull request #3694 from pypeclub/chore/better_logging_in_DL
Deadline: better logging for DL webservice failures
2022-08-22 09:44:33 +02:00
Petr Kalis
d4bfbe3b9e
Updated missed occurence
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2022-08-19 14:03:06 +02:00
Petr Kalis
fc4db8802d Fixed issues after code review
Warning should print exception.
JSONDecoder is not in Pype2
2022-08-19 13:01:46 +02:00
Petr Kalis
beedfd2ece Added better logging when DL fails
In some specific cases DL sends broken json payload even if response.ok. Handle parsing of broken json better.
2022-08-18 17:22:28 +02:00