Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Roy Nieterau
@BigRoy
However, that might be useful reference for later. For now try to get a simple case running so you can get the grasp of everything. :)
marin petrov
@scroll
Perfect thanks @mkolar and @BigRoy
saving these references for later ;)
Roy Nieterau
@BigRoy
Note that these references are all studio configurations for open-source pipeline Avalon. So they might appear to have similarities that are not necessarily required for Pyblish.
Marcus Ottosson
@mottosso
Didn't you also have a pure-Pyblish collection @BigRoy?
Roy Nieterau
@BigRoy
That would've been this one I think: https://github.com/BigRoy/pyblish-magenta
But note that it's over two years old.
Plus at the time we had a private repository working alongside it.
My personal recommendation would be to not look too much to that one.
Marcus Ottosson
@mottosso
Nothing to be embarrassed about, Pyblish plug-ins are like a fine wine; gets better with time!
Roy Nieterau
@BigRoy
Hehe.
Milan Kolar
@mkolar
Some fine wine can rot if it's in an old barrel you know ;) but these are still in production on one project https://github.com/kredencstudio/pyblish-kredenc
Jasper van Nieuwenhuizen
@jasperges
Hi all, has anybody attempted to make a Pyblish integration for Photoshop? Preferably using PyblishQML? And if yes, do you have anything to share? Did you run into issues?
Toke Jepsen
@tokejepsen
Once upon a time I made one for AfterEffects which you could probably adapt; https://github.com/pyblish/pyblish-aftereffects/pulls
Roy Nieterau
@BigRoy
If you'd move down that line. Would the Pyblish plug-ins be javascript? Or how did that end up working Toke?
I'd be quite interested too.
@mkolar didn't you have a similar prototype that also worked with Premiere? Seemingly there's a Collector and a related folder to premiere in the config plus some related commits to your core fork
Toke Jepsen
@tokejepsen
The plugins are still python but you would sent javascript commands to AE. Not the best, but good for someone with limited (no) javascript experience, to get up and running with AE Pyblish.
Jasper van Nieuwenhuizen
@jasperges
Thanks. We have some working plug-ins (using COM on Windows). But now looking in getting it nicely integrated with Photoshop.
Marcus Ottosson
@mottosso
Is there an equivalent to COM for PS on MacOS?
Jasper van Nieuwenhuizen
@jasperges
to be honest, I don't think so. But for now we need to have something working quickly and Photoshop is only used on Windows here. (I'm also not the main person working on this...)
Roy Nieterau
@BigRoy
Does the COM workflow also work for After Effects / Premiere? Asking for a friend ;)
@jasperges are you using this? https://github.com/loonghao/photoshop_python_api
Roy Nieterau
@BigRoy
There's also this one: https://github.com/lohriialo/photoshop-scripting-python that has a Mac section which states to use appscript on Mac.
Marcus Ottosson
@mottosso
So there's quite some information about it I guess. :D
Jasper van Nieuwenhuizen
@jasperges
Wow, nice. Thanks! @BigRoy Yes, Thierry is using that one. :) And I don't know if COM also works for After Effects and Premiere.
Nope, sorry, the second one: https://github.com/lohriialo/photoshop-scripting-python
Marcus Ottosson
@mottosso
From the Avalon chat, but belongs here:
image.png
Roy Nieterau
@BigRoy
Haha, that's awesome!
Toke Jepsen
@tokejepsen
Wow! Great for exposure
Milan Kolar
@mkolar
awesome.
Ruchit Bhatt
@ruchitinfushion
is repair method works only in publish QML ? Pyblish-Lite UI not showing drop-down on validator to repair.
Toke Jepsen
@tokejepsen
Could you share the validator you have?
Ruchit Bhatt
@ruchitinfushion

@tokejepsen For instance take this
validate_correct_shape_names.py

How to trigger repair method via pyblish-lite UI ?

Toke Jepsen
@tokejepsen
It may be that pyblish-lite does not work with the old style of repairing. The new style is to use actions to any repairing (or other actions you want available in the right-click menu).
Milan Kolar
@mkolar
Toke is right I think. We are using the newer actions to repair stuff in lite too.
Ruchit Bhatt
@ruchitinfushion
@mkolar & @tokejepsen Thanks. Action is so cool!
Erik Johansson
@Eiken
@mottosso so we finally deployed python3 properly :) testing through stuff now before merging your code and some other additions we have made
got some funky issue where houdini crashes when closing pyblish with close() when ran through our applauncher but not normal terminal. (both uses same environment setup). ever heard of something similiar?
Marcus Ottosson
@mottosso
Hey there @Eiken, good to hear about the merging. :) Not familiar with the Houdini crashes, is this using Pyblish QML or Lite? How is it being launched? Possibly something in the closeEvent() trying to clean things up? Maybe someone else has experienced that before. A quick glance at the issues, there's pyblish/pyblish-houdini#15 which was never confirmed but possibly related.
Erik Johansson
@Eiken
it's using QML, i am pretty confused as the only difference is manually opening a terminal and running houdini compared to a button in Qt gui that starts a terminal and then houdini
we will investigate some more and see if we can at least get some error that makes sense, now it's just brining down houdini when it closes the pyblish window without any info at all
Marcus Ottosson
@mottosso
Ok, QML does have a few signals it listens for that deal with staying on top of other windows and such
Might we worth commenting those out to see whether it makes a difference
Roy Nieterau
@BigRoy
We are using Houdini and haven't had this behavior yet. We are explicitly parenting it to parent: parent = hou.qt.mainWindow(). Not sure if that makes a difference. pyblish_qml.show (parent=parent)
Erik Johansson
@Eiken
will give that a try, we also saw that the function trying to find the correct parent in pyblish did not return same as hou.qt.mainWindow()
Marcus Ottosson
@mottosso