themagiulio / bandcamp-desktop

Bandcamp Desktop is a crossplatform desktop application. It allows you to use bandcamp.com in an easy and quick way. Keep listening to music while you explore the website.
MIT License
166 stars 8 forks source link

Login borked on Linux (Fedora 36) #35

Closed RolesG closed 2 years ago

RolesG commented 2 years ago

Downloaded the latest version (2.4.0) AppImage, it runs and the website loads but I can't login. I think it's failing at loading the CAPTCHA.

themagiulio commented 2 years ago

Hi, I use GNU/linux too (KDE neon) and it's running well. Does the website print some errors in the console?

RolesG commented 2 years ago

Hi, I use GNU/linux too (KDE neon) and it's running well. Does the website print some errors in the console?

error_iguess Just the one.

themagiulio commented 2 years ago

This error is due to the fact that you are using the latest version. It should not appear, but still... Try to open the developer tools inside the app and see if you have some messages (View>Toggle Developer Tools).

RolesG commented 2 years ago

Where do I see the messages? I've toggled developer tools but I don't know what I'm looking for.

themagiulio commented 2 years ago

You have to click on the console tab. A chromium console should appear where error messages could be displayed.

image

RolesG commented 2 years ago

I don't see that anywhere. In fact, the developer tools toggle doesn't appear to do anything at all.

Edit: I also tried ctrl + shift + c, no luck

themagiulio commented 2 years ago

Mhh that's weird. The shortcut should be ctrl+shift+i, but using the menu should work as well. What if you try to build a rpm from source and install it? I don't think it would be different since the appimage is meant to be run in the same way on different distributions.

RolesG commented 2 years ago

I'll give it a shot.

RolesG commented 2 years ago

Building from source worked! I'm unsure as to proceed from here because I'm not familiar with npm.

themagiulio commented 2 years ago

I assume you already installed all the dependencies and built the application. If you didn't changed the settings inside the package.json, you should see a dist folder in which you can find the built AppImage.

If you want to build the rpm you have to change the target in the package.json (build>linux>target) just replace AppImage with rpm and you are done. Run npm build and inside the dist folder you should find the rpm package.

RolesG commented 2 years ago

I had to build to an AppImage because apparently only Debian distros exist (it said that rpm wasn't installed and to use apt to install it)... anyway, it built fine, everything's working. Thanks for the help!

themagiulio commented 2 years ago

Oh right! In order to build those packages some additional dependencies are needed. By the way, I'm happy it worked!