SVG to EPS .. Failed to get connection

Bug #1460797 reported by AR
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Medium
Unassigned

Bug Description

Ubuntu vagrant instance hashicorp32/hashicorp32

Inkscape 0.91r repo from
 sudo add-apt-repository ppa:inkscape.dev/stable

Trying to convert an SVG to EPS using the command line. For record this command works perfectly on windows inkscape (also command line)

inkscape temp.svg -E temp.eps --export-ignore-filters --export-ps-level=3
Failed to get connection
** (inkscape:17712): CRITICAL **: dbus_g_proxy_new_for_name: assertion 'connection != NULL' failed

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

** (inkscape:17712): CRITICAL **: dbus_g_connection_register_g_object: assertion 'connection != NULL' failed

Revision history for this message
su_v (suv-lp) wrote :

Could you please verify which inkscape build is actually launched by that command and whether or why it was configured and compiled with the (experimental) dbus API enabled?

AFAICT (I checked the latest build logs for the stable and trunk Ubuntu 12.04 packages) the (experimental) dbusapi is not enabled in any of the PPAs provided by ~inkscape.dev (neither stable nor trunk). If you can't figure out how to retrieve and install a stable Inkscape package which was regularly configured (without built-in support for DBus interface), you probably will have to take care that the environment in which the command is run is set up such that the inkscape process can connect to a current session dbus.

Changed in inkscape:
status: New → Incomplete
Revision history for this message
AR (andrewfreddin) wrote :

inkscape 0.91 was installed by using
add-apt-repository ppa:inkscape.dev/stable (This is probably not the EXACT command but you probably get what you need)

I was able to get it to work by messing around and somehow starting dbus but it's not exactly the greatest fix. I have it all set up in a vagrant instance if you wanted an environment where you can reproduce it every time.

it's also worth noting that inkscape 0.48 (or whatever is installed by default in ubuntu) does not display this issue.

su_v (suv-lp)
tags: added: dbusapi linux packaging
Revision history for this message
su_v (suv-lp) wrote :

Setting status to 'Confirmed' for now based on similar question on the mailing list:
http://inkscape.13.x6.nabble.com/SVG-to-PDF-dbus-errors-on-Ubuntu-inkscape-dev-stable-PPA-td4974021.html

Changed in inkscape:
importance: Undecided → Medium
status: Incomplete → Confirmed
Revision history for this message
Patrick Storz (ede123) wrote :
Changed in inkscape:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.