Discussion:
[Inkscape-devel] most icons missing, Windows 10, Inkscape 0.92+devel trunk-65-gf65c700 2017-07-04
alvinpenner
2017-07-04 21:42:39 UTC
Permalink
just built Inkscape 0.92+devel trunk-65-gf65c700 2017-07-04:
commit f65c70038c52f305d0da7e97f96bf6695cb3554e
Author: Tavmjong Bah <***@free.fr>
Date: Tue Jul 4 20:05:55 2017 +0200

More icon clean-up.
................................................................
most of the icons are missing. There are many messages of the type:

(inkscape.exe:9664): GLib-GIO-CRITICAL **: g_file_new_for_path: assertion
'path != NULL' failed
(inkscape.exe:9664): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion
'G_IS_LOADABLE_ICON (icon)' failed
(inkscape.exe:9664): GLib-GIO-CRITICAL **: g_file_new_for_path: assertion
'path != NULL' failed
(inkscape.exe:9664): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion
'G_IS_LOADABLE_ICON (icon)' failed

tia,
Alvin





--
View this message in context: http://inkscape.13.x6.nabble.com/most-icons-missing-Windows-10-Inkscape-0-92-devel-trunk-65-gf65c700-2017-07-04-tp4980407.html
Sent from the Inkscape - Dev mailing list archive at Nabble.com.
Eduard Braun
2017-07-04 22:15:54 UTC
Permalink
Post by alvinpenner
commit f65c70038c52f305d0da7e97f96bf6695cb3554e
Date: Tue Jul 4 20:05:55 2017 +0200
More icon clean-up.
................................................................
(inkscape.exe:9664): GLib-GIO-CRITICAL **: g_file_new_for_path: assertion
'path != NULL' failed
(inkscape.exe:9664): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion
'G_IS_LOADABLE_ICON (icon)' failed
(inkscape.exe:9664): GLib-GIO-CRITICAL **: g_file_new_for_path: assertion
'path != NULL' failed
(inkscape.exe:9664): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion
'G_IS_LOADABLE_ICON (icon)' failed
tia,
Alvin
Works fine in MSYS2 builds (I guess you're still using devlibs64?)

The error suggests, that an icon file can not be found.
If you want you can check if the file is where it's supposed to be (e.g.
among many others you should now have
"inkscape\share\icons\align-horizontal-baseline.svg").

Apart from that there were changes to both icon handling code as well
has the code that handles resource paths during the hackfest (so a
regression in both is possible)

Regards,
Eduard
alvinpenner
2017-07-04 22:43:56 UTC
Permalink
yes, I'm using devlibs64.
the file you mentioned exists, as in:

Directory of
C:\Users\penne_000\AppData\Roaming\InkscapeGit\inkscape\build\inkscape\share\icons

06/30/2017 01:35 PM 4,049 align-horizontal-baseline.svg

I think my most recent compile was about two days ago, which worked
normally.

Alvin




--
View this message in context: http://inkscape.13.x6.nabble.com/most-icons-missing-Windows-10-Inkscape-0-92-devel-trunk-65-gf65c700-2017-07-04-tp4980407p4980409.html
Sent from the Inkscape - Dev mailing list archive at Nabble.com.
alvinpenner
2017-07-04 22:48:37 UTC
Permalink
screenshot attached
missingicons.png
<Loading Image...>

Alvin



--
View this message in context: http://inkscape.13.x6.nabble.com/most-icons-missing-Windows-10-Inkscape-0-92-devel-trunk-65-gf65c700-2017-07-04-tp4980407p4980410.html
Sent from the Inkscape - Dev mailing list archive at Nabble.com.
Martin Owens
2017-07-05 00:09:19 UTC
Permalink
Post by alvinpenner
screenshot attached
missingicons.png
<http://inkscape.13.x6.nabble.com/file/n4980410/missingicons.png>  
This could be my work, I've been cleaning up the paths code but have no
way to test windows builds:

Can you run:

G_MESSAGES_DEBUG=all ./bin/inkscape

Or whatever the windows equivalent is please? this should output all
the resource files it's loading and where it's trying to get them.

Best Regards, Martin Owens
alvinpenner
2017-07-05 00:54:50 UTC
Permalink
that command does not seem to exist, I get:
G_MESSAGES_DEBUG
'G_MESSAGES_DEBUG' is not recognized as an internal or external command,
operable program or batch file.

Alvin



--
View this message in context: http://inkscape.13.x6.nabble.com/most-icons-missing-Windows-10-Inkscape-0-92-devel-trunk-65-gf65c700-2017-07-04-tp4980407p4980412.html
Sent from the Inkscape - Dev mailing list archive at Nabble.com.
Martin Owens
2017-07-05 01:21:06 UTC
Permalink
Post by Martin Owens
G_MESSAGES_DEBUG
'G_MESSAGES_DEBUG' is not recognized as an internal or external command,
operable program or batch file.
Aye, that means windows doesn't work like unix. I don't know how you
make an environment variable in windows.

Anyone else know how?

Martin,
Ken Moffat
2017-07-05 01:58:35 UTC
Permalink
Post by Martin Owens
Post by Martin Owens
G_MESSAGES_DEBUG
'G_MESSAGES_DEBUG' is not recognized as an internal or external command,
operable program or batch file.
Aye, that means windows doesn't work like unix. I don't know how you
make an environment variable in windows.
Anyone else know how?
Martin,
Iff this is cygwin (no idea), google and stackoverflow suggest using
export, so something like

export G_MESSAGESDEBUG=all ./bin/inkscape

or whatever the correct command to invoke inkscape is.

ĸen
--
I live in a city. I know sparrows from starlings. After that
everything is a duck as far as I'm concerned. -- Monstrous Regiment
alvinpenner
2017-07-05 04:13:00 UTC
Permalink
- on windows the command is:
set G_MESSAGES_DEBUG=all
- then run Inkscape separately from DOS to get the attached output:
dumpdata.txt <http://inkscape.13.x6.nabble.com/file/n4980415/dumpdata.txt>
Alvin



--
View this message in context: http://inkscape.13.x6.nabble.com/most-icons-missing-Windows-10-Inkscape-0-92-devel-trunk-65-gf65c700-2017-07-04-tp4980407p4980415.html
Sent from the Inkscape - Dev mailing list archive at Nabble.com.

Continue reading on narkive:
Loading...