xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Helder Magalhães <helder.magalh...@gmail.com>
Subject Re: batik stopped working
Date Thu, 18 Aug 2011 09:50:11 GMT
> Hi,****

Hi Mattijs,

The same day, last Friday the 12th of August, it just stopped working. It
> seems that it can’t generate a file in the temp folder.****
> ** **
> I have looked into the log, and I see this error message:****
> [15-Aug-2011 12:06:08] PHP Warning:  shell_exec() [<a
> href='function.shell-exec'>function.shell-exec</a>]: Unable to execute 'java
> -jar batik-1.7/batik-rasterizer.jar -m image/png -d
> temp/273f5064dc00c682c73b05f36d00f2a1.png -w 800
> temp/273f5064dc00c682c73b05f36d00f2a1.svg' in
> D:\inetpub\webhost\5836\www_export\index.php on line 70****
> [15-Aug-2011 12:06:08] PHP Warning:
> unlink(temp/273f5064dc00c682c73b05f36d00f2a1.png) [<a
> href='function.unlink'>function.unlink</a>]: No such file or directory in
> D:\inetpub\webhost\5836\www_export\index.php on line 87****
> **

This log doesn't help diagnosing Batik but only a possible
PHP/permission/disk space issue...

I have set all permissions to max for the whole website, so it should have
> write rights.****
> Also, when I post to export.highcharts.com, the Highcharts server, it
> works fine. So the SVG (which is generated by Highcharts) seems to be valid.
> ****

Well, I'd say that first you should attempt to diagnose your service with a
simple file (such as the ones included in Batik samples) to be sure that it
is working properly. You may also quickly start by running the same command
line (displayed in the error message above) using a command prompt to make
sure it works.

If all that works and a particular file (or set of files) still triggers the
unexpected error, please attach it to a follow up message, else it will be
very hard to provide any additional assistance. ;-)

 I hope you can give me a push in the right direction.****
> ** **
> Regards,
> Mattijs Spierings

Hope this helps,

View raw message