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

An error was detected in the current theme #32

Closed
CyberManifest opened this issue Sep 25, 2020 · 23 comments
Closed

An error was detected in the current theme #32

CyberManifest opened this issue Sep 25, 2020 · 23 comments

Comments

@CyberManifest
Copy link

Following a guide from here: https://youtu.be/oQ8RWtD3MTQ?t=1031
I was attempting to install the lightdm-webkit2-theme-glorious but encounter the error:
An error was detected in the current theme that could interfere with the system login process ... similar to looking like this:
epps75d0zwu41
Looking over https://github.com/manilarome/lightdm-webkit2-theme-glorious and seeing the mention of the race condition, I attempted to enable debug mode, upon reboot I still get the dialog and am not able to right click until I select "Load Default Theme" (I also seem to have to make the same selection multiple times before it will allow me to continue on) after selecting "Load Default Theme" I'm able to right click and choose "reload" but it's still not the glorious theme.

@eromatiya
Copy link
Owner

eromatiya commented Sep 25, 2020

but it's still not the glorious theme.

What do you mean by this? Even if there's an error it should already be the glorious theme.

Following a guide from here: https://youtu.be/oQ8RWtD3MTQ?t=1031

Wow Linux Scoop used my theme in their video? Damn lol. Anyway, Linux Scoop uses an old installation method. The webkit_theme should now be glorious instead of lightdm-webkit2-theme-glorious. So yeah. You should read this part of the README. Closing this now! Thanks for reporting!

@CyberManifest
Copy link
Author

What do you mean by this? Even if there's an error it should already be the glorious theme.

Well, I don't know if it's the glorious theme, cause I can't actually use it because of the error dialog box, that forces me to use the default theme instead. Also, it doesn't look anything like the video.

Wow Linux Scoop used my theme in their video? Damn lol. Anyway, Linux Scoop uses an old installation method.

It may be an old installation method, but the video was uploaded only a few weeks ago and it seemed to be working for them.

The webkit_theme should now be glorious instead of lightdm-webkit2-theme-glorious.

What do you mean by this? Like the package name, the reference in the config file? Because if you mean in the config file that was what was set just as it was in the video. And per your...

So yeah. You should read this part of the README.

It says... and I quote:

"$ yay -Syu lightdm-webkit2-theme-glorious"

not "glorious"

@eromatiya
Copy link
Owner

eromatiya commented Sep 25, 2020

Well, I don't know if it's the glorious theme, cause I can't actually use it because of the error dialog box,

You can press cancel to see the current broken theme. If it's black screen then lightdm can't detect the theme you set.

What do you mean by this? Like the package name, the reference in the config file? Because if you mean in the config file that was what was set just as it was in the video. And per your...

Yes the package name is lightdm-webkit2-theme-glorious but the theme name is glorious.

It may be an old installation method, but the video was uploaded only a few weeks ago and it seemed to be working for them.

I watched it and they set the webkit_theme to lightdm-webkit2-theme-glorious. Again, it should be glorious. (Believe in me, i'm the dev lol).

The version that they've used is v1.0.X, while the version in this repo is already v2.0.x.

@CyberManifest
Copy link
Author

CyberManifest commented Sep 25, 2020

I watched it and they set the webkit_theme to lightdm-webkit2-theme-glorious. Again, it should be glorious. (Believe in me, i'm the dev lol).

Do you have a time stamp link of where in the video?

The version that they've used is v1.0.X, while the version in this repo is already v2.0.x.

There is only one "glorious" package in the AUR and it's the one I have installed.

You can press cancel to see the current broken theme. If it's black screen then lightdm can't detect the theme you set.

Maybe this will help, this is what I have set and configured on my system... show me where I'm doing wrong....

Screenshot from 2020-09-25 06 05 52
Screenshot from 2020-09-25 06 15 35
Screenshot from 2020-09-25 06 15 15

@CyberManifest
Copy link
Author

Here is what I get on a fresh reboot...
IMG_0183
IMG_0181
IMG_0182

Here is what I get when I press [esc]

IMG_0185
IMG_0184

@eromatiya
Copy link
Owner

Do you have a time stamp link of where in the video?

It's not needed. I got mixed up lightdm-webkit2-greeter.conf and lightdm.conf. Pardon my ignorance earlier. Linux Scoop indeed set webkit_theme to glorious in lightdm-webkit2-greeter.conf.

Here is what I get when I press [esc]

Please, press the cancel button because escape defaults to Load default theme, iirc.

Anyway you can debug it by running lightdm-webkit2-greeter in your terminal.

@eromatiya eromatiya reopened this Sep 25, 2020
@CyberManifest
Copy link
Author

Please, press the cancel button because escape defaults to Load default theme, iirc.

Pressing cancel does nothing for me, the dialog remains. (Although I think I remember pressing cancel multiple times after getting to default theme and it finally going away) And pressing escape defaults to "Fall back theme" for me.

Anyway you can debug it by running lightdm-webkit2-greeter in your terminal.

I'll test this and see what I come up with.

@CyberManifest
Copy link
Author

Now we're getting somewhere...

Screenshot from 2020-09-25 07 53 15
Screenshot from 2020-09-25 07 52 20

@eromatiya
Copy link
Owner

eromatiya commented Sep 25, 2020

Now I know what's causing the problem. It's the Credits file in your backgrounds directory. Try to delete, like rm it to oblivion lol. Lightdm webkit2 has a limitation, it cannot detect if the file format/extension that's why it cannot exclude it. Hence the "error opening directory" error. It's already in the README. But yeah, it is something that can be easily overlooked.

@CyberManifest
Copy link
Author

Now I know what's causing the problem. It's the Credits file in your backgrounds directory. Try to delete, like rm it to oblivion lol. Lightdm webkit2 has a limitation, it cannot detect if the file format/extension that's why it cannot exclude it. Hence the "error opening directory" error. It's already in the README. But yeah, it is something that can be easily overlooked.

Yeah, I removed them, I'm also uninstalling the mint backgrounds from the AUR just to be double safe. Testing now... Thank You ;-)

@CyberManifest
Copy link
Author

CyberManifest commented Sep 25, 2020

Update, I can confirm, removing the unknown file formats seems to have resolved the dialog box issue. But now what to do with these...

Screenshot from 2020-09-25 08 07 52

@eromatiya
Copy link
Owner

Those are just a bunch of logs. Don't worry about them. Try to login again, it should work now without a problem.

@CyberManifest
Copy link
Author

CyberManifest commented Sep 25, 2020

Those are just a bunch of logs. Don't worry about them. Try to login again, it should work now without a problem.

Great, Works fine now! Thank You...
Marking this issue resolved and closed.

P.S. Final Product:

Screenshot from 2020-09-25 08 13 49

@surfaceflinger
Copy link

If someone else has this error and there is no output in logs:
chmod -R 755 /usr/share/lightdm-webkit/themes/glorious
I wasted 1 hour "fixing" because I messed up permissions during installation 😊

@eromatiya eromatiya pinned this issue Oct 8, 2020
@sheeepdev
Copy link

I tried everything in here and nothing works :(

@IEdiong
Copy link

IEdiong commented Oct 11, 2021

Hello @manilarome, I'm having the same issue but my log for lightdm-webkit2-greeter is different. Please take a look.
lightdm-webkit2-greeter-error
lightdm-webkit2-greeter-errorScreen

@IEdiong
Copy link

IEdiong commented Oct 11, 2021

Hello @manilarome, I'm having the same issue but my log for lightdm-webkit2-greeter is different. Please take a look.
neofetch-pc

@Cheeseboy8020
Copy link

Cheeseboy8020 commented Dec 29, 2021

I have same issue
image
image

@zackyvt
Copy link

zackyvt commented Feb 1, 2022

I have same issue image image

I'm having the exact same logs

Is there a fix?

@meisme-dev
Copy link

Reinstalling it using yay -S lightdm-webkit2-theme-glorious --overwrite "*" fixed it for me.

@ronylee11
Copy link

hi, how can i disable the error popup entirely? the theme works great for me, just gets kinda annoying having to press cancel everytime i reboot
debugging with lightdm-webkit2-greeter does not have that popup tho
tried searching in
/usr/share/backgrounds/
/usr/share/pixmaps/
but i only find files with .svg, .png, and .jpg extensions, can u specify the exact path for the Credits file? ( cant recall if i removed it months ago)
i also removed
/usr/share/licenses/lightdm-webkit2-theme-glorious/LICENSE
/usr/share/lightdm-webkit/themes/glorious/LICENSE
but the annoying popup still occurs

@nkahne
Copy link

nkahne commented Jul 24, 2022

greeter_error

I get similar errors. Something seems to be up with the vars.js file?
I have only picture-like files in usr/share/backgrounds, so that can't be it.

@sharpicx
Copy link

Reinstalling it using yay -S lightdm-webkit2-theme-glorious --overwrite "*" fixed it for me.

it still doesnt work, how can i solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests