gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

Unable to signup/login from client

Open g-kartik opened this issue 1 year ago • 3 comments

When I click on the signup/ login button, nothing happens. I have both firefox and chrome installed on my system. I am using Arch linux and running 0.10.19 version of GitButler.

g-kartik avatar Mar 01 '24 16:03 g-kartik

When you've got this in your build then you should at least get a toast showing the URL and error message: #2989

mtsgrd avatar Mar 02 '24 15:03 mtsgrd

This issue might be related to #2656 .

Is this still the case with the latest Version 0.11.3 (20240419.070253)? And if it is, do see anything suspicious in the log files? Thanks for your help getting to the bottom of this.

Byron avatar Apr 22 '24 18:04 Byron

@Byron this issue still exists in the latest version (0.11.5).

With a fresh install of the v0.11.5 AppImage on Fedora. The ~/.config/com.gitbutler.app/logs/ui-logs.log has multiple iterations of the following entry, I'm guessing one for each time I tried to open an external link (e.g. login, "Join our discord" button, etc.):

[2024-05-02][13:11:37][ERROR][webview] Unhandled exception: shell error: failed to open: Scoped shell IO error: exit status: 3 undefined

talal avatar May 02 '24 13:05 talal

@Byron This is still an issue in the latest appimage 0.12.5

Running on Fedora 40.

[2024-06-25][07:36:59][ERROR][webview] Unhandled exception: shell error: failed to open: Scoped shell IO error: exit status: 3 undefined

Update: Flatpak / flathub version 0.12.5 works on fedora 40, no problems with login and signup.

qhrille242 avatar Jun 25 '24 07:06 qhrille242

Thanks a lot, I think it's clear now that it's a problem with the AppImage specifically.

Byron avatar Jun 26 '24 08:06 Byron

Let's track this in #4149 which is a newer version of the same issue, with all we know conveniently gathered.

Byron avatar Jun 26 '24 08:06 Byron

Based on this conversation, it may be the case that this issue is not yet fixed: https://discord.com/channels/1060193121130000425/1275922675809783891/1275928310790099005

I will reopen this so that we can keep an eye until we are sure sure

krlvi avatar Aug 21 '24 21:08 krlvi

I would love to know if folks are still running into this issue with the latest releases (https://app.gitbutler.com/download).

I'm able to reproduce the broken xdg-open behavior on my local machine with NixOS. However, the AppImage open external link functionality works without issue on an Ubuntu VM of mine.

If you could mention your distro and version that would help me narrow down the platforms a lot :pray:

ndom91 avatar Aug 23 '24 09:08 ndom91

Just wanted to mention here that it seems like this is a tauri-wide issue where the xdg-open bundled in from the build environment (Ubuntu 22.04 in our case from the GHA runner) runs into errors when executed on other distros.

See: https://github.com/tauri-apps/tauri/issues/10078

We're working on a workaround at GitButler now :pray:

ndom91 avatar Aug 26 '24 15:08 ndom91

If anyone is running into this still, I'd love some feedback on a recent build. It works for me on a bunch of distros I tested including:

  • My local NixOS machine
  • Manjaro VM (fresh boot off their latest live CD)
  • Ubuntu 22.04 VM (fresh boot off their latest live CD)
  • Fedora 39 VM (fresh boot off their latest live CD)

0.5.704 AppImage: https://releases.gitbutler.com/releases/nightly/0.5.704-1210/linux/x86_64/git-butler-nightly_0.5.704_amd64.AppImage.tar.gz

ndom91 avatar Aug 29 '24 15:08 ndom91