Page 1 of 1

Error when converting svg to png with inkscape

Posted: 2018-04-13T04:46:47-07:00
by yhuynh
Hi i got the following output with this command :

inkscape -z -e test.png Item-2813-Face.svg

Failed to get connection
** (inkscape:28007): CRITICAL **: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed

** (inkscape:28007): CRITICAL **: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed

** (inkscape:28007): CRITICAL **: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Background RRGGBBAA: ffffff00
Area 0:0:1879:2053 exported to 1879 x 2053 pixels (96 dpi)
Bitmap saved as: out.png
root@ns3081147:/home/printplusprod/public_html/media/pdp/download/200000588# inkscape -z -e test.png Item-2813-Face.svg Failed to get connection
** (inkscape:32608): CRITICAL **: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed

** (inkscape:32608): CRITICAL **: dbus_g_proxy_call: assertion 'DBUS_IS_G_PROXY (proxy)' failed

** (inkscape:32608): CRITICAL **: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed
Background RRGGBBAA: ffffff00
Area 0:0:1879:2053 exported to 1879 x 2053 pixels (96 dpi)
Bitmap saved as: test.png

as a result the background of the png file is not transparent but is a grey gradient, sorry i cannot post and image it seems the insert image icon is broken.

Re: Error when converting svg to png with inkscape

Posted: 2018-04-13T04:55:26-07:00
by snibgo
This is an ImageMagick forum, not an Inkscape forum.

However, "Failed to get connection" suggests the SVG contains a reference to a URL on the web, and this fails.