Skip to main content
Topic: Webcord (some spyware removed version of Discord) wont open. UnexpectedJson inpu (Read 1645 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Webcord (some spyware removed version of Discord) wont open. UnexpectedJson inpu

Hello. I installed webcord and it worked vey well when I first opened it. After restarting my computer it did not work anymore and when I open it, it gives me pic.
When clicking on abort, it happens everytime when trying to open it, when ignoring it just wont open.

What shall I do? before I installed that I -syyu but it worked the first time so it cant be because of versions right?
what shall I do?

Following is output in comman dline when typing webcord to execute. (second pic)

Re: Webcord (some spyware removed version of Discord) wont open. UnexpectedJson inpu

Reply #1
Generally whenever a system shared library gets updated, one has to build the AUR packages against the newer versions.
The fix is to rebuild the "aur/webcord 4.1.1-4" package so it picks up the latest version.

Re: Webcord (some spyware removed version of Discord) wont open. UnexpectedJson inpu

Reply #2
Generally whenever a system shared library gets updated, one has to build the AUR packages against the newer versions.
The fix is to rebuild the "aur/webcord 4.1.1-4" package so it picks up the latest version.
and how do i do that? -Syyu? delete and recompile?

Re: Webcord (some spyware removed version of Discord) wont open. UnexpectedJson inpu

Reply #3
Quote
and how do i do that? -Syyu? delete and recompile?
The package needs to be built and installed.

There are many ways to do this.
AUR helpers are available as long as one realizes that their ease of use can destroy as well as build stuff.
One that I have used in the past is called "yay".
It can easily download, edit, build and install any AUR package.

I prefer to do the build, editing and installing manually.
Only using the helper to download the building file(s).

Many others exist.
No matter the helper it is important to check the building files to ensure nothing damaging or dangerous exits before installing.

Re: Webcord (some spyware removed version of Discord) wont open. UnexpectedJson inpu

Reply #4
The package needs to be built and installed.

There are many ways to do this.
AUR helpers are available as long as one realizes that their ease of use can destroy as well as build stuff.
One that I have used in the past is called "yay".
It can easily download, edit, build and install any AUR package.

I prefer to do the build, editing and installing manually.
Only using the helper to download the building file(s).

Many others exist.
No matter the helper it is important to check the building files to ensure nothing damaging or dangerous exits before installing.
I have never manually compiled before and dont know how to do that. I will want to learn that, but right now id just like to have webcord ready quickly. Do you think its a good Idea to use yay to update? I used yay to install it in the first place too

Re: Webcord (some spyware removed version of Discord) wont open. UnexpectedJson inpu

Reply #5
This would work:
Code: [Select]
$ yay -s --rebuild webcord 
1 aur/webcord 4.1.1-4 (+25 2.75)
    A Discord and Fosscord client made with the Electron API.
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1

Re: Webcord (some spyware removed version of Discord) wont open. UnexpectedJson inpu

Reply #6
This would work:
Code: [Select]
$ yay -s --rebuild webcord 
1 aur/webcord 4.1.1-4 (+25 2.75)
    A Discord and Fosscord client made with the Electron API.
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==> 1
I tried doing that, didnt work same problem, i then deleted webcord and yay -S webcorded, with clean build. same problem. still.
Is there a way to purge everything webcord related? or is the problem not in webcord but in something webcord needs? I -syu yesterday, everything should be new. and when i first installed webcord was like a week ago so there shouldnt be a problem in -syyu anyways.


 

Re: Webcord (some spyware removed version of Discord) wont open. UnexpectedJson inpu

Reply #8
yes this fixed it for me, had to remove windowstate.json thank you very much. Thought about going to that folder and deleting but since im new to linux i was a bit scared to fuck everything up completely, any advice on how to fix things like these for yourself? is there any guide, quickly written with tipps, on the basic procedures to fix stuff?

Re: Webcord (some spyware removed version of Discord) wont open. UnexpectedJson inpu

Reply #9
any advice on how to fix things like these for yourself? is there any guide, quickly written with tipps, on the basic procedures to fix stuff?
Pull things apart to see how they work. Create a VM where you can play around and not worry if you break things. Experience is the best way to have a hunch how to fix issues and recognise that an issue is similar to one you've fixed before.
Have a good read of old threads here, especially marked solved, and see what steps were taken to debug and solve issues.
But also you had the hunch to delete a file/folder. When you have such a hunch don't delete. Rename. Then if your issue remains afterwards you can revert.
Always run a search on your error messages. The solutions are often found simply like this.
Where a program has some sort of bug / issue tracker go and look to see if others are having the same issue. Like in this case. The location to start at is normally linked in the PKGBUILD. Works better the smaller the project is.


Re: Webcord (some spyware removed version of Discord) wont open. UnexpectedJson inpu

Reply #10
It went smoothly for me:

Code: [Select]
sudo pacman -Sy npm electron
cd ~/Downloads
curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/webcord.tar.gz
tar -xvzf webcord.tar.gz
cd webcord
makepkg -o
makepkg -ei
"Wer alles kann, macht nichts richtig"

Artix USE="runit openrc slim openbox lxde gtk2 qt4 qt5 qt6 conky
-gtk3 -gtk4 -adwaita{cursors,themes,icons} -gnome3 -kde -plasma -wayland "

Re: Webcord (some spyware removed version of Discord) wont open. UnexpectedJson inpu

Reply #11
Pull things apart to see how they work. Create a VM where you can play around and not worry if you break things. Experience is the best way to have a hunch how to fix issues and recognise that an issue is similar to one you've fixed before.
Have a good read of old threads here, especially marked solved, and see what steps were taken to debug and solve issues.
But also you had the hunch to delete a file/folder. When you have such a hunch don't delete. Rename. Then if your issue remains afterwards you can revert.
Always run a search on your error messages. The solutions are often found simply like this.
Where a program has some sort of bug / issue tracker go and look to see if others are having the same issue. Like in this case. The location to start at is normally linked in the PKGBUILD. Works better the smaller the project is.


Thank you very much brother

Re: Webcord (some spyware removed version of Discord) wont open. UnexpectedJson inpu

Reply #12
One of the best ways to learn is to build a LFS setup as per Linux From Scratch.
All one needs is a fairly large USB stick to try it out.

Personally once I got my first LFS build booting and I saw a working command prompt was a moment of joy.
After that point I felt I understood more than all the previous years of using package distributions like Mint, Ubuntu or OpenSuSE where most of the gritty stuff is done auto-magically.

Re: Webcord (some spyware removed version of Discord) wont open. UnexpectedJson inpu

Reply #13
One of the best ways to learn is to build a LFS setup as per Linux From Scratch.
All one needs is a fairly large USB stick to try it out.

Personally once I got my first LFS build booting and I saw a working command prompt was a moment of joy.
After that point I felt I understood more than all the previous years of using package distributions like Mint, Ubuntu or OpenSuSE where most of the gritty stuff is done auto-magically.
Yeah another vote for LFS.
You just took me down memory lane, from their user counter I can see my first book version was 2.4.1 from 1999 (I think?).
It can just be a copy and paste exercise though. It's down to each persons patience and curiosity how much they'll gain from LFS.
But it will always be something.

Re: Webcord (some spyware removed version of Discord) wont open. UnexpectedJson inpu

Reply #14
Quote
my first book version was 2.4.1 from 1999 (I think?)
A fellow kindred spirit I see as that was the time frame for me as well.
Cheers!

Quote
It can just be copy and paste exercise though.
Very true but if one does not read and understand then the chances of success is greatly reduced.
In the end, they are just cheating themselves.