OSX: Inkscape can't be run from a directory containing '/'s

Bug #168316 reported by Auria-users on 2007-02-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Medium
Michael Wybrow

Bug Description

When i try to run Inkscape 0.45 on my mac OS X 10.4.8 PPC computer, i get:

Command: inkscape-bin
Path: /Applications/Graphiques : vidéo/Inkscape
0.45.app/Contents/Resources/bin/inkscape-bin
Parent: Inkscape [734]

Version: 0.45 (0.45)

PID: 735
Thread: Unknown

Link (dyld) error:

Library not loaded: /Users/mjwybrow/ws-fat/lib/libgtkmm-2.4.1.dylib
  Referenced from: /Applications/Graphiques : vidéo/Inkscape
0.45.app/Contents/Resources/bin/inkscape-bin
  Reason: image not found

Now there is no '/Users/mjwybrow/' use here...

thanks

Auria-users (auria-users) wrote :

Originator: YES

Ok the errir appears to be that i put the app in a path with accentuated
characters - i was just misled by the error message

Bryce Harrington (bryce) wrote :

Originator: NO

Is the problem resolved? If not, can you clarify what the problem is?
I think Inkscape should run okay if put in a path with accentuated
characters,
so if it doesn't, that could be a bug.

Michael Wybrow (mjwybrow) wrote :

Originator: NO

As Bryce says, Inkscape should run okay even if put in a path with
accentuated characters. So this is still a bug. I will have a go at
reproducing and correcting the problem.

Thanks for reporting.

Auria-users (auria-users) wrote :

Originator: YES

after further checking, teh problem was that the folder was called
"Graphiques / vidéo", and some test revealed the problem was in the '/'
character. OS X native apps handle it properly, but since '/' is teh UNIX
path seperator i won't complain too much about it and will just rename the
folder ;)

Michael Wybrow (mjwybrow) wrote :

Originator: NO

Okay. Not sure we can actually fix this one. The problem comes from the
fact that if you create directories on OS X with a forward slash in them,
then the forward slashes are actually stored as colons.
So change into a directory I created in Finder as "One / Two" inside the
Applications folder I would do:
cd /Applications/One\ \:\ Two/

The colons become a problem for environment variables that are colon
separated lists, such as DYLD_LIBRARY_PATH which we use to tell Inkscape
where to find all it's libraries. I've tried all kinds of escaping the
colon (doing :: \: etc) but can't get it to work.

I think out best bet is make the launcher noticce this case and show an
error message to the user, alerting then to the problem and tell them to
place Inkscape in a directory without forward slashes.

nightrow (jb-benoit) on 2007-12-16
Changed in inkscape:
status: New → Confirmed
tags: added: bug-migration
grey tomorrow (gtomorrow) wrote :

Closing because INVALID: not consented by the OS.

macOS does not allow the colon ":" in folder names since as far back as the "classic" Systems. ":" was (and is, for legacy reasons) reserved for hierarchy separation. All other characters are fair game. Compare with Windows unallowed reserved characters -- / ? < > \ : * | "

If you feel this issue has been unjustly closed, please feel free to open a new issue at https://inkscape.org/report . Thank you.

Closed by: https://gitlab.com/greytomorrow

Changed in inkscape:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers