Importing problems in 0.42 pre2 on OSX

Bug #166711 reported by Bug Importer on 2005-07-18
0
Affects Status Importance Assigned to Milestone
Inkscape
Low
Michael Wybrow

Bug Description

This is probably related to bug 1237066. I'm trying the
Inkscape-0.41+0.42pre2.dmg OSX binary. My system is OSX
10.3.9 (G4 Powerbook with 512 Mb RAM).

I've been able to import some *.ai files--very simple
ones. But complex ones fail. For the simple ones, the
colors are off. Using CMYK output in saving (from
Freehand) seems to have the best results.

tif, jpeg, and png claim to import, but nothing shows
up. There is no preview for these files either. Targa
seems to work. I had somewhat better luck importing png
and tif in a slightly earlier (pre0) binary of 0.42 for
OSX.

All *.ai files give me the following error on import
(including the simple ones that work and the complex
ones that don't).

Couldn't load Perl module Image::Magick. Images will
be skipped.
Can't locate Image/Magick.pm in @INC (@INC contains:
/System/Library/Perl/5.8.1/darwin-thread-multi-2level
/System/Library/Perl/5.8.1
/Library/Perl/5.8.1/darwin-thread-multi-2level
/Library/Perl/5.8.1 /Library/Perl
/Network/Library/Perl/5.8.1/darwin-thread-multi-2level
/Network/Library/Perl/5.8.1 /Network/Library/Perl .) at
(eval 1) line 1.
BEGIN failed--compilation aborted at (eval 1) line 1.

Use of uninitialized value in concatenation (.) or
string at
Inkscape.app/Contents/Resources/extensions/ill2svg.pl
line 263, <> chunk 1.
Use of uninitialized value in concatenation (.) or
string at
Inkscape.app/Contents/Resources/extensions/ill2svg.pl
line 263, <> chunk 1.

This is a great program. I hope this helps. I work on
the GRASS project and look forward to Inkscape as a way
to jazz up my GIS output for publication and presentation.

Michael Barton
<email address hidden>

Kees Cook (kees) wrote :

You'll need to install the Perl ImageMagick tools to work on
images contained in AI files, I think. Give that a shot.

Michael Wybrow (mjwybrow) wrote :

On your system, you can install perl Image::Magick by running
fink install perlmagick-pm581
and see how you go once it is installed?

From bug #1237066, it looks like the plan may be to overhaul
ill2svg.pl, removing the ImageMagick dependency, so this may
go away by itself.

Michael Wybrow (mjwybrow) wrote :

Actually part of the problem for the app bundle is that if
we want to depend on Image::Magick we will need it to set
the correct PERL5LIB path before launching inkscape, or else
that library won't be found. Thus you'll probably find that
you get the same complaint even it you have Image::Magick
installed in fink.

I'm not going to address this yet until something is done
about bug #1237066, since I'll either have to bundle the
ImageMagick perl library with Inkscape and set up the
PERL5LIB path, or this one will automatically fix itself.

Michael Wybrow (mjwybrow) wrote :

I'm closing this. See #1237066.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers