Hi, On Thu, Apr 19, 2012 at 2:53 AM, Computer_Engineer <[email protected]> wrote: > Robert Kluin: > I firstly run my code on localhost to check errors.then i upload it to GAE,i > use eclipse for working on python with GAE in windows, i installed > python2.7 > and PIL version 1.1.7,then i edited the app.yaml,but the problem > still,please i want a solution for this problem as soon as possible. > Thank you..
In this case, could you try what Robert suggested and just upload your application without running it locally to see if the problem is with your code or with your local development environment? If it works on the production system but not locally then you try starting a Python shell and typing "import Image". If that doesn't work then your PIL installation is not correct. Cheers, Brian > > On Tuesday, April 17, 2012 5:11:44 PM UTC+3, Computer_Engineer wrote: >> >> I'm working on python google app engine application,i'm using python2.5, i >> want to deal with images on GAE(filter images), initially i tried wit PIL >> library and i installed it successfully and i tested it and it works >> correctly on my computer,but when i test it on localhost(run on GAE), i have >> an error thatNotImplementedError: Unable to find the Python PIL library,then >> i tried to deal with images using Images Python API , as in this >> tutorial:https://developers.google.com/appengine/docs/python/images/overview, >> and i tested resizing images service,and it works correctly,but the main >> application that i want is to filter the images,the question is :if this >> service(image filtering) supported in Images Python API in GAE?and if not >> how can i filter images on GAE?i saw that this service available in PIL,but >> this library is not supported by GAE >> I tried as a second choice to use python2.7 such that it supports PIL >> library and i edited the app.yaml configuration file,but i don't know how to >> use this library in the python page(main.py)? >> app.yaml: >> application: app_id >> version: 1 >> runtime: python27 >> api_version: 1 >> threadsafe: false >> handlers: >> - url: /.* >> script: main.py >> libraries: >> - name: PIL >> version: "1.1.7" >> >> ...any suggestions are welcome...Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-appengine/-/tmkdHRDGqAYJ. > > 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/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en.
