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

Dconf2nix hangs (see #52 and #53) #51

Closed
Krutonium opened this issue Dec 11, 2021 · 7 comments
Closed

Dconf2nix hangs (see #52 and #53) #51

Krutonium opened this issue Dec 11, 2021 · 7 comments

Comments

@Krutonium
Copy link

Alright so I made a dump of my dconf as described in readme, then I fed it to the tool, it timed out so I gave it a longer timeout .

Then my system got super laggy so I opened htop to find it using most of my systems 32 GB of memory. Will attach dconf file once my computer is usable again.IMG_20211210_191611.jpg

@Krutonium
Copy link
Author

dconf.settings.txt

@gvolpe
Copy link
Collaborator

gvolpe commented Dec 11, 2021

Please, indicate the dconf2nix version.

It does not hang on 0.0.8 or newer versions, but it fails with some other errors. The first one is because of this entry:

[gnome.desktop.interface]
cursor-theme='Yaru'

It uses . instead of /, which is not supported by dconf2nix (and it won't be for now), see #47

The other two errors happen because of #52 and #53, which I just reproduced and raised.

@gvolpe gvolpe changed the title Dconf2nix using an obcene amount of memory and not finishing Dconf2nix hangs Dec 11, 2021
@gvolpe
Copy link
Collaborator

gvolpe commented Dec 11, 2021

FWIW 90 seconds of timeout is too much. The default is 5 seconds, which should be enough.

@Krutonium
Copy link
Author

I know, but I was curious if more time would let it finish. TL;DR it did not.

@gvolpe
Copy link
Collaborator

gvolpe commented Dec 13, 2021

@Krutonium can you indicate which version? It finishes for me with a timeout in 0.0.8 and 0.0.10.

Also, can you tell what application generates this entry? Seems like a gtk theme or so.

[gnome.desktop.interface]
cursor-theme='Yaru'

I'm considering adding support for #47, as now there are two reported cases.

@gvolpe gvolpe changed the title Dconf2nix hangs Dconf2nix hangs (see #52 and #53) Dec 13, 2021
@gvolpe
Copy link
Collaborator

gvolpe commented Dec 13, 2021

Closing this as the original issues #52 and #53 have been fixed.

@gvolpe gvolpe closed this as completed Dec 13, 2021
@Krutonium
Copy link
Author

Krutonium commented Dec 14, 2021

Yeah it times out for me too, eventually lol.

As for the entry with the periods, that's how the value gets inserted if you do it via bash and use the wrong separator, at least for me. That said, it does seem to work just fine?

0.0.8 btw

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

2 participants