Page 1 of 1

Clarisse Submission Error - Qt bindings

Posted: Sun Jan 06, 2019 2:49 pm
by bazarus
Hi.
Anyone has this submission error in clarisse windows?

Code: Select all

00:02:47      File "<string>", line 6, in <module>
00:02:47      File "c:\gl\tools\cgru\lib\python\Qt.py", line 446, in <module>
00:02:47        cli(sys.argv[1:]) if __name__ == "__main__" else init()
00:02:47      File "c:\gl\tools\cgru\lib\python\Qt.py", line 419, in init
00:02:47        raise ImportError("No Qt binding were found.")
00:02:47    ImportError: No Qt binding were found.
00:02:47    
Clarisse 3.6 SP7. Python 2.7 installed in system. Trying last Afanasy build 2.3.0 from site and github - same error but of course another lines.

Thank you.

Re: Clarisse Submission Error - Qt bindings

Posted: Wed Jan 09, 2019 2:32 pm
by timurhai
Hi.
I do not have Clarisse and Windows (must die :) ) by hand.
But error message says: "No Qt binding were found.".
Have you installed some PySide or PyQt?

Qt is a python module (script) that finds and uses latest PySide or PyQt module for a Qt GUI in Python:
https://github.com/mottosso/Qt.py

ps
Installing any Python in system is not a good idea.
Better just to copy it, and use environment variables to identify it for each specific soft if needed.
What will happen if some soft will need Python2.7 and some other Python3.6?

Re: Clarisse Submission Error - Qt bindings

Posted: Thu Jan 10, 2019 1:50 pm
by bazarus
Thank you for reply and advise. I have several versions python (for Clarisse their bundled 2.7.5) and PyQt5. Of course all through env variables. I found your topic on isotropix forum. Maybe they have changed something since then. I will try to look for the problem in bindings on my side and then reply.

Re: Clarisse Submission Error - Qt bindings

Posted: Mon Mar 11, 2019 9:52 am
by ahmad
I have the same problem, any update?

Re: Clarisse Submission Error - Qt bindings

Posted: Mon Mar 11, 2019 10:40 am
by timurhai
Hi.
Better to ask on Clarisse forums.
It is not a CGRU issue (but related), it is a Clarisse + Python Qt issue.

https://github.com/mottosso/Qt.py can't find any Qt, may be there is not any?
- this python module is a very well known too in a CG world, see https://github.com/mottosso/Qt.py#whos-using-qtpy

Re: Clarisse Submission Error - Qt bindings

Posted: Mon Mar 11, 2019 11:09 am
by bazarus
The problem was in python which used by clarisse. It is solved by installing PyQT for its version. Now afanasy submitter works well. If you on windows platform you can search PyQt4-4.11.4-gpl-Py2.7-Qt4.8.7-x64 file and install it in Clarisse python 2.7.5

Re: Clarisse Submission Error - Qt bindings

Posted: Mon Mar 11, 2019 1:49 pm
by ahmad
ok. thanks for replay