yes, and cf is writing a blank file to that directory.

that was something i double checked too! any other ideas?


On 3/9/06, Ryan Sabir <[EMAIL PROTECTED]> wrote:
>
>
> Does the user that CF is running under have write permission to that 
> directory?
>
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Gavin 
> Cooney
> Sent: Thursday, 9 March 2006 6:04 PM
> To: [email protected]
> Subject: [cfaussie] cfexecute linux problem
>
>
> hi folks,
>
> i've a small cfexecute problem on a linux machine. i'm sure it's something 
> very very simple, but i've not used cfexecute much before so i hoped one of 
> you would be able to help me out?
>
> I've got latex installed on my server.
> http://en.wikipedia.org/wiki/Help:Formula
>
> it means i can run commands like this to generate pngs of formulae.
>
>    echo 'y = \int_0^\infty \gamma^2 \cos(x) dx' | latex-math2png -D 250 > 
> eqn.png
>    echo '\sum_{n=0}^\infty \frac{x^n}{n!}' | latex-math2png -D 250 > eqn.png
>
> now when i try to run these commands using cfexecute i get a blank file 
> generated. I've tried some variations, but this is basically what i have:
>
>
> <cfset arArguments = arrayNew(1) />
> <cfset arArguments[1] = "\sum_{n=0}^\infty \frac{x^n}{n!}" /> <cfset 
> arArguments[2] = "-D 250" />
>
> <cfexecute
>    name = "latex-math2png"
>    arguments = "#arArguments#"
>    outputFile = "/vhosts/mydomain.com/htdocs/latex/test.png" />
>
>
>    <a href="/latex/test.png">link</a><br /> <img src="/latex/test.png" />
>
>
> any ideas what i'm doing wrong?
>
> Cheers
>
> Gav
>
>
>
>
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---

Reply via email to