v0.91 fails import EPS on Windows (Ghostscript installed)

Bug #1456183 reported by ali
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

I am using Inkscape 0.91. I have noticed 2 bugs:

1/ On Path Effect Editor, you cannot increase the width of a path. Example, if you draw something using the Spiro tool, and you click on Path Effect Editor to select an effect such as "Pattern along path", put a number in the width, it does NOT do anything.

In the previous version, it worked.

2/ Second bug is on the importation of EPS file. I installed Ghostscript last version, assigned the path in Environment Variables on Windows correctly, but still giving me error. It says failed to import.

If you need videos of these two bugs, I can provide.

Hope you will look this up. Thank you.

Revision history for this message
Alvin Penner (apenner) wrote :

with respect to the eps import, you can do the following: first of all confirm that your path variable contains the entry:
C:\Program Files\gs\gs9.00\lib\
or something equivalent to it, depending on which version you installed. This will allow Inkscape to find the batch files called ps2pdf, etc. Secondly, Inkscape needs to be able to automatically find the file gswin32c.exe. There are two ways to achieve this. One way is to copy the file gswin32c.exe from the directory C:\Program Files\gs\gs9.00\bin to the edirectory C:\Program Files\gs\gs9.00\lib. The second way is to put the directory C:\Program Files\gs\gs9.00\bin\ into the PATH variable. Personally I prefer copying the file, but either way should work.

Revision history for this message
ali (mrali2206) wrote :

Hi, I did what you told me for the EPS, but in vain.

The path for both lib and bin are set in Environment Variables. The file has been copied as well in the GS folder. Here are the screenshots to better understand:

EPS FAILED: http://postimg.org/image/xj9cn1a6d/

Path for LIB: http://postimg.org/image/px7fuf8n5/

Path for BIN: http://postimg.org/image/dc2s2vnwn/

Also, have you recognized there is a bug on the Spiro path width?

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

On 2015-05-18 14:37 (+0200), ali wrote:> I am using Inkscape 0.91. I have noticed 2 bugs:

We cannot track multiple, unrelated issues in the same bug report. Let's focus this report on your installation issues with Ghostscript for EPS input.

> 1/ On Path Effect Editor, you cannot increase the width of a path.
> Example, if you draw something using the Spiro tool, and you click on
> Path Effect Editor to select an effect such as "Pattern along path", put
> a number in the width, it does NOT do anything.
>
> In the previous version, it worked.

AFAIU this is a question about usage, not a bug.

The spiro spline path effect itself has no width setting (never had), and it is independent of the path effect 'Pattern along Path'. The same applies to the 'Spiro splines' drawing mode of the pen and pencil tool: just using the mode by itself does not and never did add a 'Pattern along Path' path effect automagically.

The 'Pattern along Path' effect was used in Inkscape 0.48 when using a shape other than 'None' for drawing paths with the pen or pencil tools.

If your question (or claimed bug) is about adjusting the width of paths created with the pen or pencil tool using a shape like 'Triangle in' or 'Triangle out' in Inkscape 0.91 - such variable-width paths no longer use the the 'Pattern-along-Path' path effect in Inkscape 0.91: they use the new Powerstroke path effect. You can adjust the width of a Powerstroke path effect on-canvas with the node tool by dragging the pink knot(s).

See also:
http://wiki.inkscape.org/wiki/index.php/Release_notes/0.91#PowerStroke

Note that using 'Ellipse' as shape when drawing new paths with the pen or pencil tool will still use the 'Pattern along Path' path effect in Inkscape 0.91, and adjusting the width of such 'Pattern along Path' path effect in the path effect editor works in Inkscape 0.91 just the same way as in Inkscape 0.48.

I would recommend to take this issue to the 'Anwsers' section here at launchpad.net, or to the inkscapeforum.com or the user mailing list first, to clarify intentional changes and new features in Inkscape 0.91, before filing a separate bug report (discuss with other users first how to work with variable-width paths in Inkscape 0.91).

su_v (suv-lp)
summary: - Pattern along path width and EPS failed
+ EPS import fails on Windows (Ghostscript is installed)
tags: added: eps importing win64
Revision history for this message
ali (mrali2206) wrote : Re: EPS import fails on Windows (Ghostscript is installed)

Watch this video as from 3.00, this is how it was before and it was better:

https://www.youtube.com/watch?v=q8XORGTMjIs

Hope it will be like before!

So, how about the EPS thing?

Revision history for this message
Alvin Penner (apenner) wrote :

since the ps2pdf command failed, it would be worthwhile to run it from a DOS prompt, since this is not really an Inkscape issue. Try running a DOS command like:
C:\Users\Alvin>ps2pdf input.ps output.pdf

This should run from any directory. Also, some details: are you on 32 or 64 bit Windows, XP or 7 or 8, is the Inkscape install file 32 or 64 bit, .msi or .exe? Is your Ghostscript installation 32 or 64 bit?

Revision history for this message
ali (mrali2206) wrote :

I just ran it and nothing happens. See screenshot.

I have Win 7 32 bit, downloaded Inkscape 32bit as well as Ghostscript 32bit..

Revision history for this message
Alvin Penner (apenner) wrote :

check to see if the file output.pdf was created and if it agrees with the input file

also could you attach the complete output from the PATH command?

su_v (suv-lp)
tags: added: win32
removed: win64
Revision history for this message
ali (mrali2206) wrote :

Where to see the output file?

Revision history for this message
Alvin Penner (apenner) wrote :

the output file should be in the same directory where you were when you ran the command. When you run this command, it will convert the file input.ps into the file output.pdf. The assumption is that the file input.ps exists and output.pdf will be created.

If it is not in that directory, it may have been automatically relocated by Windows for security reasons. For example, on Windows 7, if I run this command from the root directory C:\ then the output gets relocated to the directory:
C:\Users\Alvin\AppData\Local\VirtualStore\output.pdf. If your file has been relocated like this, perhaps that is the source of the problem with Inkscape as well. However I don't know why that would affect your machine and not mine.

In any event, you might try running Inkscape as an administrator and see if that helps. Do a right click on Inkscape in Windows Explorer and choose the option Run as Administrator, and then try the ps input.

Revision history for this message
ali (mrali2206) wrote :

Hi, nope I searched for it in the path you posted, but no such PDF.

Revision history for this message
Alvin Penner (apenner) wrote :

the precise location of the relocated output file will depend on which directory you were originally in, so if you were not in the root directory then you will need to move the search directory accordingly. If you want to find the output file, the simplest way to do it is type the file name in the top right hand corner of Windows Explorer where it says "Search Computer" or something like that. In any event what is significant is not the location of the file, but the fact that it got relocated.
   I would suggest trying to run Inkscape as an administrator using a right mouse button click. You could also open a DOS window as an administrator and then run Inkscape from DOS to see if that helps. This is just to confirm whether the problem is or is not a security issue.

Revision history for this message
ali (mrali2206) wrote :

I checked everywhere but in vain... i just installed the old inkscape and still cannot open the EPS. Also check screenshot, this when Inkscape was good.

Revision history for this message
Alvin Penner (apenner) wrote :

again, can you try running Inkscape as an administrator?

Do a right click on Inkscape in Windows Explorer and choose the option Run as Administrator, and then try the ps input.

Revision history for this message
ali (mrali2206) wrote :

yes i did that as well. sorry i did not mention above..

Revision history for this message
Alvin Penner (apenner) wrote :

could you attach the eps file?

Revision history for this message
ali (mrali2206) wrote :

I tried with different EPS. And I cannot attach it here, privacy reason.

Revision history for this message
Roul P. (perhelion1) wrote :

I can confirm this behavior see (duplicate) bug 1560010.

tags: added: win64
summary: - EPS import fails on Windows (Ghostscript is installed)
+ v0.91 fails import EPS on Windows
Revision history for this message
Roul P. (perhelion1) wrote : Re: v0.91 fails import EPS on Windows
Roul P. (perhelion1)
summary: - v0.91 fails import EPS on Windows
+ v0.91 fails import EPS on Windows (Ghostscript installed)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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