Hi, it seems to be something with Python-PYx and writing permissions, I google it and find this: http://permalink.gmane.org/gmane.comp.python.pyx.users/347 check it out
-- Anler Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Sunday, January 8, 2012 at 8:32 PM, wilbur wrote: > Hello, > > I have recently migrated my Django application from a development server to a > production server. Everything works pretty well with the exception of a PDF > generating view that uses Python-PYx. The PyX package uses Tex/LaTex, and > when I try to generate a PDF, I get the following error: > > IOError at /buildMetCatalog/ > [Errno 13] Permission denied: 'tmpYHNZ4b.tex' > > Traceback Switch to copy-and-paste view > (http://meteorite.unm.edu/buildMetCatalog/#) > /usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py in > get_response > response = callback(request, *callback_args, **callback_kwargs) > ... > > > ▶ Local vars (http://meteorite.unm.edu/buildMetCatalog/#) > > /home/wilbur/IOM/iom_catalog/views.py in buildMetCatalog > c1.text(306, 680, header_text, [text.halign.boxcenter, text.halign.center, > text.size.Huge]) > ... > > > ▶ Local vars (http://meteorite.unm.edu/buildMetCatalog/#) > > /usr/lib/pymodules/python2.6/pyx/canvas.py in text > return self.insert(self.texrunner.text(x, y, atext, *args, **kwargs)) > ... > > > ▶ Local vars (http://meteorite.unm.edu/buildMetCatalog/#) > > /usr/lib/pymodules/python2.6/pyx/text.py in text > self.execute("\\begin{document}", self.defaulttexmessagesbegindoc + > self.texmessagesbegindoc) > ... > > > ▶ Local vars (http://meteorite.unm.edu/buildMetCatalog/#) > > /usr/lib/pymodules/python2.6/pyx/text.py in execute > texfile = open("%s.tex" % self.texfilename, "w") # start with filename -> > creates dvi file with that name > ... > > > ▶ Local vars (http://meteorite.unm.edu/buildMetCatalog/#) > > > > From the file extension, it appears that tex is trying to write some kind of > temporary file to the filesystem, but I am unclear about where I need to look > to set permissions. Any guidance would be appreciated.... > > Bill > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/rOUUrEV1CCkJ. > To post to this group, send email to [email protected] > (mailto:[email protected]). > To unsubscribe from this group, send email to > [email protected] > (mailto:[email protected]). > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" 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/django-users?hl=en.

