[google-appengine] Re: Getting the latest version of my application
Hi Alex, consider to use a version control system for that purpose. App Engine serves your application, not your code :) This question has been discussed several times on this list, try searching this list for different approaches (http://groups.google.com/group/google-appengine/search?group=google-appengine&q=download+code&qt_g=Search+this+group). Regards, Andi On Sat, Aug 8, 2009 at 12:17 AM, Alex wrote: > > Hi, > > I uploaded my application and always worked from the same computer. > Now I want to work from another place, how can I get the code of my > application? > I failed finding it in the documentation. > > Thank you for your time, > Alex. > > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] appengine / android integration
Howdy, I want to write an android app and store the data in app engine. Just wondering if there are easy ways to do this. Would be nice if google.appengine.api.users was available in android. For now, I plan on bouncing to my site via the browser and getting cookies back which I could use in android. Thoughts? Thanks, Earl --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] App Engine serving all pages as html -
I have a very simple txt sitemap (named sitemap.txt) that looks like this: http://myDomain.com http://myDomain.com/about.html http://myDomain.com/faq.html http://myDomain.com/careers.html When I load it up on webmaster tools I get: Sitemap is HTML - Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead I tried a few alternatives (such as with or without www) but no luck. I tried also with an xml sitemap and getting the same error so it looks like the server is serving everything as text/html instead of text/plain.. Now the question is ... how do I get the appspot server to server text as plain? Anyone any clue? Any help appreciated! P.S. if I am not posting in the appropriate group please tell me which one should I post to --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] urlfetch error
Hello everyone, I am having a problem with urlfetch. Everything works fine on my local machine, but when I deploy, I get this error: 'module' object has no attribute 'getdefaulttimeout' Here's my call: urlfetch.fetch (url,req_data,method=urlfetch.POST,deadline=10) Any ideas? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Indexes stuck in building
Hi, My indexes seem stuck in Building for over 4 days now. I tried to vacuum them but alas. Could anybody help me out, please? My app's name is peechotest. Thanks! --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Getting the latest version of my application
Hi, I uploaded my application and always worked from the same computer. Now I want to work from another place, how can I get the code of my application? I failed finding it in the documentation. Thank you for your time, Alex. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: My app is getting filtered by "sorry.google.com"!
On Aug 6, 8:53 am, Jon McAlister wrote: > Should be all clearnow. it's not for me. between a blogger.com refresh and reload of new settings on a blog, i am now blocked from all blogspot.com activities. rhys --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Google Error: "...your query looks similar to automated requests from a computer virus or spyware application."
Can not access blogspots at all, getting this "We're sorry... ... but your computer or network may be sending automated queries. To protect our users, we can't process your request right now." Mac OS X 10.5.8 and cannot access from Safari 4.0.2 nor Firefox. On Aug 6, 7:31 am, "Nick Johnson (Google)" wrote: > We're currently seeing some issues with users serving off custom > domains. We're working on resolving it right now. > > -Nick Johnson > > > > > > On Thu, Aug 6, 2009 at 3:26 PM, DJB wrote: > > > We host our Google Gadgets components on App Engine. > > > This morning we started receiving this error (See below): > > > 1. The Gadget URLs are accessible from a web browser, but not from the > > _IG_FetchContent call from a Google Gadget. > > > 2. The Gadget XML > > URL:http://www.bible-library.com/gadgets/dailybibleart_dynamic.xml > > > 3. The Component HTML URL:http://www.bible-library.com/imagecaption > > > Any Ideas? > > > Thanks, > > David > > > == > > Google > > Error > > > We're sorry... > > > ... but your query looks similar to automated requests from a > > computer virus or spyware application. To protect our users, we can't > > process your request right now. > > > We'll restore your access as quickly as possible, so try again > > soon. In the meantime, if you suspect that your computer or network > > has been infected, you might want to run a virus checker or spyware > > remover to make sure that your systems are free of viruses and other > > spurious software. > > > If you're continually receiving this error, you may be able to > > resolve the problem by deleting your Google cookie and revisiting > > Google. For browser-specific instructions, please consult your > > browser's online support center. > > > If your entire network is affected, more information is available > > in the Google Web Search Help Center. > > > We apologize for the inconvenience, and hope we'll see you again > > on Google. > > -- > Nick Johnson, Developer Programs Engineer, App Engine --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Google Error: "...your query looks similar to automated requests from a computer virus or spyware application."
Im having this same issue Im getting this message - .. but your computer or network may be sending automated queries. To protect our users, we can't process your request right now. - with a custom domain on blogspot On Aug 6, 10:52 am, Jon McAlister wrote: > Should be all clear now. > > On Thu, Aug 6, 2009 at 7:31 AM, Nick Johnson > > (Google) wrote: > > > We're currently seeing some issues with users serving off custom > > domains. We're working on resolving it right now. > > > -Nick Johnson > > > On Thu, Aug 6, 2009 at 3:26 PM, DJB wrote: > > >> We host our Google Gadgets components on App Engine. > > >> This morning we started receiving this error (See below): > > >> 1. The Gadget URLs are accessible from a web browser, but not from the > >> _IG_FetchContent call from a Google Gadget. > > >> 2. The Gadget XML > >> URL:http://www.bible-library.com/gadgets/dailybibleart_dynamic.xml > > >> 3. The Component HTML URL:http://www.bible-library.com/imagecaption > > >> Any Ideas? > > >> Thanks, > >> David > > >> == > >> Google > >> Error > > >> We're sorry... > > >> ... but your query looks similar to automated requests from a > >> computer virus or spyware application. To protect our users, we can't > >> process your request right now. > > >> We'll restore your access as quickly as possible, so try again > >> soon. In the meantime, if you suspect that your computer or network > >> has been infected, you might want to run a virus checker or spyware > >> remover to make sure that your systems are free of viruses and other > >> spurious software. > > >> If you're continually receiving this error, you may be able to > >> resolve the problem by deleting your Google cookie and revisiting > >> Google. For browser-specific instructions, please consult your > >> browser's online support center. > > >> If your entire network is affected, more information is available > >> in the Google Web Search Help Center. > > >> We apologize for the inconvenience, and hope we'll see you again > >> on Google. > > > -- > > Nick Johnson, Developer Programs Engineer, App Engine > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Problem on GAE SDK 1.2
I'm trying to compile a JSP but this error is happening: [java] SEVERE: ERROR-the file '\welcome.jspx' generated the following general exception: [java] java.io.IOException: Server returned HTTP response code: 503 for URL: http://www.w3c.org/TR/xhtml1/DTD/xhtml1-strict.dtd [java] at sun.net.www.protocol.http.HttpURLConnection.getInputStream (HttpURLConnection.java:1241) If I go to the url, it exists... I removed all temp files and the problem is still occuring.. Anyone knows what can I do? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Static file access for reading custom configuration file
You know yo would be far better off having your yaml file (or the definitions) defined as an entity in the datastore and then you users could just upload new versions Which means you don't need to do deployments all the time T On Aug 8, 4:47 pm, VKM wrote: > Ok, its working now. Thanks Tim. I just put file along with other > python files and it worked. > > Thanks, > > Regards, > VKM > > On Aug 8, 1:41 pm, VKM wrote: > > > Hi thanks for the reply. > > > I want my users to change the settings in yamlfile(like > > settings.yaml) as and when they require and click on a button to let > > us know that the user wants updates to be committed. Once that update > > signal comes to us, a shell script can update the application on GAE. > > > Btw, I tried reading yamlfileusing open but I put thatfileinstaticfolder > > and it showed blocked error. Tim can you tell me where > > this settings.yamlfileshould be stored? Should it be stored along > > with other python scripts i.e. at root level? Could you please give > > little more explaination. > > > Regards, > > VKM > > > On Aug 7, 12:36 am, djidjadji wrote: > > > > the yamlfilemust be next to the python files and not marked asstaticin > > > app.yaml > > > > How do you want to let the client upload the yamlfile. If that is > > > with an html form then you must store thefilein the datastore > > > > 2009/8/6 Tim Hoffman : > > > > > You can define you own yamlfile. and then read it directly (by the > > > > way you can't from code, access > > > > app.yaml or index.yaml) > > > > > Do something like this > > > > > from yaml import load > > > > > def loadSettings(settings='settings.yaml'): > > > > > settings = load(open(settings,'r').read())) > > > > > return settings > > > > > mysettings = loadSettings() > > > > > You probably want to cache this either in a module or memcache so you > > > > don't have to reread it all the time. > > > > > Rgds > > > > > Tim > > > > > On Aug 6, 10:33 am, VKM wrote: > > > >> Hi > > > > >> Could you tell me then how to use my custom Yamlfilefor application > > > >> settings? One simple way is to have a new pythonfilewith settings > > > >> stored as dic or list etc and import it in main program. But that is > > > >> not the good way. I want to give access of Yamlfileto my clients so > > > >> that they can modify thefileand can update the content without > > > >> worrying about Python code. > > > > >> Regards, > > > >> VKM > > > > >> On Aug 4, 4:50 pm, djidjadji wrote: > > > > >> > You must not put this yamlfilein a directory forstaticcontent. > > > >> > You can't open thesestaticfiles with python/java code > > > > >> > 2009/8/2 VKM : > > > > >> > > Hi, > > > > >> > > I am writing a yaml configurationfilefor my application. This > > > >> > > config > > > >> > >filewill contain fewstaticsettings (eg. drop down menu options). I > > > >> > > may need to add or remove few options from the menu so in that > > > >> > > case I > > > >> > > will just need to change my yamlfileand upload the app and changes > > > >> > > will reflect. > > > > >> > > But when I read thefile, it gives error:filenot accessible. I saw > > > >> > > the warning messages and it says: dev_appserver.py Blocking access > > > >> > > to > > > >> > >staticfile... > > > > >> > > Can any body give me solution for this! How to read astaticfile, > > > >> > > like a configfile. Do I need to do chances in my app.yamlfile? > > > > >> > > Thanks > > > > >> > > Regards, > > > >> > > VKM --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Weird content being injected into my page
Hello, I have a couple of pages that work on my local computer, but when I upload them and goto the page, I see weird code being injected in front of my page. Both Internet Explorer and Safari show the following. Firefox wants to download the code as a file. Set-Cookie: appengine-utilities-session- sid=agt3aGl0ZWhhdC1hMXIiCxIbX0FwcEVuZ2luZVV0aWxpdGllc19TZXNzaW9uGKcfDAfe0ca33e57b3c2bf7f93396d8f3f61c9; Path=/ Set-Cookie: appengine-utilities-session-sid_data=; expires=Sun, 09-Aug-2009 03:01:42 GMT Content-Type: text/html; charset=utf-8 Content-Encoding: gzip X-AppEngine-Estimated-CPM-US-Dollars: $0.005745 X-AppEngine-Resource-Usage: ms=138 cpu_ms=230 api_cpu_ms=148 Date: Sun, 09 Aug 2009 01:01:42 GMT Server: Google Frontend Content-Length: 1167 ‹ ÿµWëoÛ6 ÿœ ý 8 ™ l ídíšTrÑÚé2 Yƒ$ŶO -Ò JÔÄ“ èú¿ï(J~tN6d®? èu¯ß=xwŽ¾ ¾ Üþ~uFRÈ4¹úðöâç ¡ Æ~= 06¼ ’ßÎo//H/ì’ (U Œ ýB M ŠSÆf³Y8; M9a·×lî´ôœXóرµL(@ÐþÓ'QmežéÜÆ[4ôNNN¼ uL§šç“˜Ê¼óÓ[/-¹Àû^ ´ì MÆUN.yÎ'²Œ˜ÿêè™ NœþŽü³RÓ˜ L 2‡Îí¢ ”$þ-¦¼(´J8(“{»ß¡ÙW$Iyi%Ä Œ;/)a + 9ÏdL…´I© '¶¦l ã \ÌL)ìÃ\¥ XçQ¹ óïÉØhmf €Vù )¥Ž©MM I D% @ZÊqLÙ˜OÝ {ˆ JýD= †Í;žoMM#b ]O ™ÊÃÄ" ¯ ZÚTJh œ s N‡Óâý_§~äSî¿RbËd¥ ŒÑ6ühi? bžÁáÀl²& ÑȈE M¨)Q + ²t)ßÛÛ‹Ò^ÿ C¨°–êT¡d¯¡UÚ?ìù«s¯/0 ö¨Û{ 1|# 38zÄ [ÿùJ ) Ž.hÿ ¯ ãý á ±¶nS 2åÐá½ ëÈ ÂÄdì ž2m&¦‚×.¡*¯dìDlSë c&ZÖ¬< \«I – ®,ƒeœ‚MˆHPÙ¤. €Õ…i™«ËNj2 ù$X7 Êþ9 ¼ þ¯u–T Pßý02™Wv+ŽA#jw FÔ ë P| ÇÛ ‹µõ 7(¶»Ìp S. “ /ªäî"Òôà{Á4ôípŽz¼lÅà(_ݾ› ÛÛ×r , ã£ë£xsmv £ ¯·ãz i rk”nO~Ã…ópc B:œ’åœ\ŽÉ 9öŒ “ pÿ¹Ã‘_ 2 £ Àä "8|EqìŠ/FÈ ã³í° ) Ðþ ^ !,¤–€Î ëû Öѯv S5> &©\ÂÚÄ;SfáÈÌ“T&wR„S®q ÇÝÃO\Ë ‚+-¹•Ä ¢Á ' p’’qi2 ©$ !b,>Kmå§Í(y‰àð3íßÔ ÿ í¦ ¿* ‡õÌ~ÿÅÌÞ>² Í-îÏM+ªK £›„'n=úGpý¸¡ WÎÔ`} Æâ’æwÏeŒ¼š-ó¿Y ü P/CËóCŸïÓ¶¾ ÊjDµ_›¢oV0 ¿e4 œ¦ iÁ ô ¨ªXikÅÖ ‹Ê‹ª]:S%„Ì[7€Û;J|n—+öýì«zX u[)æB¹ ôõ£96 ÚÍ4ò- Û~± (Õ$ òí³Þ‹“Wä¨Û=!õßšfw³FW.3Ömn!y£5¹v –\K··aYF¬Ñ¶f8bÍfŒ ÿ›ÔPž>ù ¿í㑳 This used to work a couple of weeks ago and now it doesn't. Any idea on what might be wrong? thanks --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: handling simple data structure upgrades
Thanks much! Apparently something being a one-liner with RDBMS is no indication it'll be simple with GAE's datastore :) 2009/7/27 Alkis Evlogimenos ('Αλκης Ευλογημένος) : > What I used to do was to use the mapper framework found in GAE articles. > After the task queue was released I found it a lot easier to code and write > tests for a simple handler that updates one at a time. Basically the handler > has a get that is accessible only from admin and get enqueues a task for the > first item in the kind you want to upgrade. The post does the upgrade of the > passed key and finds the next in line to upgrade and queues a task for that. > When there is no entities left to process I send an email to myself that > this is done. > > It looks like this: > class Upgrade(webapp.RequestHandler): > def get(self): > self.response.out.write('Started rewriting stuff') > next = MyModel.all(keys_only=True).get() > upgrader_queue.add( > taskqueue.Task(url='/admin/upgrade_mymodel/', params={'next': > str(next)})) > def post(self): > key = db.Key(self.request.get('next')) > next = MyModel.all(keys_only=True).filter('__key__ >', key).get() > def txn(): > entity = db.get(key) > if entity: > // do stuff > if next: > upgrader_queue.add( > taskqueue.Task(url='/admin/upgrade_mymodel/', params={'next': > next})) > else: > // mail myself that upgrade is done!!! > db.run_in_transaction(txn) > This has a race condition: if an entity is added during the time you perform > the upgrade you will not process it. This is ok if all "new" entities do not > need to be upgraded which is often the case. > On Mon, Jul 27, 2009 at 3:56 PM, Alexander Tereshkin > wrote: >> >> Hello All, >> >> Could you please share your wisdom on the following issue: I have >> added a new property to a model and would like to filter the data on >> this property. However, I already have quite a bit of data stored and >> all the entities that were created before the last upgrade don't have >> the new property and hence won't be returned by the queries once the >> filter is added. >> How are you dealing with such situations? Is there some sort of best >> practice here or maybe I just missed something in the docs? Since >> there are no batch updates, it looks like the only option is to cycle >> through all the entities and update them one by one. But then again >> there's too much data to do it in a single request, so I should >> process only this much entities at a time and enqueue the rest of >> processing. >> It just sounds like too much code for something this simple. I'm >> considering writing a generic routine in python to handle this type of >> upgrades, but wanted to check first if I'm missing anything or if such >> routine already exists. >> >> Thanks, >> Alex >> >> > > > > -- > > Alkis > > > > -- Best Regards, Alexander Tereshkin, Y-NODE Software --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Proposal: __index__ support to make certain datastore/query operations more efficient
> Would require an additional check in the if/else clause on write of > the related entity which should raise an error if the entity it points > to doesn't exist... That's not enough - the __index__ entity could be deleted afterwards. The relevant check in deletes is very expensive (it's a query) and it's unclear what one can do when it occurs because you can't query for entities with __index__ values. (What Kind table?) Requiring explicit key_name 's and/or unnecessary transaction groups isn't really a solution. I think that a better approach would be a different kind of query, one that returned the entity referenced by the reference property specified in the query. Note that this would allow a given entity to have the equivalent of multiple __index__ properties. This doesn't eliminate the problem with referenced entities that don't exist. One possible solution is a sentinel value. None is a not-horrible choice. (For db.Query.fetch(), None is unambiguous - there would be None's in the list if the query succeeded but the entity fetch failed. For db.Query.get(), None would ambiguous. One possibility is to throw an exception of the query succeeded but the entity fetch failed.) On Aug 7, 10:42 am, tav wrote: > Hey Andy, > > > Cute, but there's no way to guarantee that there's an object with that > > key. > > Very good point! > > Would require an additional check in the if/else clause on write of > the related entity which should raise an error if the entity it points > to doesn't exist... > > And if all entities that were "__index__'ed" were kept in a separate > table -- much like the Kind table, then perhaps that could be checked > when an entity is about to be deleted and if a referrant related > entity is still around, an Exception could be raised? > > Thoughts? > > > Also, redirecting queries this way means that there's no way to get > > the key (or entity) via a query so the entity can be updated, deleted, > > etc. > > Sure. But one should always be able to get the entity directly using > it's key name -- i tend to have predictable key_names for my related > entities -- and perhaps even use the transaction descendant queries > that landed yesterday in 1.2.4? > > -- > love, tav > > plex:espians/tav | t...@espians.com | +44 (0) 7809 569 > 369http://tav.espians.com|http://twitter.com/tav| skype:tavespian --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Why are my plus signs disappearing?
Oh, and thank you for the snarky link! I had wasted my time searching this group with the same phrase, rather than the general web. On Aug 4, 11:02 pm, Hrishikesh Bakshi wrote: > Use encodeURIComponent() instead of escape() for encoding your POST data. > > This will solve your issue. > > http://tinyurl.com/mcbgxg > > > > > > On Wed, Aug 5, 2009 at 1:00 AM, Bennomatic wrote: > > > OK, here's the last item on the list. I used my non-ajax form to save > > the data as a string as well, and now the + signs are being saved. > > > Should I not be escaping? Should I double-escape? Should I use a > > content type other than application/x-www-form-urlencoded? > > > Thanks for any guidance you can offer! > > > On Aug 4, 9:47 pm, Bennomatic wrote: > > > One other thing: I set up a form post option, so I was able to set up > > > the output to echo the input and the + signs are still there. It only > > > seems to be when I put those + signs into the datastore that they > > > become spaces or disappear. > > > > Hlp! (please?) > > > > On Aug 4, 9:28 pm, "readyass...@gmail.com" > > > wrote: > > > > > I've noticed a strange bug in my application, which has an AJAX > > > > callback for saving form (textarea) content into a blob in the > > > > database. The problem is that while everything else saves fine, any > > > > '+' characters disappear. > > > > > I've added an alert to the AJAX save routine so I can see that, before > > > > the save, the '+' is still in the string, and then the meat of the > > > > callback is this: > > > > > http_request.open('post', xmlUrl, true); > > > > http_request.setRequestHeader("Content-Type", "application/x-www- > > > > form-urlencoded"); > > > > http_request.send('file_name=' + escape(file_name) + > > > > '&file_content=' + escape(ta_content)); > > > > > the "ta_content" variable is the TextArea content that I just verified > > > > with the javascript alert. > > > > > This posts against a save routine which does the following: > > > > > class Save(webapp.RequestHandler): > > > > def post(self): > > > > #fn = self.request.get('file_name') > > > > fc = self.request.get('file_content') > > > > > newfile = db.GqlQuery('SELECT * FROM Posts WHERE [yadda yadda]).get > > > > () > > > > if newfile is not None: > > > > newfile.content = db.Blob(str(fc)) > > > > else: > > > > newfile = Posts(content = db.Blob(str(fc)), > > > > content_type = ct) > > > > newfile.put() > > > > > self.response.out.write('ok') > > > > > And the DB entity is as follows: > > > > > class Posts(db.Model): > > > > content = db.BlobProperty() > > > > created = db.DateTimeProperty(auto_now_add=True) > > > > #content2 = db.StringProperty() > > > > > So my question is, where are my '+' signs disappearing and how can I > > > > stop this? I'm encoding my data on the post. I'm converting to a > > > > string before storing to a blob on the AppEngine side. I even > > > > temporarily added a string to the entity so that I could actually see > > > > the data as it's stored in the datastore and guess what? I can see my > > > > <,>,&,'," and everything else. Just no +. > > > > > Can anyone see what I'm doing wrong here, or does AppEngine just hate > > > > me, plus signs or both? > > -- > Hrishikesh Bakshi --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Why are my plus signs disappearing?
Thank you! This totally works! Ben On Aug 4, 11:02 pm, Hrishikesh Bakshi wrote: > Use encodeURIComponent() instead of escape() for encoding your POST data. > > This will solve your issue. > > http://tinyurl.com/mcbgxg > > > > > > On Wed, Aug 5, 2009 at 1:00 AM, Bennomatic wrote: > > > OK, here's the last item on the list. I used my non-ajax form to save > > the data as a string as well, and now the + signs are being saved. > > > Should I not be escaping? Should I double-escape? Should I use a > > content type other than application/x-www-form-urlencoded? > > > Thanks for any guidance you can offer! > > > On Aug 4, 9:47 pm, Bennomatic wrote: > > > One other thing: I set up a form post option, so I was able to set up > > > the output to echo the input and the + signs are still there. It only > > > seems to be when I put those + signs into the datastore that they > > > become spaces or disappear. > > > > Hlp! (please?) > > > > On Aug 4, 9:28 pm, "readyass...@gmail.com" > > > wrote: > > > > > I've noticed a strange bug in my application, which has an AJAX > > > > callback for saving form (textarea) content into a blob in the > > > > database. The problem is that while everything else saves fine, any > > > > '+' characters disappear. > > > > > I've added an alert to the AJAX save routine so I can see that, before > > > > the save, the '+' is still in the string, and then the meat of the > > > > callback is this: > > > > > http_request.open('post', xmlUrl, true); > > > > http_request.setRequestHeader("Content-Type", "application/x-www- > > > > form-urlencoded"); > > > > http_request.send('file_name=' + escape(file_name) + > > > > '&file_content=' + escape(ta_content)); > > > > > the "ta_content" variable is the TextArea content that I just verified > > > > with the javascript alert. > > > > > This posts against a save routine which does the following: > > > > > class Save(webapp.RequestHandler): > > > > def post(self): > > > > #fn = self.request.get('file_name') > > > > fc = self.request.get('file_content') > > > > > newfile = db.GqlQuery('SELECT * FROM Posts WHERE [yadda yadda]).get > > > > () > > > > if newfile is not None: > > > > newfile.content = db.Blob(str(fc)) > > > > else: > > > > newfile = Posts(content = db.Blob(str(fc)), > > > > content_type = ct) > > > > newfile.put() > > > > > self.response.out.write('ok') > > > > > And the DB entity is as follows: > > > > > class Posts(db.Model): > > > > content = db.BlobProperty() > > > > created = db.DateTimeProperty(auto_now_add=True) > > > > #content2 = db.StringProperty() > > > > > So my question is, where are my '+' signs disappearing and how can I > > > > stop this? I'm encoding my data on the post. I'm converting to a > > > > string before storing to a blob on the AppEngine side. I even > > > > temporarily added a string to the entity so that I could actually see > > > > the data as it's stored in the datastore and guess what? I can see my > > > > <,>,&,'," and everything else. Just no +. > > > > > Can anyone see what I'm doing wrong here, or does AppEngine just hate > > > > me, plus signs or both? > > -- > Hrishikesh Bakshi --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Building index stucked
My indexes are stuck, on application "aquarium-bp". One index is in error, the rest are "building". When I attempt to vacuum with a no-indexes-defined index.yaml file, I'm offered the opportunity to delete each, in turn. If I only choose "yes" for the Error index, I get the "Deleting selected index definitions.", but the index never disappears (and remains "Error"). If I say "yes" to delete any other indexes, I'm given the somewhat more confusing "2009-08-08 13:20:20,689 WARNING appcfg.py:704 An index was not deleted. Most likely this is because it no longer exists." message, and still nothing changes. I have a fairly small amount of data in my Datastore, but this broken application state is making it impossible for me to continue development/deployment of my app, which is now (further) behind schedule. Could someone from the AppEngine team take a look and maybe knock my indexes loose? -- Bryan A. P. Pendleton Graduate Student, Carnegie Mellon Human Computer Interaction Institute Ph: (877) geek-1-bp On Thu, Jun 4, 2009 at 1:40 PM, Nick Johnson (Google) < nick.john...@google.com> wrote: > Hi, > > I've reset your indexes to 'error' state. You can now vacuum and recreate > them if you wish. > > -Nick Johnson > > > On Wed, Jun 3, 2009 at 10:07 PM, mmiy...@gmail.com wrote: > >> >> Hi, >> I've got a problem while building a new index for my applicaiton. >> index.yaml is correctly uploaded but its status is stacked in >> "Building" for a week. Something must be wrong. >> I've tried vaccuming the index by appcfg.py but failed... I need some >> help. My application ID is "codepasture-rest". >> Thanks. >> >> >> > > > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: GQL query failed to return a qualifying entity
In the beginning of Appengine some objects got lost in the index. The solution was get the object by key and put() it again. This solved it for some people who where missing objects with a query that has a filter. If you don't know the key of the object, page over all keys of that object type and re-put() them all. 2009/8/6 Jaap Taal : > Hi phtq, > I've only had this problem once, and after deleting that record it never > occured again... The only reason I mentioned it, is because you started this > thread! > Jaap > > On Wed, Aug 5, 2009 at 11:28 PM, phtq wrote: >> >> Hello Jaap, >> >> Sounds like this problem is not all that rare, although we have never >> hit it before in over a year of development on the app engine. >> >> I can't relate the problem to anything we have done recently. I don't >> think we have introduced any new indexes for a while for example. >> >> I take it Google have not come up with any explanation in your case so >> far either? >> >> On Aug 5, 11:18 pm, Jaap Taal wrote: >> > Same here, just good old ASCII chars in that record. >> > >> > >> > >> > On Wed, Aug 5, 2009 at 12:55 AM, phtq wrote: >> > >> > > The fact that the record can be retrieved with any 2 of the 3 filters >> > > indicates that there are no hidden characters. >> > >> > > On Aug 5, 8:41 am, Wooble wrote: >> > > > Are you sure there isn't a space or other non-printable character in >> > > > your data in the datastore? It's certainly possible your index is >> > > > corrupt, but I'd check for more likely causes first. >> > >> > > > On Aug 4, 12:01 am, phtq wrote: >> > >> > > > > In our application (kbdlessons version 1-01) we have just had a >> > > > > case >> > > > > where a query in our application failed to return a record which >> > > > > definitely exists. We were able to reproduce this problem using >> > > > > the >> > > > > Dataviewer page off the app engine dashboard. >> > >> > > > > We put in this query using the Dataviewer: >> > >> > > > > SELECT * FROM StudentSubscriptions where StudentKey = 'REBECCA' >> > > > > and >> > > > > ProductKey = 'Typequick Professional' and AccountKey = 'SIVF' >> > >> > > > > and got no results. However, if we use just 2 out of the 3 tests >> > > > > (any >> > > > > 2!) the record we want appears amongst the results. >> > >> > > > > Also, other valid values for StudentKey when used in this 3 part >> > > > > query >> > > > > do return a record in the Dataviewer page, just not this >> > > > > particular >> > > > > set of 3 values. >> > >> > > > > We had to build a new record (under another name) to get the >> > > > > student >> > > > > going, but have left the troubled record in the database so you >> > > > > can >> > > > > look at it. >> > >> > > > > Please let me know how to avoid this rather worrying problem. >> --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: I got a HTTP 500 error, when using a HEAD request
Assuming you're using webapp, you need to define a head(self) method in your RequestHandler class. Note that you MUST NOT include a message-body, which means that you shouldn't send anything with self.response.out.write(); you only want the response to contain headers. On Aug 8, 1:06 am, Suke Lin wrote: > I'm using Python. I don't how to handle incoming head requests.It's > different from handling get/post requests? > > On Jun 30, 8:17 am, "Jeff S (Google)" wrote: > > > Hi Suke Lin, > > > What does the code look like for your servlet or request handler? You will > > need to define your own code to handle incoming head requests (I'm not sure > > if you are using Java or Python). > > > Thank you, > > > Jeff > > > On Sat, Jun 27, 2009 at 3:21 AM, Suke Lin wrote: > > > > every time when I using a HEAD request, I got a HTTP 500 error. (using > > > GET request is OK) > > > > I debug in development environment, there is a WARNING saying: > > > dropping unexpected body in response to head request. > > > > can you tell me what's the problem ? > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Twitter4j problem
On Aug 8, 12:50 am, Technobabbler wrote: > I don't think so because yesterday late night the twitter's service > was good but Twitter4J still doesn't work at all. They may still be blocking API access from sites that generate a lot of API traffic; the appspot IPs would almost certainly qualify. The twitter-IM gateway I use has been broken since the attacks, too. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: twitter oauth
Nothing simple like callback from Twitter (btw how do you set your callback from Twitter for localhost?) On Aug 7, 6:45 pm, Ben Adida wrote: > Just an update... I've verified that the exact URL I'm trying to fetch > from within GAE gets a response from Twitter, in my browser, in < 1 > second. Since it's an oAuth request, the fact that I'm able to copy it > from the logs and use it successfully means that GAE hasn't even > issued the request to Twitter at all. Something is off with the GAE-to- > Twitter connectivity... > > -Ben > > On Aug 7, 3:15 pm, Ben Adida wrote: > > > > > Hi folks, > > > I've been developing an app that does logins via twitter's oauth API. > > I'm using twitteroauth-python > > >http://github.com/harperreed/twitteroauth-python/tree/master > > > which has been working great in my dev environment. Unfortunately, now > > that I'm starting to deploy, I'm getting errors at the point where the > > code obtains a Request Token from Twitter. Specifically, the response > > is empty. In parallel, I'm doing the same thing from my dev > > environment, and it's successful. > > > Has anyone seen this? Is there something weird about the request going > > out to Twitter from GAE that's causing an issue? How can I debug this > > more closely? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Problem deploying demo application
any suggestion?? On 7 Ago, 18:15, Roberto Eguaglia wrote: > DemoServlet.java > package com.demo; > > import java.io.IOException; > import javax.servlet.http.*; > > @SuppressWarnings("serial") > public class DemoServlet extends HttpServlet { > public void doGet(HttpServletRequest req, HttpServletResponse resp) > throws IOException { > resp.setContentType("text/plain"); > resp.getWriter().println("Hello, world"); > } > > } > > index.html > > > > > > > > > > > > Hello App Engine > > > > Hello App Engine! > > > > Available Servlets: td> > > > Demo > > > > > > web.xml > > http://www.w3.org/2001/XMLSchema-instance"; > xmlns="http://java.sun.com/xml/ns/javaee"; > xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; > xsi:schemaLocation="http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"; > version="2.5"> > > Demo > com.demo.DemoServlet > > > Demo > /demo > > > index.html > > > > On 7 Ago, 11:57, Roberto Eguaglia wrote: > > > Hi Nick, > > > My App ID is hello-demo; I've created it after my other application > > gave me the same error. > > > I didn't make any modifications from the default app. > > If you want I can post the code > > > On 7 Ago, 11:43, "Nick Johnson (Google)" > > wrote: > > > > Hi Roberto, > > > > What is your App ID? > > > > Did you make any modifications at all from the default app? > > > > -Nick Johnson > > > > On Fri, Aug 7, 2009 at 10:39 AM, Roberto Eguaglia > > > wrote: > > > > > Hi Nick, > > > > > that's my log in the admin console (it's not in the "Error" logs, but > > > > in the "Request") > > > > # > > > > > 1. > > > > 08-07 02:34AM 03.175 /demo 500 103ms 0cpu_ms 0kb Mozilla/5.0 > > > > (X11; U; Linux x86_64; it; rv:1.9.0.12) Gecko/2009071200 SUSE/ > > > > 3.0.12-0.1.2 Firefox/3.0.12,gzip(gfe) > > > > See details > > > > > 82.58.115.90 - - [07/Aug/2009:02:34:03 -0700] "GET /demo HTTP/ > > > > 1.1" 500 0 "http://hello-demo.appspot.com/"; "Mozilla/5.0 (X11; U; > > > > Linux x86_64; it; rv:1.9.0.12) Gecko/2009071200 SUSE/3.0.12-0.1.2 > > > > Firefox/3.0.12,gzip(gfe)" > > > > > I can't explain myself why the application generated by default > > > > doesn't work (it works only in the develpoment environment...) > > > > > On 7 Ago, 10:39, "Nick Johnson (Google)" > > > > wrote: > > > >> Hi, > > > > >> In order to see what error you are getting, you need to log in to the > > > >> admin console, and click on 'Logs'. > > > > >> -Nick Johnson > > > > >> On Wed, Aug 5, 2009 at 11:00 AM, > > > >> squalo1...@nuoto.it wrote: > > > > >> > Hi everyone. > > > >> > I'm new to Google App Engine and I'm using Eclipse 3.4 with the > > > >> > plugin > > > >> > downloaded from Google. > > > >> > When I create a new Web-Application project Eclipse set the > > > >> > appropriate directories, libraries etc... > > > >> > Running locally the web-app I can see the "Hello App Engine" page > > > >> > with > > > >> > the available servlets and, when i follow the link to the servlet, > > > >> > appears the mighty "Hello, world". So locally there are no errors. > > > >> > Unfortunately, when I deploy the application, the link to the > > > >> > servlet, > > > >> > simply doesn't work: it gives me a 500 error response (Server Error), > > > >> > without any information about "what error happened". > > > >> > Can anyone help me please? > > > >> > P.S.: Sorry if my English isn't completely correct > > > > >> -- > > > >> Nick Johnson, Developer Programs Engineer, App Engine > > > > -- > > > Nick Johnson, Developer Programs Engineer, App Engine > > --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Static file access for reading custom configuration file
Ok, its working now. Thanks Tim. I just put file along with other python files and it worked. Thanks, Regards, VKM On Aug 8, 1:41 pm, VKM wrote: > Hi thanks for the reply. > > I want my users to change the settings in yamlfile(like > settings.yaml) as and when they require and click on a button to let > us know that the user wants updates to be committed. Once that update > signal comes to us, a shell script can update the application on GAE. > > Btw, I tried reading yamlfileusing open but I put thatfileinstaticfolder and > it showed blocked error. Tim can you tell me where > this settings.yamlfileshould be stored? Should it be stored along > with other python scripts i.e. at root level? Could you please give > little more explaination. > > Regards, > VKM > > On Aug 7, 12:36 am, djidjadji wrote: > > > the yamlfilemust be next to the python files and not marked asstaticin > > app.yaml > > > How do you want to let the client upload the yamlfile. If that is > > with an html form then you must store thefilein the datastore > > > 2009/8/6 Tim Hoffman : > > > > You can define you own yamlfile. and then read it directly (by the > > > way you can't from code, access > > > app.yaml or index.yaml) > > > > Do something like this > > > > from yaml import load > > > > def loadSettings(settings='settings.yaml'): > > > > settings = load(open(settings,'r').read())) > > > > return settings > > > > mysettings = loadSettings() > > > > You probably want to cache this either in a module or memcache so you > > > don't have to reread it all the time. > > > > Rgds > > > > Tim > > > > On Aug 6, 10:33 am, VKM wrote: > > >> Hi > > > >> Could you tell me then how to use my custom Yamlfilefor application > > >> settings? One simple way is to have a new pythonfilewith settings > > >> stored as dic or list etc and import it in main program. But that is > > >> not the good way. I want to give access of Yamlfileto my clients so > > >> that they can modify thefileand can update the content without > > >> worrying about Python code. > > > >> Regards, > > >> VKM > > > >> On Aug 4, 4:50 pm, djidjadji wrote: > > > >> > You must not put this yamlfilein a directory forstaticcontent. > > >> > You can't open thesestaticfiles with python/java code > > > >> > 2009/8/2 VKM : > > > >> > > Hi, > > > >> > > I am writing a yaml configurationfilefor my application. This config > > >> > >filewill contain fewstaticsettings (eg. drop down menu options). I > > >> > > may need to add or remove few options from the menu so in that case I > > >> > > will just need to change my yamlfileand upload the app and changes > > >> > > will reflect. > > > >> > > But when I read thefile, it gives error:filenot accessible. I saw > > >> > > the warning messages and it says: dev_appserver.py Blocking access to > > >> > >staticfile... > > > >> > > Can any body give me solution for this! How to read astaticfile, > > >> > > like a configfile. Do I need to do chances in my app.yamlfile? > > > >> > > Thanks > > > >> > > Regards, > > >> > > VKM --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Reading static files
Hi Barry, Thanks, I got it working now. Cheers, VKM On Aug 4, 1:14 am, Barry Hunter wrote: > You can't (other than a URLFetch to your own app (ouch!) ) > > Put the settingsfilein a folder not declared as 'static'. Any files > not marked as such are assumed to be application files, and are > accessible from python code. > > On 03/08/2009, VKM wrote: > > > > > Hi, > > > I want to read astaticfilestored instaticfolder. When I tried > > reading it, it says dev_appserver.pystaticfileaccess blocked. Could > > you tell me how can I readfilewhich stores some of the application > > settings? > > > Regards, > > VKM > > -- > Barry > > -www.nearby.org.uk-www.geograph.org.uk- --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Static file access for reading custom configuration file
Hi thanks for the reply. I want my users to change the settings in yaml file (like settings.yaml) as and when they require and click on a button to let us know that the user wants updates to be committed. Once that update signal comes to us, a shell script can update the application on GAE. Btw, I tried reading yaml file using open but I put that file in static folder and it showed blocked error. Tim can you tell me where this settings.yaml file should be stored? Should it be stored along with other python scripts i.e. at root level? Could you please give little more explaination. Regards, VKM On Aug 7, 12:36 am, djidjadji wrote: > the yamlfilemust be next to the python files and not marked asstaticin > app.yaml > > How do you want to let the client upload the yamlfile. If that is > with an html form then you must store thefilein the datastore > > 2009/8/6 Tim Hoffman : > > > > > You can define you own yamlfile. and then read it directly (by the > > way you can't from code, access > > app.yaml or index.yaml) > > > Do something like this > > > from yaml import load > > > def loadSettings(settings='settings.yaml'): > > > settings = load(open(settings,'r').read())) > > > return settings > > > mysettings = loadSettings() > > > You probably want to cache this either in a module or memcache so you > > don't have to reread it all the time. > > > Rgds > > > Tim > > > On Aug 6, 10:33 am, VKM wrote: > >> Hi > > >> Could you tell me then how to use my custom Yamlfilefor application > >> settings? One simple way is to have a new pythonfilewith settings > >> stored as dic or list etc and import it in main program. But that is > >> not the good way. I want to give access of Yamlfileto my clients so > >> that they can modify thefileand can update the content without > >> worrying about Python code. > > >> Regards, > >> VKM > > >> On Aug 4, 4:50 pm, djidjadji wrote: > > >> > You must not put this yamlfilein a directory forstaticcontent. > >> > You can't open thesestaticfiles with python/java code > > >> > 2009/8/2 VKM : > > >> > > Hi, > > >> > > I am writing a yaml configurationfilefor my application. This config > >> > >filewill contain fewstaticsettings (eg. drop down menu options). I > >> > > may need to add or remove few options from the menu so in that case I > >> > > will just need to change my yamlfileand upload the app and changes > >> > > will reflect. > > >> > > But when I read thefile, it gives error:filenot accessible. I saw > >> > > the warning messages and it says: dev_appserver.py Blocking access to > >> > >staticfile... > > >> > > Can any body give me solution for this! How to read astaticfile, > >> > > like a configfile. Do I need to do chances in my app.yamlfile? > > >> > > Thanks > > >> > > Regards, > >> > > VKM --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---