Skip to content
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

[Bug Report] App showing JS error while opening #39

Closed
Gustav0ar opened this issue May 20, 2020 · 13 comments
Closed

[Bug Report] App showing JS error while opening #39

Gustav0ar opened this issue May 20, 2020 · 13 comments
Labels
bug Something isn't working

Comments

@Gustav0ar
Copy link

Gustav0ar commented May 20, 2020

Describe the bug
App shows error when opening

WALC Installation Type: Snap

To Reproduce
Steps to reproduce the behavior:

  1. Open the app

Expected behavior
Not show error

Did you try closing and then opening it back?: Yes

Screenshots

walc

System Information (please complete the following information):

  • OS/Distro: PopOS 20.04

Additional information.
App works fine even with the error

@Gustav0ar Gustav0ar added the bug Something isn't working label May 20, 2020
@Zzombiee2361
Copy link
Collaborator

Huh, that's weird. Maybe lsb_release doesn't work on snap due to sandbox? I'm not familiar with snaps but try giving it more permission

@cstayyab
Copy link
Collaborator

Maybe lsb_release doesn't work on snap due to sandbox?

lsb_release works with snaps I have checked that.

@Gustav0ar can you please provide the output of the following command from your Terminal:

lsb_release -a

@Gustav0ar
Copy link
Author

@cstayyab

No LSB modules are available.
Distributor ID: Pop
Description: Pop!_OS 20.04 LTS
Release: 20.04
Codename: focal

@cstayyab
Copy link
Collaborator

According to the output you have provided this error should not occur. I will have to look into it in more details.

@erduende
Copy link

When I start WALC it shows the same error window 'A JavaScript error ocurred in the main process'

image

WALC Installation Type: AppImage
System Information (please complete the following information):
OS/Distro: Fedora release 32 (Thirty Two)

@Zzombiee2361
Copy link
Collaborator

@erduende what's the output of

lsb_release -a

@MyMirelHub
Copy link

I get the same issue.

~ lsb_release -a
No LSB modules are available.
Distributor ID:	Pop
Description:	Pop!_OS 20.04 LTS
Release:	20.04
Codename:	focal

These are the snap permissions:

Screenshot from 2020-06-23 10-27-55

@erduende
Copy link

@Zzombiee2361
lsb_release output

LSB Version:	:core-4.1-amd64:core-4.1-noarch
Distributor ID:	Fedora
Description:	Fedora release 32 (Thirty Two)
Release:	32
Codename:	ThirtyTwo

@erduende
Copy link

The issue has been solved installing 'redhat-lsb-core' package to get the output of lsb_release. It seems that package isn't installed by default in Fedora.

Thank you!

@Zzombiee2361
Copy link
Collaborator

It seems this only happens on snap

@Gustav0ar
Copy link
Author

I finally got the error to stop showing. I'm using PopOS 20.04, I installed the mainline kernel over the default one and it stopped showing.

jvanstraten added a commit to jvanstraten/WALC that referenced this issue Jul 6, 2020
@jvanstraten
Copy link
Contributor

I also had the problem on OpenSUSE, again because lsb-release wasn't installed by default. I made a PR to fix/workaround, see #52.

cstayyab added a commit that referenced this issue Jul 11, 2020
@cstayyab
Copy link
Collaborator

PR Merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants