@timsergeeff Just want to say this is excellent, and thank you very much for providing the screen capture - and sticking around to try and solve this.
But, boy - this is a lot!
Kitsu integration
What syncs which way, I’m not the one to confirm - sorry. No knowledge on my end.
You seem to have an issue with how it syncs Frame Start, Frame End and Frames(?). I’m not sure what Frames means in Kitsu. But that issue in the video at +/-20 seconds into the video is maybe better answered by @Danell or maybe @frankrousseau can explain a little about the Kitsu-side of things (although likely knows little about the AYON integration?)
Resolve
You seem to have looked into it and figured out how stuff should work, great! Unfortunately the opentimelineio
library issues are holding you back.
So, I decided to give this a go myself - and I unfortunately did not get the same error:
Which makes me think that maybe - since you’ve likely installed opentimelineio
just now that you may be on a recent version that may have changes to their API breaking the code?
Using pip list
for my python, e.g. python -m pip list
I found out that I’m on OpenTimelineIO
version 0.15.0
So I upgraded my version using python -m pip install --upgrade OpenTimelineIO
and it installed version 0.17.0
. And suddenly the Resolve integration didn’t even start. I tried just running the standalone Python and do import opentimelineio
. Also crashed!? (This may not occur to you - it may just be issues in my Python env)
So, I uninstalled 0.17.0
and installed 0.16.0
instead using:
python -m pip uninstall OpenTimelineIO
python -m pip install OpenTimelineIO==0.16.0
Now the import opentimelineio
didn’t crash the Python interpreter. This also fixed the integration.
And indeed - I’m getting the same error as you:
So yes, there seem to be some OpenTimelineIO issues with recent versions - reported the ayon-resolve
bug here.
For now I’d recommend downgrading your OpenTimelineIO package to 0.15.0:
Which would be along the lines of this
python -m pip uninstall OpenTimelineIO
python -m pip install OpenTimelineIO==0.15.0
Or however you’re managing your python environment.
Hiero
For Hiero, I’m personally clueless. I’ve never used the software. All the logic in the integration appears to be in-place.
- Through this code the
HIERO_PLUGIN_PATH
environment variable should be set to include the relevant AYON startup scripts folder to trigger in the Hiero integration. According to this Hiero docs that should work fine.
So, to debug - it would be good in Hiero if you could check whether the environment variable is set as intended. If you can run some Python code there:
import os
print(os.getenv("HIERO_PLUGIN_PATH"))
That should print the paths - and it should include a path to the ayon_hiero/api/startup
addon.
Whether that does or does not exist - you could try and trigger the host install manually that is in this file. Which means just running this Python code in Hiero:
from ayon_core.pipeline import install_host
import ayon_hiero.api
install_host(ayon_hiero.api)
That file also does some odd try..except
and it’s a bit unclear WHY it does that.
But you may need to also call:
import ayon_hiero.api.lib
ayon_hiero.api.lib.setup()
To complete that.
I suspect that if there are errors - they will start showing up when running any of this in the Python console of Hiero (assuming it has one)
So, what was your HIERO_PLUGIN_PATH
printed output? And what did these install logic show as errors? (If they do show errors, then it seems that Hiero doesn’t show errors on startup scripts - which explains why it was making it hard to debug!)
Traypublisher
This got me so confused - until I played the video at 0.5x speed. It seems that JUST before you publish you are removing the top video file in the “representations” field. The representation file there is required, and hence the error you are getting is correct.
The review file is optional. I’m personally not entirely sure what the review field is for and what that does to differ the result. I believe that may affect whether it’d end up on Kitsu or not. Regarding the reviewable maybe @libor.batek knows more and regarding what ends up on Kitsu maybe community member @Danell knows a bit about the outputs?
Nuke
Not being a Nuke user myself I’m not sure what is wrong with that first loaded clip. You mentioned something about “frame range”, “resolution” and “handles”. What was wrong in your opinion?
And good to say at least that ended with a YAY!
Nuke got at least one plate to Kitsu.
Have you tried Editorial Package?
So, have you also tried the Editorial Package in the Tray Publisher. It sounds somewhat close to what could work for you - and I’m sure @milan can tell you more about it.
Not sure how possible it is, but we might want to take some of this conversation into a dedicated clearly labeled topic of its own @mustafa_jafar ?