pyblish / pyblish-qml

Pyblish QML frontend for Maya 2013+, Houdini 11+, Nuke 8+ and more
GNU Lesser General Public License v3.0
114 stars 44 forks source link

Dialog closes unexpectedly when any validation has failed #348

Closed salvaom closed 5 years ago

salvaom commented 5 years ago

Hello.

I'm finding that since I've last updated pyblish-qml (1.8.7 -> 1.10.2) I'm having this issue where if something fails to validate, the dialog closes suddenly and without explanation. If there is no validation error, it'll work just fine. I've made a couple of videos showcasing the issue:

video1 video2

I'm using the following versions:

pyblish 1.8.0
pyblish_qml 1.10.2
pyQt 5.9
maya 2019.1
os Windows10

Has anyone experienced something similar?

tokejepsen commented 5 years ago

Yup have experienced the same.

davidlatwe commented 5 years ago

Hi @salvaom , you might need to provide minimum reproducible code or the error log.

What I have learnt from those two video, QML did not crash when you only run the validation, and it crash when you run publish. Is that correct ?

salvaom commented 5 years ago

@davidlatwe Here are some logs, it's not much, so I'll try to get a repro code working and share it here.

salvaom commented 5 years ago

@davidlatwe I'm able to reproduce with the following snippet

davidlatwe commented 5 years ago

Thanks @salvaom , I found that you are using Python 3.7 from your log, I think the reason was the same as #333.

Can you change to use Python 3.6 for a test ?

davidlatwe commented 5 years ago

It's definitely because Python 3.7, since PEP 479 has been enabled in Py37.

Closing this now since this issue has been confirm as duplicated with #333.