-
Notifications
You must be signed in to change notification settings - Fork 12
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
using mousetrap fails on Ubuntu 13.04 #20
Comments
Thank you for upgrading and sorry it is still not working. I think this is related #18, I'll upgrade the jll with the fix described in that issue. I'll get back to you when it is online |
The new version was just deployed, please reinstall mousetrap by running the following in the REPL: import Pkg
begin
try
Pkg.rm("mousetrap_linux_jll")
Pkg.rm("mousetrap")
catch end
Pkg.add(url="https://github.com/clemapfel/mousetrap_linux_jll")
Pkg.add(url="https://github.com/clemapfel/mousetrap.jl")
end Given our history with your ubuntu machine, I'm not too hopeful this will have fixed the You can check if it works with a hello world like this: using mousetrap
main() do app::Application
window = Window(app)
present!(window)
end PS:
And see if that helped. |
I think you made a typo:
|
OK, I installed the new packages. Now I get:
|
What does import Pkg; Pkg.add("libjulia_jll"); import libjulia_jll; names(libjulia_jll) say? |
Also please do the same for import mousetrap_linux_jll
println(names(mousetrap_linux_jll)) |
Downgraded to Julia 1.9.3. Now different errors:
|
How did you install Julia and how are you starting it? Does this also happen if you run |
julia> import mousetrap_linux_jll julia> println(names(mousetrap_linux_jll)) |
julia> import Pkg; Pkg.add("libjulia_jll"); import libjulia_jll; names(libjulia_jll) |
Those look good, what does mousetrap_linux_jll.mousetrap_julia_binding Give? It should be a path |
julia> mousetrap_linux_jll.mousetrap_julia_binding |
I installed Julia using juliaup. Not using vscode, just the REPL. |
Okay, none of this is making any sense. First it said it can't find libjulia.so itself, then it does find it but crashes in a function that cannot crash. Just to eliminate the variables, please pick a a Julia version, uninstall mousetrap begin
import Pkg;
Pkg.rm("mousetrap_linux_jll")
Pkg.rm("mousetrap_windows_jll")
Pkg.rm("mousetrap_apple_jll")
Pkg.rm("mousetrap")
end Close the REPL, reopen the session, then do a clean install begin
import Pkg
Pkg.add(url="https://github.com/Clemapfel/mousetrap_windows_jll")
Pkg.add(url="https://github.com/Clemapfel/mousetrap_linux_jll")
Pkg.add(url="https://github.com/Clemapfel/mousetrap_apple_jll")
Pkg.add(url="https://github.com/Clemapfel/mousetrap.jl")
end
using mousetrap And report the error. I will try to reproduce this on my own, I will get back to you in the next few days. I apologize for this but the error and the code causing it keeps changing to something completely different and I have no other users reporting an error with ubuntu. |
First I used Julia 1.10.beta2, then 1.9.3... And I have three physical computers and any number of virtual machines, but only one virtual machine with Ubuntu 13.04. I am using vmware workstation player (free)... The good thing is that I can delete the .julia folder in my virtual machine as often as I want without much impact. I try again tomorrow... |
Please don't use a VM to check other version, just pick your physical computer so we can try to get it running there. I'm frustrated with the error but not with you, you've been very cooperative and helpful so thank you for that. I will close #11 since we have moved to this issue anyway. |
I can reproduce this now, I'll have a fix ready soon. You don't need to do the extra steps I can do this by myself now |
Confirmed to most likely be a downstream bug, not related to mousetrap, cf. #11 (comment) I'm sure it's 100% on CxxWrap for Ubuntu 22.04 but I still need to verify if this is also the case for the Ubuntu 13.04 issue you mentioned. |
I tested mousetrap on Ubuntu 13.04 with Wayland. I tested the #main branch and get the following error:
The text was updated successfully, but these errors were encountered: