Hi Ruud, Thanks for the reply. I did notice the timestamp now :)
I think using the PYTHONPATH and setting .pth is a no go in GAE, as far as I know.. I was afraid of that, might have to get started in the Pisa code.. Thanks again for the solution, I saw some people using ReportLab in GAE, will help them a lot. Thanks, Arun Shanker Prasad. On Apr 30, 11:16 pm, Ruud Helderman <liping...@hotmail.com> wrote: > Hi Arun, > Sorry for my earlier post arriving 'a day after the fair', it got > delayed by moderator policy (check its timestamp). > > This is a generic problem - not something specific to either ReportLab > or Pisa. Zipping a library is a matter of choice during deployment - > why should that affect the source code of each module depending on the > library? > > In Python documentation, I noticed 2 ways to globally expand sys.path, > without having to adjust individual .py files: > 1. PYTHONPATH environment variable > 2. .pth files > > However, I doubt if either one is available to GAE application > developers. If not, then adjusting the Pisa sources is your only > option, sorry. > > IMHO, zipimporter is nice, but immature - I would rather have a more > transparent approach. An API layer on top of the filesystem that hides > the difference between ZIP files and 'real' folders (much like > 'compressed folders' in Windows), not only for import statements but > for regular file access as well. > > On Apr 28, 6:31 am, Arun Shanker Prasad <arunshankerpra...@gmail.com> > wrote: > > > > > Hi Ruud, > > > Thanks for the patch, I mentioned your patch comment #5. It is great > > and works fine when used with the ReportLab package alone. > > > My problem is that I use ReportLab as a requirement for the Pisa > > package, > > (http://www.xhtml2pdf.com/doc/pisa-en.html,http://pypi.python.org/pypi...) > > > Since reportlab is called from inside these packages, they are not > > able to find the reportlab package. Do you know of any work around for > > this? > > > Thanks, > > Arun Shanker Prasad. > > > On Apr 25, 7:07 pm, Ruud Helderman <liping...@hotmail.com> wrote: > > > > I patched the ReportLab library, works fine for me. > > > > For a simple demo and full source code, look > > > here:http://ruudhelderman.appspot.com/testpdf > > > > I added a comment with detailed explanation to issue > > > 1085:http://code.google.com/p/googleappengine/issues/detail?id=1085 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---