SpacingBat3 / WebCord

A Discord and SpaceBar :electron:-based client implemented without Discord API.
MIT License
1.88k stars 94 forks source link

Error while decrypting the chipertext provided to safeStorage.decryptString #417

Closed SkullHex2 closed 4 months ago

SkullHex2 commented 1 year ago

Aknowledgements

Operating System / Platform

🪟️ Windows

Operating system architecture

x64 (64-bit Intel/AMD)

Electron version

Can't run it, so whatever's packaged with v4.2.0

Application version

v4.2.0

Bug description

I'm getting the following error when installing:

image

This is a fresh Windows 11 installation, so I might be missing some dependencies, even low-level ones. I remember everything was working fine before re-installing Windows, which is basically the only reason why I think I might be missing something.

Additional context

No response

K0vah1911 commented 1 year ago

A temporary fix that I found is to delete the windowState file, located at %AppData%/WebCord/ in Windows.

ghost commented 1 year ago

This is also happening to me, but I'm using Kubuntu Kinetic. This happened after I've enable "Developer Mode" for bot developing on "Advanced" options in my Discord account, but I don't know if this have any relation with the problem.

ghost commented 1 year ago

I've just installed it on Kali Linux on VM, and it's working normal there. Installed both with .deb package, but also tried to install AppImage, and it has the same problem.

ghost commented 1 year ago

Why is this refering for Windows file paths? webcord

SpacingBat3 commented 1 year ago

Why is this refering for Windows file paths? webcord

WinStateKeeper is a class name in program, this is a stack that points where it happens in code (file:line:character).

ghost commented 1 year ago

Why is this refering for Windows file paths? webcord

WinStateKeeper is a class name in program, this is a stack that points where it happens in code (file:line:character).

Btw, it stopped working after some hours in my VM also, with the same error.

bclouthier commented 1 year ago

I'm having the same issue on Fedora 38 Workstation. Screenshot from 2023-05-07 22-19-31

Kabouik commented 1 year ago

I'm having the same issue on Droidian, a mobile Linux OS, with Webcord installed as a flatpak. Any idea where are the configuration files for Webcord, see if deleting them helps as @K0vah1911 reported above? I couldn't find anything in ~/.config/ or ~/.local/share/, I suspect those are not the configuration directories for flatpaks?

[Edit] Found it in ~/.var/app/io.github.spacingbat3.webcord/config/WebCord. Deleting windowState did help indeed. Not sure how long it will last.

candlebrae commented 1 year ago

Same issue on Arch Linux, both in the webcord and webcord-bin packages (config files not purged in-between testing both packages, which may explain why the issue persisted on an otherwise fresh install of webcord). Deleting windowState in ~/.config/WebCord seems to have resolved the problem for now.

Worth noting that I was not having this issue prior to updating today.

Merlin04 commented 1 year ago

Just had this issue when trying to open webcord - deleting ~/.config/WebCord/windowState fixed the issue temporarily. I'm on openSUSE Tumbleweed if that's relevant.

tristann21 commented 7 months ago

Getting the same issue on Pop_OS using the flatpak

LazyJ commented 7 months ago

Same issue on Linux Mint 21 using the flatpak. Webcord v4.7.0 is what is in the Software Manager, Webcord v4.7.1 isn't in there yet.

fortunefox commented 7 months ago

Experiencing the same issue on Linux Mint 21 via Flatpak. Webcord v4.7.0

BarrelledBiscuit commented 7 months ago

Also experiencing the same issue on EndeavourOS via Flatpak. Webcord v4.7.1

SpacingBat3 commented 7 months ago

I should be saying, Flatpak builds are not supported by me at all ocommunity maintains them, so don't expect from me fixing any bugs specific to them) and spamming that this issue still happens, especially in case of the Flatpaks, is not helpful at all.

tristann21 commented 7 months ago

I should be saying, Flatpak builds are not supported by me at all ocommunity maintains them, so don't expect from me fixing any bugs specific to them) and spamming that this issue still happens, especially in case of the Flatpaks, is not helpful at all.

Sorry about that! kinda weird on the maintainer to link to this github page to report issues but I guess I should've read the description. 44ce1953-0300-4b36-9a65-367e429c6db2

SpacingBat3 commented 7 months ago

I should be saying, Flatpak builds are not supported by me at all ocommunity maintains them, so don't expect from me fixing any bugs specific to them) and spamming that this issue still happens, especially in case of the Flatpaks, is not helpful at all.

Also, I think I wanted to work on this at some point, but given Electron developers were planning to implement a special API to preserve window bounds, I stopped working on this and waited once this will be resolved. Honestly right now I'm not sure if it's been already implemented or will be implemented at all, I guess I need to either search for that in API docs or Electron's bug tracker to find out how that ended.

liluzibird commented 6 months ago

Same issue on Arch Linux, both in the webcord and webcord-bin packages (config files not purged in-between testing both packages, which may explain why the issue persisted on an otherwise fresh install of webcord). Deleting windowState in ~/.config/WebCord seems to have resolved the problem for now.

Worth noting that I was not having this issue prior to updating today.

This fixed it for me. Thank you, I just had to delete .config/webcord just like you said. Though, I fixed this on my own and came to this issue to post my solution. Should've read this post first but thanks anyways.

Inky1003 commented 6 months ago

A temporary fix that I found is to delete the windowState file, located at %AppData%/WebCord/ in Windows.

Confirming this works. I've basically changed from GNOME to KDE Plasma in Arch Linux and It seems the only problem in WebCord because I've moved was that file (why?)

(The file was ~/.config/WebCord/windowState)