Qt5, Qt Warn

   8480   13   3
User Avatar
Member
147 posts
Joined: July 2015
Offline
hello

In houdini 16,Qt5, whenever I try to open the python panel, It shows this kind of error and a white panel that says page not found ( for Quick Start: calendar Example) :

Qt Warn: /deep/ combinator is deprecated. See
https://www.chromestatus.com/features/6750456638341120 [chromestatus.com] for more details.

is something wrong with my installation?

thank you
User Avatar
Staff
1283 posts
Joined: July 2005
Offline
I haven't seen this warning before but it sounds like Qt's WebEngine (for web rendering) is failing for whatever reason.

Are there any other messages outputted to the terminal? Or just the Qt warning?

Also, out of curiosity, are you able to open the Quick Start example using the Qt4 Houdini build?

Cheers,
Rob
User Avatar
Member
147 posts
Joined: July 2015
Offline
rvinluan
Are there any other messages outputted to the terminal? Or just the Qt warning?

yes … just the warning line mentioned.

rvinluan
Also, out of curiosity, are you able to open the Quick Start example using the Qt4 Houdini build?

no problem with houdini 15.5 (Qt4) .
but in houdini 16 Qt5 .. It says web page not found!
haven't tried houdini 16 Qt4 yet!.

thankx
User Avatar
Member
1 posts
Joined: Feb. 2017
Offline
Can confirm, happens whenever I open Python Panel. Houdini Apprentice 16.0.504.20
Not sure how to use the Panel yet though, complete new user here.
User Avatar
Staff
1283 posts
Joined: July 2005
Offline
Dig some googling and it sounds like the ‘deep’ warning can occur if Qt's WebEngine is failing to load a web page. So it alerts that there is an error but doesn't indicate what that error is.

Anyway, can you try putting this Python code in a shelf tool and click on the shelf tool to see if it produces a more detailed error message?
from PySide2 import QtWebEngineWidgets
web_view = QtWebEngineWidgets.QWebEngineView()
# Temporarily store web view in hou.session so Python
# does not auto-destroy the browser when the script finishes execution.
hou.session.webview = web_view
web_view.setUrl("http://www.google.com")
web_view.show()

I'm curious to see if Qt WebEngine is foo-barred in general or just the quick start example in Python Panels.

If the above script runs successfully, then try replacing
http://www.google.com
with
file://<HFS>/houdini/python_panels/quickstart.html
where <HFS> is the path to your Houdini installation:
- <HFS> => C:/Program Files/Side Effects Software/Houdini 16.0.ZZZ on Windows
- <HFS> => /Applications/Houdini/Houdini16.0.ZZZ/Frameworks/Houdini.framework/Versions/Current/Resources on MacOS
- <HFS> => /opt/hfs16.0.ZZZ on Linux

Also, what operating system are you using?

Cheers,
Rob
User Avatar
Member
147 posts
Joined: July 2015
Offline
thank you
As soon as I get the latest version I'll try this.
rvinluan
Also, what operating system are you using?

I'm on Window 10 64bit.
User Avatar
Member
1 posts
Joined: Aug. 2009
Offline
Using this code as suggested with my install path I set this to a tool on the shelf. When executed it produced the white error window described above

from PySide2 import QtWebEngineWidgets
web_view = QtWebEngineWidgets.QWebEngineView()
# Temporarily store web view in hou.session so Python
# does not auto-destroy the browser when the script finishes execution.
hou.session.webview = web_view
web_view.setUrl("file://C:/Program Files/Side Effects Software/Houdini 16.0.0.504.20/houdini/python_panels/quickstart.html")
web_view.show()

Which produced the same errors as above with the same Houdini Console Error of

Qt Warn: /deep/ combinator is deprecated.
See https://www.chromestatus.com/features/6750456638341120 [chromestatus.com] for more details.

I want to edit to say that I did correct the double zeros in the install path…silly me
Edited by doodle - March 13, 2017 15:47:38
User Avatar
Staff
1283 posts
Joined: July 2005
Offline
doodle
Using this code as suggested with my install path I set this to a tool on the shelf. When executed it produced the white error window described above

from PySide2 import QtWebEngineWidgets
web_view = QtWebEngineWidgets.QWebEngineView()
# Temporarily store web view in hou.session so Python
# does not auto-destroy the browser when the script finishes execution.
hou.session.webview = web_view
web_view.setUrl("file://C:/Program Files/Side Effects Software/Houdini 16.0.0.504.20/houdini/python_panels/quickstart.html")
web_view.show()

Which produced the same errors as above with the same Houdini Console Error of

Qt Warn: /deep/ combinator is deprecated.
See https://www.chromestatus.com/features/6750456638341120 [chromestatus.com] for more details.

Thanks for testing.

After further investigation it appears to be a Windows-only bug with opening web content from local files.

Still investigating…

Cheers,
Rob
User Avatar
Member
147 posts
Joined: July 2015
Offline
hello

trying to do it again with the latest version of Houdini but still get the same error.

ps: do I need to report a bug on this one? because It is very annoying!
Edited by MirHadi - March 31, 2017 08:23:55
User Avatar
Staff
1283 posts
Joined: July 2005
Offline
hadi jam
hello

trying to do it again with the latest version of Houdini but still get the same error.

ps: do I need to report a bug on this one? because It is very annoying!

This bug should be fixed in tomorrow's 16.0.565 build. Please give it a try.

And yes, for future reference, please submit a report when you encounter a bug.
User Avatar
Member
147 posts
Joined: July 2015
Offline
Thank you
I got 16.0.565, and unfortunately seems like the problem persists.
I hope It is not only me getting this kind of problem.
User Avatar
Staff
1283 posts
Joined: July 2005
Offline
Weird. I tried 16.0.565 again on a Windows machine just to double-check and opening a Python Panel works for me. Previously on that machine with an older build the Python Panel opened blank followed by the /deep/ combinator is deprecated warning.

I wonder if there is a system setting that is additionally preventing the Python Panel's quick start example to load.

Perhaps try blowing away the QtWebEngine subdirectory (if it exists) from your Houdini user preferences directory? (i.e. %HOME%/houdini16.0/QtWebEngine).

And if that doesn't work, can you try installing the attached default.pypanel file into %HOME%/houdini16.0/python_panels/default.pypanel. You may have to create the python_panels directory if it does not already exist.

I'm curious to see if that will get the Python Panel working for you though you may run into unloaded images in the quick start example.

Cheers,
Rob
User Avatar
Member
147 posts
Joined: July 2015
Offline
yes, I deleted the QtWebEngine folder.
created the python_panel before and I have something there .. like vexeditor.papanel and It works just fine.

but the problem with that issue still persists!!
same error.
User Avatar
Member
2 posts
Joined: March 2016
Online
I'm getting this in 17.5 as well.
  • Quick Links