Hi,

I'am trying to run pyx under apache. But there seems to be some kind of 
trouble with temporary files. E.g. the "Hello world" example script 
(http://pyx.sourceforge.net/examples/index.html)  gives the following 
when I run it from a php-script

Traceback (most recent call last):
  File "/work2/antares-data//bin//test-pyx.py", line 6, in ?
    c.text(0, 0, "Hello, world!")
   File "/usr/lib/python2.3/site-packages/pyx/canvas.py", line 267, in 
text
     return self.insert(self.texrunner.text(x, y, atext, *args, 
**kwargs))
   File "/usr/lib/python2.3/site-packages/pyx/text.py", line 1152, in 
text
     self.execute(expr, self.defaulttexmessagesdefaultrun + 
self.texmessagesdefaultrun + texmessages)
   File "/usr/lib/python2.3/site-packages/pyx/text.py", line 831, in 
execute
     texfile = open("%s.tex" % self.texfilename, "w") # start with 
filename -> creates dvi file with that name
IOError: [Errno 13] Permission denied: 'tmpAM66YS.tex'

The version of pyx 0.71on debian. Does anybody know why I get this  
message? And is it a good idea to run PyX under apache in general? 
(I'am trying to replace gnuplo twith it)


--vp
________________________________________________________________________
Check Out the new free AIM(R) Mail -- 2 GB of storage and 
industry-leading spam and email virus protection.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to