Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running the demo on local server #8

Closed
nuwee-de opened this issue Sep 26, 2015 · 1 comment
Closed

Error when running the demo on local server #8

nuwee-de opened this issue Sep 26, 2015 · 1 comment

Comments

@nuwee-de
Copy link

I tried to run the code on XAMPP and exporting as a svg works perfectly. But when I try to export as a pdf or png this error is thrown
"rsvg-convert -o '\xampp\tmp\d3export.out.c9sWxKK' -z '10' -f 'png' '\xampp\tmp\d3export.svg.sxxMJEX'" unexpectedly returned exit value 1 at (eval 79) line 13.
at C:/xampp/htdocs/d3e/download.pl line 81

@agordon
Copy link
Owner

agordon commented Sep 26, 2015

  1. are you sure you have rsvg-convert installed on the system, and available on the PATH ?
  2. Does the command work as-is if you copy&paste it in the terminal ?
    rsvg-convert -o '\xampp\tmp\d3export.out.c9sWxKK' -z '10' -f 'png' '\xampp\tmp\d3export.svg.sxxMJEX'
    If it doesn't, then it clearly won't work from the perl script, and you'll need to fix it.

@agordon agordon closed this as completed Sep 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants