Commit graph

919 commits

Author SHA1 Message Date
Roy Nieterau
4d53e4f5fb
Application launch context: Include app group name in logger (#4684)
* Include app group name with app name for logger

* Include app group name in launch finished log message

* Include app group name with launching message

* Use `application.full_name` instead
2023-03-23 10:27:02 +01:00
Roy Nieterau
90f5cdf7f3
Use app.full_name (#4686) 2023-03-23 09:59:56 +01:00
Roy Nieterau
654bef0afc Tweak logging - preserve order and clarify versions with groups 2023-03-22 23:53:30 +01:00
Roy Nieterau
28b424bf2f
Publisher: Windows reduce command window pop-ups during Publishing (#4672)
* Avoid command pop-ups during publishing (tip by @iLLiCiTiT)

* No need to pass creationflags because it's already done in `run_subprocess`

* Hide command window for `shell=True` calls

* Update openpype/lib/execute.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

---------

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-03-22 12:13:21 +01:00
Roy Nieterau
96e184c8ca
Integrator: Enforce unique destination transfers, disallow overwrites in queued transfers (#4662)
* Fix #4656: Enforce unique destination transfer in Integrator

Note that this is per instance - it doesn't validate cross-instance destinations in the context

* Use explicit DuplicateDestinationError and raise as KnownPublishError
2023-03-21 15:29:19 +01:00
Jakub Trllo
f96670d9df use right validation for ffmpeg executable 2023-03-16 11:20:00 +01:00
Petr Kalis
be6a22b485 Fix - newline 2023-02-23 16:42:48 +01:00
Petr Kalis
72a3572d95 Revert "OP-4643 - split command line arguments to separate items"
This reverts commit deaad39437.
2023-02-23 16:35:42 +01:00
Petr Kalis
945f1dfe55 OP-4643 - added explicit enum for transcoding type
As transcoding info (colorspace, display) might be collected from DCC, it must be explicit which should be used.
2023-02-23 15:39:55 +01:00
Petr Kalis
5678bdbf06 OP-4643 - different splitting for oiio
It seems that logic in ExtractReview does different thing.
2023-02-23 15:39:55 +01:00
Petr Kalis
559d54c3a1 Revert "OP-4643 - split command line arguments to separate items"
This reverts commit deaad39437.
2023-02-23 15:39:55 +01:00
Petr Kalis
984974d7e0 OP-4643 - split command line arguments to separate items
Reuse existing method from ExtractReview, put it into transcoding.py
2023-02-23 15:39:54 +01:00
Petr Kalis
3921982365 OP-4642 - added additional command arguments for oiiotool
Some extension requires special command line arguments (.dpx and binary depth).
2023-02-23 15:39:54 +01:00
Petr Kalis
925c7a9564 OP-4643 - updated docstring for convert_colorspace 2023-02-23 15:39:53 +01:00
Petr Kalis
016111ab33 OP-4643 - changed docstring
Elaborated more that 'target_colorspace' and ('view', 'display') are disjunctive.
2023-02-23 15:39:53 +01:00
Petr Kalis
97a2014c12 OP-4643 - moved output argument to the end 2023-02-23 15:39:53 +01:00
Petr Kalis
7e9d707226 OP-4643 - updated docstring, standardized arguments 2023-02-23 15:39:52 +01:00
Petr Kalis
be176bbeb2 OP-4643 - implemented display and viewer color space 2023-02-23 15:39:52 +01:00
Petr Kalis
83d21d9d77 OP-4643 - changed oiio_cmd creation
Co-authored-by: Toke Jepsen <tokejepsen@gmail.com>
2023-02-23 15:39:52 +01:00
Petr Kalis
9fc4070e06 OP-4643 - refactored according to review
Function turned into single filepath input.
2023-02-23 15:39:51 +01:00
Petr Kalis
ec299f0d3c OP-4643 - pass path for ocio config 2023-02-23 15:39:51 +01:00
Petr Kalis
2f1888bbfb OP-4643 - added ExtractColorTranscode
Added method to convert from one colorspace to another to transcoding lib
2023-02-23 15:39:50 +01:00
Petr Kalis
6cb8cbd6fc OP-4643 - added explicit enum for transcoding type
As transcoding info (colorspace, display) might be collected from DCC, it must be explicit which should be used.
2023-02-23 15:36:03 +01:00
Petr Kalis
840f681134 OP-4643 - different splitting for oiio
It seems that logic in ExtractReview does different thing.
2023-02-23 15:36:03 +01:00
Petr Kalis
94ee028792 Revert "OP-4643 - split command line arguments to separate items"
This reverts commit deaad39437.
2023-02-23 15:36:03 +01:00
Petr Kalis
b304d63461 OP-4643 - split command line arguments to separate items
Reuse existing method from ExtractReview, put it into transcoding.py
2023-02-23 15:36:02 +01:00
Petr Kalis
b1d30058b0 OP-4642 - added additional command arguments for oiiotool
Some extension requires special command line arguments (.dpx and binary depth).
2023-02-23 15:36:01 +01:00
Petr Kalis
7eacd1f30f OP-4643 - updated docstring for convert_colorspace 2023-02-23 15:36:00 +01:00
Petr Kalis
190a79a836 OP-4643 - changed docstring
Elaborated more that 'target_colorspace' and ('view', 'display') are disjunctive.
2023-02-23 15:36:00 +01:00
Petr Kalis
8598c1ec39 OP-4643 - moved output argument to the end 2023-02-23 15:36:00 +01:00
Petr Kalis
176f53117f OP-4643 - updated docstring, standardized arguments 2023-02-23 15:35:59 +01:00
Petr Kalis
382074b54c OP-4643 - implemented display and viewer color space 2023-02-23 15:35:59 +01:00
Petr Kalis
756661f71b OP-4643 - changed oiio_cmd creation
Co-authored-by: Toke Jepsen <tokejepsen@gmail.com>
2023-02-23 15:35:59 +01:00
Petr Kalis
5a562dc821 OP-4643 - refactored according to review
Function turned into single filepath input.
2023-02-23 15:35:58 +01:00
Petr Kalis
52a5865341 OP-4643 - pass path for ocio config 2023-02-23 15:35:57 +01:00
Petr Kalis
8a67065fce OP-4643 - added ExtractColorTranscode
Added method to convert from one colorspace to another to transcoding lib
2023-02-23 15:35:57 +01:00
Fabia Serra Arrizabalaga
c41a3b1cb8 Pass module name and set __file__ on module to avoid AttributeErrors saying module has no __file__ attribute 2023-02-22 17:21:37 +01:00
Jakub Trllo
cf17ff50b5 use detached process in ffprobe 2023-02-22 14:07:38 +01:00
Jakub Trllo
c177c26c86 safe access to constants 2023-02-22 14:07:38 +01:00
Jakub Trllo
ed909ca527 add 'CREATE_NO_WINDOW' to flags (if is available) 2023-02-22 14:07:38 +01:00
Jakub Trllo
0f9e12955c look for creationflags in kwargs instead of explicit argument 2023-02-22 14:07:38 +01:00
Jakub Trllo
e69ba621d1 unify quotes 2023-02-22 14:07:38 +01:00
Jakub Trllo
567b6dfb14 on windows always autofill creation flags 2023-02-22 14:07:38 +01:00
Jakub Trllo
e0879fd67d Pass creation flags on windows in UI executables 2023-02-22 14:07:38 +01:00
Jakub Trllo
f56e7bcbf8 removed deprecated functions from openpype lib 2023-02-13 10:51:21 +01:00
Jakub Trllo
b5b155828a use 'backslashreplace' on error of output decoding 2023-02-09 20:10:41 +01:00
Jakub Trllo
0d527a477b fix super call 2023-01-30 12:07:24 +01:00
Jakub Trllo
5d9e7cf52d fix formatting 2023-01-27 17:21:28 +01:00
Jakub Trllo
d48b73ed61 fix typo 'AbtractAttrDef' to 'AbstractAttrDef' 2023-01-27 16:28:00 +01:00
Jakub Trllo
36df58aba1 added more conditions for comparison 2023-01-27 15:47:30 +01:00