I've noticed some issues with having two hosts open, like two sessions of Maya, where pyblish-qml opens but there is nothing in the dialog. Even the terminal is completely empty.
Anyone else experienced the same?
Hm, haven't seen that before.
What happens when you refresh Pyblish in the other Maya?
Not the exact same issue, but its similar.
You can enable the QML console which might give you some hints.
# Enable console
os.environ["PYBLISH_QML_CONSOLE"] = "1"
# Show GUI
This sounds like a bug.
In general, prefer closing the GUI when you're done. I'll have a look at tightening up what happens when the GUI remains open.
The GUI was closed in the modelling task, but still got the bug.
Ah, thanks for that.
How are you working around it currently?
Open one task at a time:) No multi-tasking here.
Haha, aw. That's no good.
If you try opening the console, you might be told about an error. If you could post that here, that would help a lot.
Don't get a console with the code above.
Are you sure you held Shift while closing the GUI, before running that?
Sorry, didn't look at it. Tried doing this without opening two tasks, and got;
# Error: error: file C:\Program Files\Autodesk\Maya2015\bin\python27.zip\socket.py line 571: 10061 #
Also no UI.
That's ok, it happens because Shift-quitting if a way of forcefully quitting Pyblish QML, it doesn't let Maya finish off the connection. If you try starting the GUI again, it should work a bit better.
Still not getting any UI.
Ok, another way to get the terminal, is to set the variable before launching Maya. That way, we won't have to deal with Shift-closing.
Ok, interesting, it looks like it has to do with Pyblish QML switching between hosts. I haven't encountered it before, but should be able to find a solution for it. Thanks for investigating!
Was there a solution for this?
I can't replicate the problem here, so I'm not sure how to solve it.
Have you tried hosting Pyblish locally, and running multiple hosts? That would tell me whether the problem is related to network hosting or not.
Tried a local running Pyblish, and still getting the problems:(