New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: No module named 'QtWebKit' #225
Comments
Not that I know. Are you using a casa-distro install or a "native" system ? I guess one of the PyQt modules ( |
Oh I see! |
I think I start to understand. The code in pipeline_developer_view, L4474:
1/ Let's say the user forgot to install PyQtWebEngine but has an up-to-date version of PyQt5 (this was my case with my laptop when I opened this ticket). The config is something like:
In this case, the
2/ Okay, I've cleaned up the configuration:
Using the proposed code I observe now (mia no longer crashes, cool!):
So: Have you an idea @denisri, above all for the point 2.2 (QtWebEngineWidgets must be imported before a QCoreApplication instance is created)? |
Yes it's probably something like that, but my surprise was that the exception was raised from line 4468 of |
Yes you are right @denisri, I just tested.
there is still the
it works (which it shouldn't)! So in casa distro, we currently use QtWebKit in all cases! Ok, so the issue is understood and we can live with it.
I will also make a small PR in capsul so that mia does not crash. |
Mia don't crash if we can not display process doc (#225)
So I tested a quick and dirty thing (just to see):
with:
This is not elegant at all but this is just a try! The result is: No error/exception, message and no doc display ....! |
Why use globals ?
and I would not change |
Ah I'm doing several things at the same time and finally I'm not precise enough! In this case, it's the same result. There is no exception but there is no display of the doc either (I then looked with the global just to make a test but I shouldn't have mentioned it, anyway the result is the same). What is strange is that if we click again on the node we don't see the I'll push the change for mia (import QtWebEngineWidgets before QApplication instanciation), if you want you can just give it a try. I'm interested in your opinion on this doc window thing that is not visible... |
It's completely possible that the |
Last observation, In this case (after clicking on Show doc) if we close mia we don't get the prompt back, something is still running... |
I have tried outside of Mia, with and without
It does display the docs, and if I set a print() in
it actually prints
and docs still display correctly (using |
So it's related to Mia. But I have no idea where it comes from... |
Well for me (in casa-distro) it also works in Mia. Some processes / pipelines don't have docs, thus display blank pages, but others actually display docs, with |
Can you try in Mia with the Smooth process from mia_processes, please ? |
It works, for me... |
Arghhhh It sounds again like a little dust in the wheels ... this little dust that rots my life before finding where it is ... |
Oh wait a minute!!! it seems to work in casa distro ... the last modifications certainly had a beneficial effect :-))) Well, almost ... I observe a black window and a stream of abuse on the stdout (see below) ...: I had not indicated it but this is what I observe (the black window and the messages like
|
This rather looks like an OpenGL problem. Does OpenGL work in your container / system ? (try |
Ok it seems that the remaining issue has nothing to do with the reason of the initial opening of this ticket and especially that it is not a problem in capsul and populse (thank for the tests you done in your side, @denisri ). So I'll close this ticket in capsul and will open one in mia. I admit I don't have a good idea of what to do. We can come back to it when we have a little time! |
While trying to see the doc of a brick (right click in the gnode and Show doc) Mia crash:
There have been changes that could impact on soma-base ?
The text was updated successfully, but these errors were encountered: