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 1. response = callback(request, *callback_args, **callback_kwargs) ... ▶ Local vars <http://meteorite.unm.edu/buildMetCatalog/#> - /home/wilbur/IOM/iom_catalog/views.py in buildMetCatalog 1. 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 1. 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 1. 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 1. 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]. 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.

