[google-appengine] Delete one of my db.models' ?
Hi, I have an old project in the app engine. I fully created that app from scratch with different models and different model names. I know want to fully delete my models from the app engine. How is that possible? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Detect Screensize or even Browsersize possible?
Is it possible to get access to the size of the computer monitor or even the size of the browser's window? 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Blob() argument should be str instance, not unicode ???
Hi, I want to store a small image in my appstore. It works well when I read in the images from python. Now I want to store them via a Post from my Java-Client. The Post and everything else works pretty well. Also getting the image from the request does work: image = self.request.get('image') It fails when I try to construct my Entity-Instance: pic = ImageEnt(data=db.Blob(image)) pic.put() The console tells me: TypeError: Blob() argument should be str instance, not unicode How do I have to read in my image in Java to ensure that it is a str instance and not unicode? Or is it send as unicode automatically? Do I have to convert it somehow in Python before constructing a Blob? 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Re: Blob() argument should be str instance, not unicode ???
How I got the image I wrote here: image = self.request.get('image') Also the length of my data changes. When I read in the image the byte[] has a lenght of 2089. In Python the image variable has this length len(unconverted): 1009 meaning that some form of encoding is going on. Anyway. How would you send and extract an image to app? On Sep 9, 11:44 am, "Mike Orr" <[EMAIL PROTECTED]> wrote: > On Tue, Sep 9, 2008 at 1:39 AM, jago <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I want to store a small image in my appstore. It works well when I > > read in the images from python. > > > Now I want to store them via a Post from my Java-Client. The Post and > > everything else works pretty well. Also getting the image from the > > request does work: > > > image = self.request.get('image') > > > It fails when I try to construct my Entity-Instance: > > > pic = ImageEnt(data=db.Blob(image)) > > pic.put() > > > The console tells me: > > > TypeError: Blob() argument should be str instance, not unicode > > > How do I have to read in my image in Java to ensure that it is a str > > instance and not unicode? Or is it send as unicode automatically? Do I > > have to convert it somehow in Python before constructing a Blob? > > A blob does have to be made from a str. How your image became > unicode, I don't know. By Java-client, you mean a program that's > calling a web service? It's hard to see how it would matter what kind > of client it is because the server has nothing but the HTTP headers > and body. Without knowing what exactly the request contained and how > you extracted the 'image' variable, I can't speculate further. It's > possible the Java program is setting a header differently or > formatting the variables differently that is somehow triggering > Unicode, but I can't think of how. > > -- > Mike Orr <[EMAIL PROTECTED]> --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Find out who made an app?
I want to contact a person who created an app at ###.appspot.com Sadly he didn't make a contact page with his email. I guess there is no way to find out his email address - is there at least a web front end to send him email messages without knowing his email address? thx, jg --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Proper CMS running on appengine!
There are a lot of Python/Java based CMS - all not compatible with appengine datastore. Last time I checked all efforts to create an appengine CMS were really in an early stage and hardly usable. Is there some recent development I was missing? --~--~-~--~~~---~--~~ 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] Terms of use..?
Let's say I want to build a website with a forum like structure. People can post message, attach images, etc. I wonder what happens if I decide to run this on appengine and then some users post messages or pictures that are offensive to some. Will Google give me a hard time..? Am I responsible for the content? We are not talking about illegal acts or content but user behavior within the bounds of the law - but Google might have stricter rules about content, etc. Will they close down my appengine? Also I wonder how Google proceeds? If they think something is inappropriate will they contact me first and ask to ban the user and remove the content or are they completely uninvolved? Can you please examples or scenarios where Google would itself close down an appengine..? 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: Terms of use..?
Sounds scary given that one basically enters a 'lock-in' with appengine and cannot simply switch to another provider as one could using just plain php+mysql. I run a forum and a gambling site on different providers and they never mingled if users posted 'cheeky' or copyrighted pictures, insulted each other or responded to complaints as some people are just offended by gambling. I really would like to get a full detailed list of Google appengine policy in case of events mentioned above. I mean on Youtube people publish content all the time that is offensive, copyrighted, etc. Obviously above a certain number of users it is completely unrealistic to monitor every user activity. Obviously content would be removed after sensible complaints. Any official statement? On Sep 5, 10:51 pm, "Brandon N. Wirtz" wrote: > Not a Google employee, but... I suspect like Google Adsense YOU are > responsible for your users. If something happens on A rare occasion, they > understand, but if you are a routine offender they will boot you. > > -Original Message- > From: google-appengine@googlegroups.com > > [mailto:google-appeng...@googlegroups.com] On Behalf Of jago > Sent: Saturday, September 05, 2009 10:31 AM > To: Google App Engine > Subject: [google-appengine] Terms of use..? > > Let's say I want to build a website with a forum like structure. > People can post message, attach images, etc. > > I wonder what happens if I decide to run this on appengine and then > some users post messages or pictures that are offensive to some. Will > Google give me a hard time..? Am I responsible for the content? > > We are not talking about illegal acts or content but user behavior > within the bounds of the law - but Google might have stricter rules > about content, etc. Will they close down my appengine? Also I wonder > how Google proceeds? > > If they think something is inappropriate will they contact me first > and ask to ban the user and remove the content or are they completely > uninvolved? > > Can you please examples or scenarios where Google would itself close > down an appengine..? > > 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] Memcache - Values may not be more than 1000000 bytes in length
How can I best prevent against the following error? Can I check the length of items before putting them in the memcache? File "/base/python_lib/versions/1/google/appengine/api/memcache/ __init__.py", line 635, in _set_with_policy stored_value, flags = _validate_encode_value(value, self._do_pickle) File "/base/python_lib/versions/1/google/appengine/api/memcache/ __init__.py", line 180, in _validate_encode_value 'received %d bytes' % (MAX_VALUE_SIZE, len(stored_value))) ValueError: Values may not be more than 100 bytes in length; received 1861357 bytes --~--~-~--~~~---~--~~ 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] Set "content-type" and "content-encoding" for files served statically???
I have a certain file in my appspot. Serving it is no problem. If this file is requested by a client I want to be able to serve this file with a specific "content-type" and "content-encoding". Is this possible? How? Some setting in my index.yaml file? Will it ever be possible? Cheers, jago --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Serve all *.html files statically?
I have a bunch of Html files with the filename *.html in the appspot base directory. I want them to be served the way they are. In my app.yaml I write: - url: /(.*\.html) static_files: /\1 upload: static/(.*\.html) This does not work. What am I doing wrong? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Serve all *.html files statically?
Thx for the answer. Sadly it is still not working. - url: /(.*\.html) static_files: /\1 upload: static/.*\.html I still get the error: ERROR2008-11-05 17:35:53,834 dev_appserver.py] Error encountered reading file "/credits.html": [Errno 2] No such file or directory: '/credits.html' This file however exists such as other *.html files which are not found. Any other idea? Thx...jago On Nov 5, 6:18 pm, "David Symonds" <[EMAIL PROTECTED]> wrote: > On Wed, Nov 5, 2008 at 9:16 AM, jago <[EMAIL PROTECTED]> wrote: > > > I have a bunch of Html files with the filename *.html in the appspot > > base directory. I want them to be served the way they are. > > > In my app.yaml I write: > > > - url: /(.*\.html) > > static_files: /\1 > > upload: static/(.*\.html) > > Ditch the parentheses in the "upload:" bit. > > Dave. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Dashboard lists URIs which shouldn't be served..?
Hi, I run an my little test appengine project. There I have a Html page hosted with an Applet embedded. However the actual Applet jar is hosted somewhere else. If the user's browser fetches that HTML page the Applet jar is loaded from an external place, so files inside the Applet-jar should not be listed on the Appengine Dashboard. Still they are listed. /myapp/AppletXYZ.class etc. How is that even possible? The Appengine should not know about the jar and even less about the files it contains. Any idea? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Purchased domain via Google Apps. How to host my appengine app on this domain?
I'd like to map my app to http://myurl.com (also known as a naked domain). I purchased a domain via Google Apps. As far as I can tell I only found the option to host my AppEngine app on a subdomain of the purchased domain! Please please please tell me I can also host it directly on the naked domain, i.e. something like http://myurl.com thx...jago --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Purchased domain via Google Apps. How to host my appengine app on this domain?
Why did I register this domain if I then can't host my app there? Has Google gone insane? I was possible for a long time! I cannot believe they did this :((( Any idea if it will ever be possible to host the app directly on a naked domain? On Nov 8, 2:02 am, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > Hi, > > This is currently not > possible:http://code.google.com/appengine/kb/commontasks.html#naked_domain > > -Marzia > > On Fri, Nov 7, 2008 at 4:59 PM, jago <[EMAIL PROTECTED]> wrote: > > > I'd like to map my app tohttp://myurl.com(also known as a naked > > domain). > > > I purchased a domain via Google Apps. As far as I can tell I only > > found the option to host my AppEngine app on a subdomain of the > > purchased domain! > > > Please please please tell me I can also host it directly on the naked > > domain, i.e. something likehttp://myurl.com > > > thx...jago --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Purchased domain via Google Apps. How to host my appengine app on this domain?
Actually I was talking about being able to host my AppEngine app directly on my with Google purchased domain www.example.com. So if a user types www.example.com in the browser he sees my AppEngine app and is not re-directed to a www.subdomain.example.com At least from my tests so far Google Apps does not allow me to host the AppEngine app directly on www.example.com but enforces me to define a subdomain. Am I wrong? On Nov 8, 2:58 am, yejun <[EMAIL PROTECTED]> wrote: > I guess part of the reason is dns does not support domain name cname. > Even google.com itself is just a redirect towww.google.com > > On Nov 7, 8:33 pm, jago <[EMAIL PROTECTED]> wrote: > > > Why did I register this domain if I then can't host my app there? Has > > Google gone insane? > > > I was possible for a long time! I cannot believe they did this :((( > > > Any idea if it will ever be possible to host the app directly on a > > naked domain? > > > On Nov 8, 2:02 am, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > This is currently not > > > possible:http://code.google.com/appengine/kb/commontasks.html#naked_domain > > > > -Marzia > > > > On Fri, Nov 7, 2008 at 4:59 PM, jago <[EMAIL PROTECTED]> wrote: > > > > > I'd like to map my app tohttp://myurl.com(alsoknownas a naked > > > > domain). > > > > > I purchased a domain via Google Apps. As far as I can tell I only > > > > found the option to host my AppEngine app on a subdomain of the > > > > purchased domain! > > > > > Please please please tell me I can also host it directly on the naked > > > > domain, i.e. something likehttp://myurl.com > > > > > thx...jago --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Purchased domain via Google Apps. How to host my appengine app on this domain?
okok...I know. Google calls them 'access URLs' but a common although wrong term is subdomain. let me rephrase my question: Is it possible if I purchased www.example.com from Google to directly make my AppEngine app accessible if people type in there URL field: www.example.com ? However they should not be re-directed to www.myapp.example.com but directly stay at www.example.com where the AppEngine app is. Is this possible? How? So far Google Apps only allows me to make my AppEngine app accessible at: www.myapp.example.com Thanks...jago On Nov 8, 3:06 am, Roberto Saccon <[EMAIL PROTECTED]> wrote: > I think you don't know what a subdomain is: > > www.example.comis a subdomain --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Purchased domain via Google Apps. How to host my appengine app on this domain?
On Nov 8, 3:29 am, "Rodrigo Moraes" <[EMAIL PROTECTED]> wrote: > On Sat, Nov 8, 2008 at 12:20 AM, jago wrote: > > let me rephrase my question: Is it possible if I purchasedwww.example.com > > from Google to directly make my AppEngine app accessible if people > > type in there URL field:www.example.com? However they should not be > > re-directed towww.myapp.example.combut directly stay atwww.example.com > > where the AppEngine app is. > > > Is this possible? How? > > set the domain you want to point in the "service settings" for the the > app, as described here: > > http://www.google.com/support/a/bin/answer.py?hl=en&answer=91080 Thanks but I know this like already and also the "service settings" page. It is impossible to directly make my AppEngine app accessible at: www.example.com I can only make it accessible at some longer access URL like: www.myapp.example.com Please proof me wrong, I would honestly appreciate it. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Purchased domain via Google Apps. How to host my appengine app on this domain?
Thx...I believe this works ;) Sorry Google for yellin. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Write out Atom Feed XML
Hi, I would like to write out the XML of an Atom feed. Is there a lib which is part of the standard AppEngine setup which could help me writing the XML? Or should I simple construct the xml string 'by hand' ? isa --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Write out Atom Feed XML
Can you post example code? On Nov 9, 1:28 am, Alexander Kojevnikov <[EMAIL PROTECTED]> wrote: > I do generate the feed 'by hand', it's pretty simple. > > Make sure your feed validates:http://validator.w3.org/feed/ > > On Nov 9, 12:59 am, jago <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I would like to write out the XML of an Atom feed. Is there a lib > > which is part of the standard AppEngine setup which could help me > > writing the XML? > > > Or should I simple construct the xml string 'by hand' ? > > > isa --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Un-Gzip String?
Hi, I want to send to my AppEngine a String which is Gzipped. This bag of bytes is then supposed to be stored as a blob and when retrieved unzipped by the AppEngine (Python). Is it possible to retrieve these blobs from the datastore and un-gzip these blobs into Strings inside the AppEngine? How do I do the un-gzipping? thx...jago --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Un-Gzip String?
Where can I find out more about Blob? gk.chart.data is a Blob which contains a GZIP compressed byte string. After decompression I convert it to unicode: url = unicode(gk.chart.data.decode('zlib'), "utf-8") Here is AppEngines response: File "C:\python25\lib\encodings\zlib_codec.py", line 43, in zlib_decode output = zlib.decompress(input) error: Error -3 while decompressing data: incorrect header check On Nov 9, 3:47 pm, Duncan <[EMAIL PROTECTED]> wrote: > On Nov 9, 1:50 pm, jago <[EMAIL PROTECTED]> wrote: > > > Is it possible to retrieve these blobs from the datastore and un-gzip > > these blobs into Strings inside the AppEngine? > > > How do I do the un-gzipping? > > decoded = blob.decode('zlib') > > That will give you a byte string so you'll probably want to further > decode it to unicode with whatever encoding was used when originally > creating the string. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] How to output html-source-code in my Website?
I want to directly show the html code example in a certain area of my website. Does it need to be unescaped for that? Does django help? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Un-Gzip String?
It seems 'zlib' only covers ZIP not GZIP ? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Write out Atom Feed XML
Thanks! On Nov 10, 1:51 am, Alexander Kojevnikov <[EMAIL PROTECTED]> wrote: > > Can you post example code? > > Sure. Below is an xml template that generates the blog feed. > updated_feed and updated_entry are custom filters that return the date > in the right format. > > {% load filters %}{% autoescape off %} encoding="utf-8"?> > http://www.w3.org/2005/Atom";> > Muspy - Blog > > > {{ url }} > {{ posts|updated_feed }} > Muspy > {{ root }}favicon.ico > {{ root }}static/logo.gif > {% for post in posts %} > > > > {{ root }}{{ post.slug }} > {{ post|updated_entry }} > > http://www.w3.org/1999/xhtml";> > {% autoescape on %}{% include post.template_name %}{% endautoescape %} > > > > {% endfor %} > {% endautoescape %} --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Getting host of application..?
I wonder how to get the 'host' of an application. As 'host' I mean http://localhost:8080 or http://www.example.com/ ? With self.request.url I have the current host + path. Is there a clean way to only get the host without splitting strings? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Getting host of application..?
No. I want the complete string: http://localhost:8080/ in my case os.environ['SERVER_NAME'] return only 'localhost', which does not work. On Nov 10, 10:32 pm, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > Hi, > > You can find it in the os.environ dictionary. os.environ['SERVER_NAME'] I > believe is what you are looking for. > > -Marzia > > On Mon, Nov 10, 2008 at 1:13 PM, jago <[EMAIL PROTECTED]> wrote: > > > I wonder how to get the 'host' of an application. > > > As 'host' I meanhttp://localhost:8080orhttp://www.example.com/? > > > With self.request.url I have the current host + path. Is there a clean > > way to only get the host without splitting strings? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Getting host of application..?
In Django you can do what? I didn't know you can call methods in Django. And what is request...it isn't the AppEngine's self.request, is it? On Nov 11, 12:19 am, Alexander Kojevnikov <[EMAIL PROTECTED]> wrote: > In Django you can do: > > root = request.build_absolute_uri('/') > > On Nov 11, 9:24 am, jago <[EMAIL PROTECTED]> wrote: > > > No. > > > I want the complete string: > > >http://localhost:8080/ > > > in my case os.environ['SERVER_NAME'] return only 'localhost', which > > does not work. > > > On Nov 10, 10:32 pm, Marzia Niccolai <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > You can find it in the os.environ dictionary. os.environ['SERVER_NAME'] I > > > believe is what you are looking for. > > > > -Marzia > > > > On Mon, Nov 10, 2008 at 1:13 PM, jago <[EMAIL PROTECTED]> wrote: > > > > > I wonder how to get the 'host' of an application. > > > > > As 'host' I meanhttp://localhost:8080orhttp://www.example.com/? > > > > > With self.request.url I have the current host + path. Is there a clean > > > > way to only get the host without splitting strings? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Getting host of application..?
Are there more Request attributes I don't know about? In Google AppEngine's docu is no self.request.host_url listed. Where can I find the complete docu? On Nov 11, 2:17 am, yejun <[EMAIL PROTECTED]> wrote: > self.request.host_url should return url without path. > > On Nov 10, 4:13 pm, jago <[EMAIL PROTECTED]> wrote: > > > I wonder how to get the 'host' of an application. > > > As 'host' I meanhttp://localhost:8080orhttp://www.example.com/? > > > With self.request.url I have the current host + path. Is there a clean > > way to only get the host without splitting strings? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Define
Can I define the apps_binding in such a way that all GETs to /debug /debug/faq /debug/compiler /debug/compiler/faq apps_binding.append(('/debug',Debug)) application = webapp.WSGIApplication(apps_binding, debug=True) are forwarded to the 'Debug' class ? I guess I could also hack around in app.yaml. Still I would like not to do this but rather set it up in the python file. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Hardly anything stored in appengine - already 10 MB gone?
Hello, I have hardly anything stored in appengine. Still the dashboard claims I have already 10 MB used. Can I get somehow more information about what is using the 10 MB? It cannot be the few things I have in the datastore or the website hosted on the appengine. Can I somehow free all the memory on the appengine? Cheers, jago --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Hardly anything stored in appengine - already 10 MB gone?
Thanks. At least I am not hallucinating. I didn't do anything and the next morning diskspace is gone ;) It would be neat if we at least had the faintest view of our files (like a html interface) - not the datastore, but the stuff we upload...html files, images, etc. On Nov 19, 1:06 pm, saranpol <[EMAIL PROTECTED]> wrote: > I found this problem too. > > On Nov 19, 9:37 am, jago <[EMAIL PROTECTED]> wrote: > > > Hello, > > > I have hardly anything stored in appengine. Still the dashboard claims > > I have already 10 MB used. Can I get somehow more information about > > what is using the 10 MB? > > > It cannot be the few things I have in the datastore or the website > > hosted on the appengine. Can I somehow free all the memory on the > > appengine? > > > Cheers, > > jago --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Compressed string extractable in appengine?
Hi, I want to create a compressed String in Java and send it to the appengine where it is decompressed. Can somebody help me to do this? So far I used GZIP for compression in Java. Extraction in appengine didn't work though. Using the ZIP format in Java resulted also in not more luck. Does somebody have example codes on both sides that is known to work? Thanks a lot! --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Storing references to other objects..?
Hi, Each GalleryObject can be a 'root' without any parent or it has a parent, which is another GalleryObject it is based on. This means each GalleryObject may have a history of parents, grandparents, etc. How should I store this history? Store only the immediate parent or a list of those parents? Which is more efficient when I want to get a list of parents from the datastore. I think only storing the immediate parent will result in problems, no? Also how do I store this list of parents? By reference or using their index? (Each GalleryObject has an index (0,1,2,3, ...) So storing a list of GalleryObjects means either storing (0, 12, 55, 3234, ...) or (ref1key, ref2key, ref3key, ...) Which way would you suggest? I guess storing by using their index makes the most sense, no? Otherwise if I delete a GalleryObject it might be referenced by key somewhere else (what happens if I do this? won't it be deleted since a reference still points to it?) thanks...jago --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Compressed string extractable in appengine?
Thanks...worked great. On Nov 20, 7:37 pm, "Daniel O'Brien (Google)" <[EMAIL PROTECTED]> wrote: > The following should work, if you haven't tried something along these > lines already. > > Java: > > String inputString = "Hello, world!"; > byte[] input = inputString.getBytes("UTF-8"); > > byte[] output = new byte[100]; > Deflater compresser = new Deflater(); > compresser.setInput(input); > compresser.finish(); > compresser.deflate(output); > > FileOutputStream out = null; > try { > out = new FileOutputStream("some_temp_file"); > out.write(output); > } finally { > out.close(); > } > > Python: > > import zlib > zlib.decompress(data) > print data > > Let me know if you run into any trouble, > > Daniel > > On Nov 19, 4:30 pm, jago <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I want to create a compressed String in Java and send it to the > > appengine where it is decompressed. Can somebody help me to do this? > > > So far I used GZIP for compression in Java. Extraction in appengine > > didn't work though. > > > Using the ZIP format in Java resulted also in not more luck. Does > > somebody have example codes on both sides that is known to work? > > > Thanks a lot! --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Return file with app.yaml, fetch() or redirect?
I have a jar-file at another host XYZ. From this host the file is returned with a special content- and mime-type in its header. I want the appengine to make the file available at /remote/test.jar If a user then calls http://myapp.appspot.com/remote.test.jar I want the jar to be returned identically as if it were coming from my host XYZ. Identical in every way, including the headers! Can I do this somehow? How? What would you suggest to use: app.yaml, fetch(), redirect, or something else? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Return file with app.yaml, fetch() or redirect?
Unlunkily this is no option, let me explain why. I want to host my jar file on a different domain/host/webspace because it has: 1. FTP access for its webspace 2. No file size limitation of 1MB 3. most importantly I can set there the mime-type and other things in the header This I cannot do in AppEngine since one cannot set certain attributes in the header, Content-Encoding, Transfer-Encoding, etc.: http://code.google.com/appengine/docs/webapp/responseclass.html#Disallowed_HTTP_Response_Headers It is absolutely vital for my service that I can set these header attributes. If I make an urlfetch in appengine I get the right header from my other host, but can I return this header in my response? I guess not. The best solution would be, that http://my.appspot.com/data/test.jar would be actually pointing to http://myotherhost/data/test.jar. So the test.jar is actually coming from http://myotherhost having the right header, no filesize limitation, etc. If AppEngine would allow me to set the headers I wouldn't need to do this. Cheers, Dieter On Nov 22, 2:12 am, Jeff S <[EMAIL PROTECTED]> wrote: > Hi jago, > > If I understand correctly, it sounds like you are trying to mirror the > jar file and serve it from your app. I think the easiest way to do > this is to upload the jar file, save it as a blob in the datstore, > then create a request handler which will set the response headers to > the desired values and write out the binary file contents from the > blob. > > You might find some helpful hints on creating a blob from an uploaded > file > here:http://code.google.com/appengine/docs/images/usingimages.html#Uploading > and information on setting response headers > here:http://code.google.com/appengine/docs/webapp/redirects.html > > You could also make a urlfetch call to get the jar file from XYZ to > store it in the datastore. > > Does this sound like it fits what you are trying to do? > > Thank you, > > Jeff > > On Nov 20, 8:07 pm, jago <[EMAIL PROTECTED]> wrote: > > > I have a jar-file at another host XYZ. From this host the file is > > returned with a special content- and mime-type in its header. > > > I want the appengine to make the file available at /remote/test.jar > > > If a user then callshttp://myapp.appspot.com/remote.test.jarIwant > > the jar to be returned identically as if it were coming from my host > > XYZ. > > > Identical in every way, including the headers! > > > Can I do this somehow? How? > > > What would you suggest to use: app.yaml, fetch(), redirect, or > > something else? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Is setting Content-Encoding possible?
Hi, I can set Mime-Type in app.yaml. I know the response object also allows Content-Type, but no Content-Encoding which is vital for my kind of application. Is there no possibility to set this? Perhaps wiping headers clean and directly use self.response.out.write(...) to write something that is recognized by clients as a header? Will Google ever support setting content-encoding? For me this ia a show-stopper with Google appengine. Cheers, jago --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] ANT task to start/stop/deploy appengine?
Hi, Does somebody have an ANT script that starts/stops the appengine locally and deploy the appengine remotely? I have the run/deploy part working but don't know how to stop the thing :( --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Is there hope that content-encoding will ever be allowed?
I would like to host an applet on appengine. Still either I compress the jars with pack200 which brings the size of each jar well below 1MB but then I have no content-encoding. Or, I don't compess the jars and hit the 1MB filesize limitation. AppEngine really has become frustrating. There are just too many limitations. Will this ever change? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Is there hope that content-encoding will ever be allowed?
Well partially. Obviously I would prefer compressing the file by a factor 10 and then send less data, without setting the right content- encoding this is impossible though. Bigger files would at least not totally invalidate appengine for my use. Still it is no replacement for the content-encoding feature. On Dec 9, 9:59 am, Thomas Johansson <[EMAIL PROTECTED]> wrote: > Hi jago, > > As per the roadmap (http://code.google.com/appengine/docs/ > roadmap.html); "Service for storing and serving large files" will be > coming in the October '08 - March '09 timeline. That should solve your > problem, if I'm not mistaken? > > Personally, I hope that applies to regular old static content and code > as well, ideally including lifting the 1.000 file limit, but probably > not. > > On Dec 9, 8:43 am, jago <[EMAIL PROTECTED]> wrote: > > > I would like to host an applet on appengine. Still either I compress > > the jars with pack200 which brings the size of each jar well below 1MB > > but then I have no content-encoding. Or, I don't compess the jars and > > hit the 1MB filesize limitation. > > > AppEngine really has become frustrating. There are just too many > > limitations. Will this ever change? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Is there hope that content-encoding will ever be allowed?
No you can't. You cannot set the content-encoding in the header in appengine. Even if you write your own code. Opening sockets is not allowed just to remind you. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Is there hope that content-encoding will ever be allowed?
> GAE front end server always gzip files whenever possible. You probably don't know how applets work. You can compress the Applet- jar file extremely by using pack200+gzip. For that you need the client (the Java plugin in your browser) know what you did (send content- encoding for pack200-gzip). Obviously I have other webspace from where I could serve the jars with whatever content-encoding I want. The problem is sandboxed Applets only allow loading files from the 'path' (Domain) their jar-file was loaded from. So if I want to read data from the appengine I have to load it from the appengine :) > In the meanwhile, you can always send static big files by other > services such as amazon S3 or simplecdn. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Is there hope that content-encoding will ever be allowed?
Yes I know yejun. But I have to respect that a lot of people still run Java 5 (OSX) and Java6 without crossdomain support. Only a few updated to Java6u10. On Dec 9, 7:10 pm, yejun <[EMAIL PROTECTED]> wrote: > Unsinged java applet support crossdomain.xml since this May. > > On Dec 9, 1:05 pm, jago <[EMAIL PROTECTED]> wrote: > > > > GAE front end server always gzip files whenever possible. > > > You probably don't know how applets work. You can compress the Applet- > > jar file extremely by using pack200+gzip. For that you need the client > > (the Java plugin in your browser) know what you did (send content- > > encoding for pack200-gzip). > > > Obviously I have other webspace from where I could serve the jars with > > whatever content-encoding I want. The problem is sandboxed Applets > > only allow loading files from the 'path' (Domain) their jar-file was > > loaded from. So if I want to read data from the appengine I have to > > load it from the appengine :) > > > > In the meanwhile, you can always send static big files by other > > > services such as amazon S3 or simplecdn. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Is there hope that content-encoding will ever be allowed?
Naj. You cannot set the content-encoding in AppEngine. At least not in the online version. I believe in your local devserver version it works. On Dec 9, 8:05 pm, Thomas Johansson <[EMAIL PROTECTED]> wrote: > On Dec 9, 6:32 pm, jago <[EMAIL PROTECTED]> wrote: > > > No you can't. You cannot set the content-encoding in the header in > > appengine. Even if you write your own code. Opening sockets is not > > allowed just to remind you. > > I'm not exactly sure what you are talking about here. You are serving > the jars for the applet using HTTP, correct? AppEngine does not in > *any* way restrict what output you send, other than the size. Content- > Encoding is just another header, and you certainly don't need sockets > for that. Simply write a python handler that sets the content > encoding, opens the file and writes it to the stream (stdout). > > If you need to serve something that isn't HTTP, you're barking up the > wrong tree. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[google-appengine] Re: Is there hope that content-encoding will ever be allowed?
No problem. I also took it for granted that this works - at first at least. On Dec 9, 9:07 pm, Thomas Johansson <[EMAIL PROTECTED]> wrote: > Huh. Never seen this before, I do apologise for the confusion. > > That really should be documented clearly somewhere that isn't specific > to one of their libraries, as that seems to be a core limitation. > > Again, sorry for the confusion. > > On Dec 9, 8:44 pm, "Barry Hunter" <[EMAIL PROTECTED]> wrote: > > > 2008/12/9 Thomas Johansson <[EMAIL PROTECTED]>: > > > > On Dec 9, 6:32 pm, jago <[EMAIL PROTECTED]> wrote: > > >> No you can't. You cannot set the content-encoding in the header in > > >> appengine. Even if you write your own code. Opening sockets is not > > >> allowed just to remind you. > > > > I'm not exactly sure what you are talking about here. You are serving > > > the jars for the applet using HTTP, correct? AppEngine does not in > > > *any* way restrict what output you send, other than the size. > > > Umm, the documentation tends to contradict that! > > >http://code.google.com/appengine/docs/webapp/responseclass.html#Disal... > > > > Content- > > > Encoding is just another header, and you certainly don't need sockets > > > for that. Simply write a python handler that sets the content > > > encoding, opens the file and writes it to the stream (stdout). > > > > If you need to serve something that isn't HTTP, you're barking up the > > > wrong tree. > > > -- > > 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~--~~~~--~~--~--~---
[google-appengine] Send Data from Java to Appengine (Python)
Hi, I would like to send data (lists or maps) from Java to my appengine, where python should take the encoded text and transform it back to data-structures like lists and maps. What should I use? JSon or Yaml? Does Python already support one of them? Does Java? I read: Both functionally and syntactically, JSON is effectively a subset of YAML. Specifically, as of YAML version 1.2, "every JSON file is also a valid YAML file". Whould this suggest to use a YAML library, since it covers both YAML and JSON? Which libraries should I use, both for Java and Python? How do I include that library in Python/appengine? Cheers, jago --~--~-~--~~~---~--~~ 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] Can Appengine provide Browser information..?
Hi, Can I write some Python code that creates an HTML which prints if the client is running Firefox or IE ? --~--~-~--~~~---~--~~ 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] Read file as String..?
Hi, There is a html-file whose content I want to use inside the app engine. Whats the python code to get this file as a string? --~--~-~--~~~---~--~~ 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: Read file as String..?
Why should I make sure it is not an HTML file. It actually may be one in some cases. Is this bad? On Mar 16, 1:34 am, djidjadji wrote: > Make sure it's not a static HTML file > > file = open('blabla.html') > content = file.read() > file.close() > > 2009/3/16 jago : > > > > > Hi, > > > There is a html-file whose content I want to use inside the app > > engine. Whats the python code to get this file as a string? --~--~-~--~~~---~--~~ 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] Is there a way to get the Clients screen size with Appengine?
I see in Google Analytics they have info about screen size, Flash and Java support, etc. How do they get this? Can I get the same in Appengine? --~--~-~--~~~---~--~~ 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: Is there a way to get the Clients screen size with Appengine?
I am a total Javascript agnostic. I guess you do not have some example Python/Javascript code? --~--~-~--~~~---~--~~ 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: Is there a way to get the Clients screen size with Appengine?
Excuse my ignorance...but how do I get the values for width and height into Python/Appengine? On Mar 18, 5:46 am, iceanfire wrote: > var myWidth = 0, myHeight = 0; > if( typeof( window.innerWidth ) == 'number' ) { > //Non-IE > myWidth = window.innerWidth; > myHeight = window.innerHeight; > } else if( document.documentElement && > ( document.documentElement.clientWidth || > document.documentElement.clientHeight ) ) { > //IE 6+ in 'standards compliant mode' > myWidth = document.documentElement.clientWidth; > myHeight = document.documentElement.clientHeight; > } else if( document.body && ( document.body.clientWidth || > document.body.clientHeight ) ) { > //IE 4 compatible > myWidth = document.body.clientWidth; > myHeight = document.body.clientHeight; > } > > On Mar 17, 6:53 pm, jago wrote: > > > I am a total Javascript agnostic. I guess you do not have some example > > Python/Javascript code? --~--~-~--~~~---~--~~ 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: Is there a way to get the Clients screen size with Appengine?
I did find something, but most was very old, as old as 2001. My problem is not to find something but not being sure if it works in 99% of the browsers. That's why I prefer the advice of somebody who dealt with that sort of thing for years. On Mar 18, 1:57 am, Andrew Badera wrote: > www.google.combuddy. > > this is old school easy stuff. don't be lazy. > > On Tue, Mar 17, 2009 at 8:53 PM, jago wrote: > > > I am a total Javascript agnostic. I guess you do not have some example > > Python/Javascript code? --~--~-~--~~~---~--~~ 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] Filesize limit?
Hi, I read in the Docs that the application filesize limit is 10MB. Still I am unable to upload anything bigger then 1MB. Is it because I still use a slightly older version of GAE (1.1.2) ? --~--~-~--~~~---~--~~ 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.yaml - how to serve ALL files as they are..?
Hi, How do I set up the app.yaml that it uploads and serves basically all files as they are? jg --~--~-~--~~~---~--~~ 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] Regex to serve certain filetype in subfolder?
Hi, I have many jar files in subfolders of appfolder/folder What do I have to write in the app.yaml to serve those files statically? --~--~-~--~~~---~--~~ 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] Overcoming file size limit by hosting on other domain?
I have a Google apps domain1 where I host my appengine app. Then I have a domain2. I have a very big file on this domain2. I want to make it available on domain1. www.domain2.com/file.big should be available at www.domain1.com/file.big. So when I type www.domain1.com/file.big in my browsers addressbar I want the browser to think the file comes from www.domain1.com/file.big. Still, the mime-type, content encoding, etc. should come, same as the file from www.domain2.com/file.big. Is there any way for me to set it up this way? --~--~-~--~~~---~--~~ 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] Deploy to GAE remotely via Eclipse ANT?
Hi, I wrote a target to deply to GAE (remotely). Unluckily it wants a password the first time I do this and the Eclipse console does not allow me to enter it. I can open cmd.exe and do the first deploy by hand and enter the password. Once the password is there I can deploy with Eclipse ANT since it doesn't need a password anymore - until the next restart that is. Still I would like to deploy solely with Eclipse and not have the ball and chain of opening a console. Also I often forget to do that and deploy directly with Eclipse. Since I cannot enter a password it is stuck. I can end the ANT process but the python process is still running - forcing me to kill it by hand. Any solution you could think of? 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 -~--~~~~--~~--~--~---