1.0ß1 MacOS CLI issue
This could be related to #774 (closed)
Steps to reproduce:
- I have the app bundle in /Users/fstengel/Applications/Graphismes/
- Create link:
ln -s /Users/fstengel/Applications/Graphismes/Inkscape-ß1.app/Contents/MacOS/Inkscape inkscape - Change directory to the one where testSVG-Fig.svg is located, and use the link:
inkscape -z -D testSVG-Fig.svg --export-file=testSVG-Fig.pdf --export-latex
What happened?
The executable throws errors:
** (process:27058): WARNING **: 20:42:21.136: Units file /Users/Shared/work/opt/share/inkscape/ui/units.xml is missing: Failed to open file ?/Users/Shared/work/opt/share/inkscape/ui/units.xml?: No such file or directory
(<unknown>:27058): GdkPixbuf-WARNING **: 20:42:21.376: Cannot open pixbuf loader module file '/Users/Shared/work/opt/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory
This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders > /Users/Shared/work/opt/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
(<unknown>:27058): GdkPixbuf-WARNING **: 20:42:21.570: Cannot open pixbuf loader module file '/Users/Shared/work/opt/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory
This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders > /Users/Shared/work/opt/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.
Pango version: 1.43.0
** (<unknown>:27058): WARNING **: 20:42:21.580: Fonts dir '/Users/Shared/work/opt/share/inkscape/fonts' does not exist and will be ignored.
** (<unknown>:27058): WARNING **: 20:42:21.580: Fonts dir '/Users/fstengel/.config/inkscape/fonts' does not exist and will be ignored.
** (<unknown>:27058): WARNING **: 20:42:21.594: Unrecognized unit `mm'
Fontconfig error: Cannot load default config file
** (<unknown>:27058): CRITICAL **: 20:42:21.607: Could not load any face for font 'sans-serif 512'.
** (<unknown>:27058): CRITICAL **: 20:42:21.607: Could not load any face for font 'sans-serif 512'.
** (<unknown>:27058): CRITICAL **: 20:42:21.608: Could not load any face for font 'sans-serif 512'.
** (<unknown>:27058): CRITICAL **: 20:42:21.608: Could not load any face for font 'sans-serif 512'.
** (<unknown>:27058): CRITICAL **: 20:42:21.608: Could not load any face for font 'sans-serif 512'.
** (<unknown>:27058): CRITICAL **: 20:42:21.608: Could not load any face for font 'sans-serif 512'.
** (<unknown>:27058): CRITICAL **: 20:42:21.608: Could not load any face for font 'sans-serif 512'.
** (<unknown>:27058): CRITICAL **: 20:42:21.608: Could not load any face for font 'sans-serif 512'.
** (<unknown>:27058): CRITICAL **: 20:42:21.608: Could not load any face for font 'sans-serif 512'.
** (<unknown>:27058): CRITICAL **: 20:42:21.608: Could not load any face for font 'sans-serif 512'.
** (<unknown>:27058): CRITICAL **: 20:42:21.608: Could not load any face for font 'sans-serif 512'.
** (<unknown>:27058): CRITICAL **: 20:42:21.608: Could not load any face for font 'sans-serif 512'.
** (<unknown>:27058): CRITICAL **: 20:42:21.608: Could not load any face for font 'sans-serif 512'.
** (<unknown>:27058): CRITICAL **: 20:42:21.608: Could not load any face for font 'sans-serif 512'.
** (<unknown>:27058): CRITICAL **: 20:42:21.609: Could not load any face for font 'sans-serif 512'.
The resulting pdf_tex is incomplete: no text has been carried over resulting in a figure without text.
What should have happened?
If I try using the full executable path as in:
/Users/fstengel/Applications/Graphismes/Inkscape-ß1.app/Contents/MacOS/Inkscape -z -D testSVG-Fig.svg --export-file=testSVG-Fig.pdf --export-latex
Then there are no errors and the pdf_tex file is the one I would expect.
...
Inkscape Version and Operating System:
- Inkscape Version: Inkscape 1.0beta1 (32d4812, 2019-09-19)
- Operating System: OSX 10.13.6