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

Export to Materia does not work #387

Closed
Kommynct opened this issue Jul 15, 2021 · 16 comments
Closed

Export to Materia does not work #387

Kommynct opened this issue Jul 15, 2021 · 16 comments

Comments

@Kommynct
Copy link

Kommynct commented Jul 15, 2021

I can't seem to force the program to use resvg, I even tried uninstalling inkscape

When using inkscape it takes FOREVER to export the theme and inevitably fails. Is there some way to force resvg that i'm missing?

inkscape gives a ton of

"More than 32 iteration while updating document" errors while going, if you need logs/something to test with please let me know, I can't seem to extract the logs from the program and am not familiar with how it works.

Compiled on arch with themix-full-git, themix-gui-git and themix-materia-git all compiled today.

@actionless
Copy link
Member

do you mean it happens only when you use themix-gui and not happens when you manually run ./change-color.sh script from bare materia repo?

@Stardust-kyun
Copy link

I'm also having this issue. So far I've only tested it with themix-gui.

@actionless
Copy link
Member

test it separately, otherwise issue gonna be closed as not enough info

@Stardust-kyun
Copy link

What exactly should I be looking for? What info do you need? I'm pretty sure this issue is happening to everyone.

@Stardust-kyun
Copy link

It appears to also be an issue when manually running ./change-color.sh .

@actionless
Copy link
Member

actionless commented Jul 17, 2021

then, obviously, not a bug of themix app

but thanks for checking anyway :)

@actionless
Copy link
Member

actionless commented Jul 17, 2021

btw those permanent random issues with inkscape/resvg are the reason why oomox-gtk-theme (unlike Numix/Materia/Adwaita/etc) is not using any rendered assets

and for similar reasons, after it will be updated for gtk4 after gtk4 itself will get a bit more stable than now - i also planning to get rid of scss into direction of bare css

@actionless
Copy link
Member

related ticket: nana-4/materia-theme#594

@gregthwuen
Copy link

I had the same problem. Dug a little in change_color.sh and found out rendering with Inkscape can be disabled by providing OPTION_FORCE_INKSCAPE with seemingly any other value than true. Another problem was that the script expects the (deprecated?) binary name rendersvg instead of resvg. I fixed it with a symlink. Additionally, when rendering the GTK2 theme some assets caused errors that blocked further rendering. I deleted the according lines in src/gtk-2.0/assets.txt and rendering finally finished, but the GTK2 theme seems to be broken now. GTK3 theme works though.

While these are clearly upstream issues, Themix could at least warn of this. The first time I tried to render the theme, my X server was unresponsive for a few hours and finally crashed. Also, closing the Themix GUI doesn’t actually end the rendering processes, that’s the main issue for me.

@actionless
Copy link
Member

feel free to submit a PR if that's a problem for you :)

you could also integrate an antivirus into themix gui, in case if somebody would put a virus into third-party plugin :D

@gregthwuen
Copy link

you could also integrate an antivirus into themix gui, in case if somebody would put a virus into third-party plugin :D

That’s not serious, is it?

But I will see what I can do about the other issues. Happy holidays first of all :)

@nPHYN1T3
Copy link

nPHYN1T3 commented Mar 30, 2022

Sadly this has had me kinda scratching my head too. If I export oomox it's like 2 seconds and done. If I try materia it's hours, with every CPU core at 100% and nearly chewing up 512Gb of RAM. So for all the people who report "unresponsive" or crashes it's probably because you just ran out of RAM hehe.

@actionless
Copy link
Member

@nPHYN1T3 #387 (comment)

@nPHYN1T3
Copy link

Yes I read the whole thread, doesn't change the fact it's borked. I used oomox years ago, then heard it was scrapped/abandoned. I just found this and gave it a try is all. When I thought maybe there was a mem leak I came looking for some answers and this thread was all that showed up for my terms/phrasing. While this is for the gui with the underlying script borked...this by extension is borked heh.

@actionless
Copy link
Member

Yes I read the whole thread, doesn't change the fact it's borked. I used oomox years ago, then heard it was scrapped/abandoned. I just found this and gave it a try is all. When I thought maybe there was a mem leak I came looking for some answers and this thread was all that showed up for my terms/phrasing. While this is for the gui with the underlying script borked...this by extension is borked heh.

then your logic is "borken" - materia is just a dependency - if it's not working itself, it's just not working

TheGreatMcPain added a commit to TheGreatMcPain/gruvbox-material-gtk that referenced this issue Dec 8, 2022
The Materia version that themix-gui-1.15.1 uses is still from May 12, 2021

Some notible changes is that I had to switch from inkscape to resvg
since exporting using inkscape has been borked since 2021. Hopefully
things still render properly.

Issue on themix-gui's repository regarding inkscape and materia.
themix-project/themix-gui#387

How I got materia to export with resvg.
nana-4/materia-theme#591
@actionless actionless changed the title Export to materia does not work Export to Materia does not work Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants