Jump to content

John

Members
  • Posts

    68
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by John

  1. Hello, In spreadsheet, is there any chance I can group entities by custom attributes other than predefined ones?(For now it only has Assignee, Priority, Status, Type). So I can group shots by episodes instead of putting them under each episode objects. Cheers, John
  2. Hello, Any chance I can get rid of this icon(in red circle)? As we don't want to provide any alternative ways to publish files other than our own inhouse publish tools. Thanks. John
  3. Update: The report is being generated perfectly after changing the font to a proper font rather than leaving it as default.
  4. Yes I have. Glad to hear that. It really matters and makes sense because it allows us to map arbitrary data into a ftrack in what ever way we like and get the summary/average. Cheers.
  5. It works now. I think part of the reason this thread becomes so lengthy is I didn't realize I need to have an event handler running by myself to supersede connect, so I kept asking how ftrack python api gets called. Thanks Steve and of cause Lorenzo!
  6. If I register and publish events using python api I can get the correct results. I didn't get any problem with that. And about FTRACK_EVENT_PLUGIN_PATH, here's what I tested: With Connect, Without FTRACK_EVENT_PLUGIN_PATH: Component Path correctly resolved. Custom resolver.py not picked up.(which is correct) With Connect, With FTRACK_EVENT_PLUGIN_PATH: Component Path correctly resolved. Custom resolver.py correctly picked up. No Connect, Without FTRACK_EVENT_PLUGIN_PATH: Component Path RED. Custom resolver.py NOT picked up. No Connect, With FTRACK_EVENT_PLUGIN_PATH: Component Path RED. Custom resolver.py NOT picked up. So the question remains: how to get the component path resolved correctly without connect? (And again it's kind of fine if it not feasible) I hope by this way I have what I'm trying to express expressed clearly.
  7. Sadly all the entities are custom object.. Just asking does it has to be on task? Appears to be a big limitation to what we are planning to do..
  8. Hello, Any reason the function menu in column header of Frame end is gray? (Bid hours works perfectly though) I tried attributes with type of Number and default value but it doesn't work either. Cheers. John
  9. Hi, @Lorenzo, Yes I read that before. Unfortunately it doesn't answer my question. Here are what I got so far: The correctness of path resolution relies on resolve.py: Clear ✔️. A customized resolve.py can be picked up by ftrack python api if I set FTRACK_EVENT_PLUGIN_PATH: Clear ✔️. But here's the confusing bit: The environment is needed here is because we want ftrack-web to resolve the path correctly. I can write a tool using ftrack python api and I'm sure the environment variable will work like you said, but the path shown on the web is still RED. So the real question is, is it possible to let a costumized resolve.py picked by ftrack-web like ftrack-connect does ❓ Anyway it's kind of fine if it's impossible.
  10. John

    Fails to encode media

    Thanks Lorenzo, that solved my problem.
  11. I thought we are talking about using FTRACK_EVENT_PLUGIN_PATH without ftrack-connect. How does ftrack-python-api get chance to handle the environment variable if there's no ftrack-connect?
  12. Hi Lorenzo, thanks for you patience. " ftrack event system" is a bit confusing to me.. (I know in ftrack-python-api the sesion object can publish event and register handler, but in this case ftrack-python-api doesn't get chance to do the work) Is it the ftrack web page gets the envionment variable and transmits it to the resolution server?
  13. John

    Fails to encode media

    /******************* Start **********************/ Event Type: localencoder Timestamp: 2019-08-08 17:01:40.008026 -------------- Event specific data --------------- >>>>>>>>>> Create ftrackreview components Encoding component u'f870ef4c-101e-4fab-bc01-ed7e6cd1482b' using local encoder. ERROR:ftserver.lib.ftrackreview.componenthelper:Encoding job failed. Traceback (most recent call last): File "/tmp/pip-install-ZcDoik/FTServer/ftserverb/ftrackreview/componenthelper.py", line 232, in create File "/tmp/pip-install-ZcDoik/FTServer/ftserverb/ftrackreview/encoder/ffmpeg.py", line 253, in updateComponents File "/tmp/pip-install-ZcDoik/FTServer/ftserverb/ftrackreview/encoder/ffmpeg.py", line 155, in encode File "/tmp/pip-install-ZcDoik/FTServer/ftserverb/ftrackreview/encoder/ffmpeg.py", line 77, in _runCmd File "/opt/ftrack/pythonb/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/opt/ftrack/pythonb/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory Happen to find this link. Above is the log found in /tmp/ftrack_reg_worker_00.log. The media path I used to be encoded is a windows local path, and the ftrack server is using linux, so the path cannot be accessed by the server directly(but can if there's upload process during version.encode_media()). Could it be the reason?
  14. Oh I managed to figure this out. It's in the "Team" section in the project. Thanks.
  15. So how does the environment variable affect the way the session object picks up its plugins? Environment variables can only affect local sessions as far as I know. But there's no local sessions in the case that the web browser is the only thing a use has, right?
  16. Hello, In 4.2 ftrack studio has the ability to set the project to be created to "private" when creating it. My question is, for existing one, is there any chance to do the same thing? Cheers, John
  17. John

    Fails to encode media

    Hi Lorenzo, Sorry for the late reply. The log mentioned in the link is ftrack-connect log and doen't appear to provide anything to do with encoding. (I closed ftrack-connect, deleted the log files, encode media using python and the log remains empty after failed.) If there's any log carrying encoding information I assume it's located on the server side.
  18. In regards to "The environment variable will tell the session object where to pick up its plugins (the resolve in this case)." does the specific "session object" live in browser? Because it definitely doesn't start locally in any python intepreter as one can browse ftrack web without python installed.
  19. John

    Fails to encode media

    Sure. Could you tell me where the log is? Cheers.
  20. The environment variables can affect the local python created session object. But isn't the session that generate the web page on server end? So locally setting ftrack variables won't affect the web page. Is it right? Or did I misuse the word "web"? Just to be clear I mean the ftrack web page interface, not through customized python client.
  21. John

    Fails to encode media

    I tried movs with size of 232M, 64M. I can provide log if I know where it is. Let me know if you need it.
  22. Sorry I have to bother you again. Because it still doesn't work, nor did I get the logic. Could you talk a little bit more detail about how the component path in ftrack web page get resolved by script under $FTRACK_EVENT_PLUGIN_PATH? I think that's the part confused me most. ftrack web page is displayed in web browser, the browser might know the environment variable but how does the script get involved?( there's even no python interpreter on the machine that's running the web browser).
  23. John

    Fails to encode media

    Hello, ftrack fails to encode mov file using API. I tried mov encoded with Apple ProRes 4444 and Apple ProRes 422 HQ but both failed. The status shows up "Failed" in Jobs slider. The way I'm encoding it is: asset_version.encode_media(media_path) Also I tried encode a media on ftrack.server but didn't get any luck. It works with pictures though. Any clue? Thanks.
×
×
  • Create New...