themix-project / themix-gui

Graphical application for generating different color variations of Oomox (Numix-based) theme (GTK2, GTK3, Cinnamon, GNOME, Openbox, Xfwm), Archdroid, Gnome-Color, Numix, Papirus and Suru++ icon themes. Have a hack for HiDPI in gtk2. Its Base16 plugin also allowing a lot of app themes support like Alacritty, Emacs, GTK4, KDE, VIM and many more.
GNU General Public License v3.0
2.11k stars 68 forks source link

Export to Materia does not work #387

Closed Kommynct closed 3 years ago

Kommynct commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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

actionless commented 3 years ago

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

Stardust-kyun commented 3 years ago

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

actionless commented 3 years ago

this: https://github.com/nana-4/materia-theme/blob/master/HACKING.md#how-to-change-the-color-scheme

Stardust-kyun commented 3 years ago

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

actionless commented 3 years ago

then, obviously, not a bug of themix app

but thanks for checking anyway :)

actionless commented 3 years ago

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 commented 3 years ago

related ticket: https://github.com/nana-4/materia-theme/issues/594

gwuen commented 2 years ago

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 commented 2 years ago

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

gwuen commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

@nPHYN1T3 https://github.com/themix-project/oomox/issues/387#issuecomment-880864245

nPHYN1T3 commented 2 years ago

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 commented 2 years ago

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