Inkscape command-line is broken on Mac OS X

Bug #435812 reported by Ecco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Here's the software used :
 - Snow Leopard 10.6.1
 - Inkscape-0.47pre2-3.LEOPARD+.dmg, as released on SourceForge.net

Inkscape runs fine out of the box. However, running it from the command-line doesn't parse any input parameters. Inkscape starts fine and all, but argv is completly ignored. Example from my terminal :

-----------
[12:45 romain@Jack:~ 4149] % /Applications/Inkscape.app/Contents/MacOS/Inkscape --help
Warning: AppleCollationOrder setting not found, using AppleLocale.
Setting Language: fr_FR.UTF-8
Xlib: extension "RANDR" missing on display "/tmp/launch-7A28mk/:0".

(inkscape-bin:49433): Gtk-WARNING **: Could not find the icon 'object-visible'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
 http://icon-theme.freedesktop.org/releases
----------

And that's it. At that point Inkscape is running just fine on my desktop. However, the command-line parameters are just ignored. I tried with various possibilities (--help, a_file.svg, etc…). Always got the same behavior : Inkscape starts as if I hadn't specified any parameter

Tags: cli osx
Revision history for this message
Ecco (r-goyet) wrote :

Actually I tested it with Inkscape 0.46 on Leopard (10.5.8), and there's exactly the same bug…

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

Try these:

  /Applications/Inkscape.app/Contents/Resources/script --help --without-gui
  /Applications/Inkscape.app/Contents/Resources/script --verb-list --without-gui

tags: added: osx
Revision history for this message
Ecco (r-goyet) wrote :

Oh, ok, this seems to work.
It's pretty unfriendly though, because it looks like any file *must* be pointed to by its *full* path…
Nevertheless, thanks for the workaround !

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

If you depend on an command line version identical to linux you could install Inkscape from MacPorts or Fink. But then you don't get the relocatable application bundle.

related: bug #181639 “Command-line invocation on Mac OSX partially broken”

tags: added: cli
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.