Hello,

I am using PyX to generate dynamic PDFs through Apache (and Django). I
understand that there can be issues going through Apache. Can anyone
point me to some actual code that will provide a work around?

My errors:

Environment:


Request Method: GET
Request URL: http://meteorite.unm.edu/buildMetCatalog/

Django Version: 1.3
Python Version: 2.6.5
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'cms',
 'cms.plugins.text',
 'cms.plugins.picture',
 'cms.plugins.link',
 'cms.plugins.file',
 'cms.plugins.snippet',
 'cms.plugins.googlemap',
 'mptt',
 'publisher',
 'menus',
 'iom_catalog',
 'django.contrib.admin',
 'django.contrib.admindocs',
 'south',
 'appmedia']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'cms.middleware.page.CurrentPageMiddleware',
 'cms.middleware.user.CurrentUserMiddleware',
 'cms.middleware.toolbar.ToolbarMiddleware',
 'cms.middleware.media.PlaceholderMediaMiddleware')


Traceback:
File
"/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py" in
get_response
  111.                         response = callback(request,
*callback_args, **callback_kwargs)
File "/home/wilbur/IOM/iom_catalog/views.py" in buildMetCatalog
  527.     #c1.stroke(path.line(0, 4, 8, 4), [style.linewidth.THin])
File "/usr/lib/pymodules/python2.6/pyx/canvas.py" in text
  309.         return self.insert(self.texrunner.text(x, y, atext,
*args, **kwargs))
File "/usr/lib/pymodules/python2.6/pyx/text.py" in text
  1190.                 self.execute("\\begin{document}",
self.defaulttexmessagesbegindoc + self.texmessagesbegindoc)
File "/usr/lib/pymodules/python2.6/pyx/text.py" in execute
  884.             texfile = open("%s.tex" % self.texfilename, "w") #
start with filename -> creates dvi file with that name

Exception Type: IOError at /buildMetCatalog/
Exception Value: [Errno 13] Permission denied: 'tmp6Kr4AT.tex'


Thanks...


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to