Quantcast
Channel: magick Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1011

Commented Unassigned: Magick: Postscript delegate failed `C:\CCP\CCP_363.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/713 [1197]

$
0
0
Windows Server 2008R2 has Ghostscript 9.14 64bit version, with latest Magick.NET-x64.dll 6.8.8.901 of 23March2014. Used in ASP.NET 4.0 application with Full Trust Level.

```
Magick: Postscript delegate failed `C:\CCP\CCP_363.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/713
at ImageMagick.MagickImageCollection.HandleReadException(MagickException exception)
at ImageMagick.MagickImageCollection.Read(String fileName, MagickReadSettings readSettings)
```

Problem starts after once read timeout and thread abort in ASP.NET application. Its already kept to 300ms timeout.

Subsequent try gets following.

```
Magick: unable to create temporary file `C:\CCP\CCP_363.pdf': No such file or directory @ error/pdf.c/ReadPDFImage/400
at ImageMagick.MagickImageCollection.HandleReadException(MagickException exception)
at ImageMagick.MagickImageCollection.Read(String fileName, MagickReadSettings readSettings)
```

PDF Size: 829kb
PDF Pages: 17

```
Magick: unable to extend cache `C:\Windows\TEMP\magick-3700Zf3OhYnRtPra17': No space left on device @ error/cache.c/OpenPixelCache/3691
```

It create more than 1.3GB temp files. Its not removing temp files after writing Tiff. I just cleared about 10Gb+ temp files of different tests. But the issue remains is lots of time taken for conversion along with unexpected errors as noted above.
Comments: ** Comment from web user: ozmosis **

I had this same issue with EPS files and was able to fix it by adding permissions to "C:/Windows/Temp" directory for __IUSR__ and __IIS_IUSRS__ with the default permission checkboxes.

I think this issue is due to ImageMagick creating an intermediary conversion file which is stored in "C:/Windows/Temp" directory and your application doesn't have permission to read from there.

I'm looking into the options for changing the directory to where that intermediary file is created...


Viewing all articles
Browse latest Browse all 1011

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>