Inkscape.org
Beginners' Questions Can't open EPS files on windows 10
  1. #1
    heart1010 heart1010 @heart1010
    *

    Hi,

    I've installed the latest inkscape v1.0 (4035a4fb49, 2020-05-01) and also latest ghostsript (gs952w64.exe) but when I try to open an *.eps file with inkscape I get a blank graphic - nothing more (more or less the blank graphic when I start inkscape stays there).

    I don't get any error messages or something like that.

    Both ghostscript lines are there in the path.
    Strange thing is - when I manually do 

    ps2pdf.bat -dEPSCrop 25452.eps 25452.pdf

    in the console and then open this generated 25452.pdf file with inkscape - everything works.

    Why directly open this eps file in inkscape doesn't work?

  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    Most likely there is a path error. I just updated a number of Win10 machines to the latest GS and it all went fine.  There is a dev note on the path sometimes needing to be in the middle of the string of paths.

    Did you get any error message before you updated GS?

  3. #3
    heart1010 heart1010 @heart1010

    Installed both - inkscape and gs - completely new...

    I also moved both gs lines in the path up in that list - no change :(

  4. #4
    Tyler Durden Tyler Durden @TylerDurden

    There is also the bit where, if you had GS before, the path needs to be re-pointed to the correct directory (gs52, vs gs4x). 

    Is the path being updated in the System environmental variables or User?  ( I did System.)

  5. #5
    heart1010 heart1010 @heart1010

    yes, my gs paths are also in the system environment

     

    Gs Path
  6. #6
    Tyler Durden Tyler Durden @TylerDurden

    Windows has a number of choices of installer (.msi, .exe,. zip). Which did you download to install? 

  7. #7
    heart1010 heart1010 @heart1010
    *

    I took the "inkscape-1.0-x64.exe" setup file...

    I've also tested to download the dev version as 7z file "inkscape-1.1-dev_2020-08-30_2ae44a2-x64.7z" - extracted it and run inkscape from the bin folder there and tested "File" > "Import" to open an *.eps file but this is all the same :(

    It always looks like shown in that gif image I made few minutes ago!

    update: I removed the exe-installation and tested also the msi package - even with this one no change.

    Inkscape Eps File
  8. #8
    heart1010 heart1010 @heart1010
    🏆*

    Ok, I have found the cause of this phenomenon! As you suspected it is a path problem - but not in the system PATH.....
    but where the *.eps file is located. 

    In the gif image above the *.eps file is located in a folder "C:\Projekte\Bäckerei - 2020-08 Snack it" and here I have the problem.

    When I move the *.eps file to the folder "C:\Downloads" and then import this *.eps in inkscape it works!!!!

    So the space and/or the german umlaut "ä" in the folder name causes the problem!

    update: tested a few things more... spaces aren't the problem - umlauts are the cause!!!

  9. #9
    Tyler Durden Tyler Durden @TylerDurden

    Wow. That's a new one. Usually we see filename characters crash Inkscape, so I guess that's a plus.

    Feel free to file a bug report:  https://inkscape.org/contribute/report-bugs/.

  10. #10
    heart1010 heart1010 @heart1010

    https://gitlab.com/inkscape/inbox/-/issues/3487 👍

  11. #11
    Aero Aero @Aero◻️
    👍

    Same issues also with other characters used in file or folder names.
    https://inkscape.org/forums/questions/cannot-import-eps-file/#c12150
    https://inkscape.org/forums/questions/see-eps-files-in-inkscape/#c12763

  12. #12
    heart1010 heart1010 @heart1010
    *

    An additional note regarding this umlaut problem in file and folder names should be added to the official FAQ 😉

    https://inkscape.org/learn/faq/#how-open-eps-files-windows

  13. #13
    luca letroye luca letroye @luca.letroye

    for me following the video this happend

     

    Traceback (most recent call last):
      File "ps_input.py", line 41, in <module>
        PostscriptInput().run()
      File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\base.py", line 139, in run
        self.load_raw()
      File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\extensions.py", line 101, in load_raw
        document = self.call(input_file, output_file) or output_file
      File "ps_input.py", line 38, in call
        call('ps2pdf', crop, input_file, output_file)
      File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\command.py", line 182, in call
        return _call(program, *args, **kwargs)
      File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\command.py", line 171, in _call
        raise ProgramRunError("Return Code: {}: {}\n{}\nargs: {}".format(
    inkex.command.ProgramRunError: Return Code: 255: b''
    b''
    args: ['C:\\gs\\ps2pdf.BAT', '-dEPSCrop', 'C:\\Users\\lucal\\AppData\\Local\\Temp\\Rar$DRa20124.22239\\19333449.eps', 'C:\\Users\\lucal\\AppData\\Local\\Temp\\inktmp37i02bt_\\output.pdf']
     

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Can't open EPS files on windows 10