ahhh hit send too fast, by read-only I'm trying to say paths and files aren't exactly there, you don't have the ability to see the underlaying filesystem.
On Tue, Oct 7, 2008 at 10:19 PM, Jorge Vargas <[EMAIL PROTECTED]> wrote: > GAE's filesystem is read-only, why do you need to open that file? > > On Tue, Oct 7, 2008 at 6:48 PM, manuelaraoz <[EMAIL PROTECTED]> wrote: >> >> Hey! >> I'm really confused! >> >> I have this line of code: >> >> fin = open("static/text/data.txt",'r') >> >> >> when running with dev_appserver everything is ok >> but when I deploy the application, it fails, stating: >> >> Traceback (most recent call last): >> File "/base/python_lib/versions/1/google/appengine/ext/webapp/ >> __init__.py", line 499, in __call__ >> handler.get(*groups) >> File "/base/data/home/apps/7cerebros/4.6/controller.py", line 213, >> in get >> fin = open("static/text/words.txt",'r') >> IOError: [Errno 2] No such file or directory: 'static/text/words.txt' >> >> >> my app.yaml has this line: >> >> - url: /text >> static_dir: static/text >> >> any idea of why this difference? >> >> >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---