-
Notifications
You must be signed in to change notification settings - Fork 5
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
Script basic/canvas.jl crashes during Qml loading #13
Comments
Thanks for reporting this. I can reproduce this if I run other examples before canvas in the same Julie session. Does it also crash if you run canvas.jl as first and only example in the Julia session? Looking at your backtrace, the cause of the crash appears to be that the |
Thank you for your quick response. My original attempt was on the command line:
After your reply, I tried running in the REPL:
The output is the same as before. |
Can you try doing |
I tried that, but still get the same error. |
I'm completely out of ideas then. Setting this env var should force basic (non-threaded) rendering, but I see from your trace that it is using threaded rendering anyway. Making QML.jl work with threaded rendering is on the todo list, so then this will work. |
The script explicitly sets |
canvas.jl was not working for me as well. I was going through basic as well and I noticed the 2 other canvasses were working. I also noticed they both had 2 controls and canvas.jl had only one. So I commented out Now it works at least for me. |
Interesting, thanks. It's late in the day now, but I'll try it out tomorrow and report back. |
Running Julia v1.11.2, the script still fails for me (I had to change the @ghmorrison In reference to your issue #18, the script |
Regarding canvas.jl I had already changed my compat and cxxWrap and it did not run until I commented out that line. I am running dat linux and listmodel-fromjulia.jl is still not working for me. Perhaps it has a dependency I am missing. |
Oh, I didn't realise you were running Linux: my issue relates specifically to Windows. All the scripts in the |
This is really weird. canvas.jl works with ENV["QSG_RENDER_LOOP"] = "basic" on old dell precision using distro MX linux running desktop enviroment of xfce. I still have to comment it out on the 2 year old hp z workstation using distro dat linux running desktop enviroment of lxqt. |
All my comments about canvas are wrong can I just delete them? |
Sorry, and thank you for taking the time to respond. |
It stopped working again and I have found some issues with using ENV["QSG_RENDER_LOOP"] = "basic" and the desktop environment kde. kde is related to lxqt. This does not explain the issue with listmodel-fromjulia.jl. xfce is a different family of desktop environments. |
On Windows 11 (Julia versions 1.9.4 and 1.10.0-rc2) the script crashes while executing
loadqml
. On WSL, on the same machine, the script runs correctly. All other example scripts in the same folder run correctly on both systems. This may be a problem withQml.jl
, but I don't understand enough to try to debug. Happy to provide more information if it will help.The output on failure is:
The text was updated successfully, but these errors were encountered: