-
Notifications
You must be signed in to change notification settings - Fork 2
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
Linux: Cody app crashes trying to open browser #32
Comments
Thanks for filing! It looks like something with your system is incompatible with tauri-plugin-shell Unfortunately it may be quite difficult for us to reproduce/fix this, I think we will need to reproduce your OS setup and see if we can reproduce the behavior there. |
I believe this PR should stop the app from crashing and hopefully reveal why the shell cannot open paths/urls. I also couldn't find the log file, presumably because opening that file/dir also failed on Only I haven't figured out how to build just the Tauri app (or I have to complete the full development environment). |
@ar-jan thanks for looking into this! I'm happy to merge that PR and include it in our next release if you think that will help (or will help find the cause.) If you want to try building just the Tauri app, you should be able to do the following:
It may require some dependencies, which you could set up by following these steps. No guarantee it'll work, setting up our dev environments is fairly involved - but maybe worth a quick try? |
I'd like to get that set up, but ran into trouble with some dependencies because I'm not using Ubuntu (posted in |
@ar-jan A new build with your PR included is available here if you want to give it a try: https://github.com/sourcegraph/sourcegraph/releases/tag/app-v2023.7.5%2B1333.e2d4e003e0 |
Great! So, this build does not crash, but it doesn't give more information either:
BUT, for some reason my local build does actually work, I can complete the authorization and the app is functional. It also seems to show a possible reason for the problem with the official build:
This was fixed in Tauri, upgrading tauri-cli to 1.4.0 should solve the libwebkit2gtkinjectedbundle.so issue for Void Linux. It is strange that my local build does work and also shows an error that's not there with other builds. It seems to be using a build artifact that's not part of the AppImage? |
sounds like a version incompatibility between a library we're building against when producing our release binaries, and what's available on your system. I don't know that for sure, but I suspect that over time this will get resolved as part of us updating dependencies (and perhaps updating tauri) I'll see if we can get on that soon-ish |
Having the same issue (Click "Connect to Sourcegraph.com" --> Nothing happens) running Kubuntu 23.04. The app doesn't crash though. It's just that nothing happens. Happy to help troubleshooting if you can provide guidance. |
I have the same issue, I'm using Fedora 38 with the KDE spin if that helps |
Steps to reproduce:
cody_2023.6.28+1331.1867679b11_amd64.AppImage
Expected behavior:
Connect to Sourcegraph.com
button should do somethingActual behavior:
RUST_BACKTRACE=full ./cody_2023.6.28+1331.1867679b11_amd64.AppImage
The text was updated successfully, but these errors were encountered: