[google-appengine] Why is my Google App Engine application throwing AccessControlExceptions?

2015-03-10 Thread Holger Weissböck
Hello everyone, I am in panic mode today and would very much appreciate your precious help: Since three hours now our Java-based Google App Engine application is throwing AccessControlExceptions when it tries to load a FreeMarker template. The code of this application did not change for 11 da

[google-appengine] Access AdSense Management API reports from App Engine Java Application

2013-08-07 Thread Holger Kraus
see on that part seem to require some user interaction, which won't work for my use case where an App Engine app simply wants to retrieve some metrics... Any help would be much appreciated :) Thanks, Holger -- You received this message because you are subscribed to the Google Groups "G

[google-appengine] Re: google-app-engine-django

2009-08-16 Thread Holger
Appengine has got two modes of operation. High traffic applications are served directly out of the cache within a second for example. For low traffic applications first the uploded code has to be prepared (unzipped for example) and put into the cache before it can be served. Thus low traffic ap

[google-appengine] Re: google-app-engine-django

2009-08-13 Thread Holger
http://code.google.com/p/app-engine-patch/wiki/MediaGenerator Holger --~--~-~--~~~---~--~~ 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@google

[google-appengine] Re: google-app-engine-django

2009-08-13 Thread Holger
> it also allows you to use many other features of > django such as application structure, development utilities > (manage.py), django's memcached based caching and a whole bunch of > other good stuff. Such features are available live even for Django 1.1 http://aep-sample.appspot.com/ After codi

[google-appengine] Re: SEO and Google App Engine

2009-08-11 Thread Holger
> But it's still the sexiest hosting platform on the net - Sure the sexiest. That's why we're here and try to convince Google to add what lacks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine"

[google-appengine] Re: SEO and Google App Engine

2009-08-10 Thread Holger
This flow chart page may be a nice example: http://infosthetics.com/archives/2008/11/life_flow_chart_community_authored_flowcharts.html On the other hand it seems clear that Appengine still needs time and massive investment by Google if Appengine shall become a kind of blockbuster application ear

[google-appengine] Re: Trouble using lists in the datastore

2009-08-10 Thread Holger
I think, 'deltentries' is just the query and doesn't include the fetching process. Add a line like: delEntities = deltentries.fetch(1000) as explained here: http://code.google.com/appengine/docs/python/datastore/creatinggettinganddeletingdata.html#Deleting_an_Entity --~--~-~--~~

[google-appengine] Re: Problem adding App Engine to Google Apps domain

2009-08-10 Thread Holger
Did you check if the name in the first line of the app.yaml file is identical with your registred AppEngineName (the pure name only and nothing else)? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engi

[google-appengine] Re: why there are Datastore API and Memcache usage for a blank django site?

2009-08-07 Thread Holger
additional note: If you calculate resources you have to differ between 'one-time-use' and 'huge-traffic-use'. At first request Google makes your code available in cache. The resources needed for this transfer (unpacking of zip etc) are needed only a single time as long as there are other request

[google-appengine] Re: Only 10 records can fetch via remote_api ?

2009-08-06 Thread Holger
They are fetched in packets of up to ten. If you want to download all entities of a kind use the following code: http://code.google.com/appengine/docs/python/tools/uploadingdata.html#Creating_Exporter_Classes If you do remote individually and need more than ten entities downloaded to your machin

[google-appengine] Re: Impossible to create the Gmail account with the same name as your App Engine application

2009-08-06 Thread Holger
Makes sense, but just wouldn't mean that you can send 'owner' email from such a retrieved account. The letter would mean additionally appengine internal administration needs to be changed to work with more than one 'owner mail'. There are much more important issues in the roadmap. So I fear it w

[google-appengine] Re: why there are Datastore API and Memcache usage for a blank django site?

2009-08-06 Thread Holger
I fear you have to do a decision either the comfortable Django framework or zero quota. After deletion of registration, admin and so on there may remain the automatic session management, the automatic handling of zip packages (Django alone are several hundred files) and more. As already describe

[google-appengine] Re: User Identity

2009-08-06 Thread Holger
When testing my own apps different browsers did work, as my app works with cookies, which are shared between different windows of the same browser on the single machine but not shared between different browsers. But maybe we have got a different concept. I see my app as main app outside of the Go

[google-appengine] Re: User Identity

2009-08-06 Thread Holger
> > > But it does seem that it would be hard to have different logins in > > > different browser windows, which I would like for testing. I guess you could test simultanous different logins to the same app by using not different windows of the same browser but by using different browses (FF, IE,

[google-appengine] Re: application scaling?

2009-08-05 Thread Holger
Search for videos on this topic. Usually they manage to keep reaction time below 3-10 seconds at the upmost. Another problem of beeing 'slashdotted' might be that your application goes out of service because your preestimated quota is exceeded within hours. --~--~-~--~~~

[google-appengine] Re: Static file access for reading custom configuration file

2009-08-05 Thread Holger
> I want to give access of Yaml file to my clients To my knowledge that's impossible and that wouldn't be a good idea as the app.yaml file can contain security settings you don't want your clients able to change, for example: - url: /remote_api script: $PYTHON_LIB/google/appengine/ext/remote_ap

[google-appengine] Re: database backup

2009-08-05 Thread Holger
Until now not. It's in the roadmap but only as topic seven: http://code.google.com/appengine/docs/roadmap.html Till this future day you have to help yourself with the slow remote data up/download explained here: http://code.google.com/appengine/docs/python/tools/uploadingdata.html - if you are

[google-appengine] Re: User Identity

2009-08-05 Thread Holger
, individual user name) and session management out of the box. It's live. you can test it: http://aep-sample.appspot.com/ Holger --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group.

[google-appengine] Re: User Identity

2009-08-05 Thread Holger
You are not wasting time - it's an important clarification. To my knowledge the logical steps are: 1. User want's to log into your application 2. You pass him to Google 3. He logs in with his Google account 4. Google returns a token with is stored as cookie 5. As long as this token exists the us

[google-appengine] Re: User Identity

2009-08-05 Thread Holger
> Are you suggesting that I need to do something in my App for each > request to ensure the current user returned is valid? yea > My debug code is > UserService us = UserServiceFactory.getUserService(); That's Java - I do Python. - So Nick Johnson surely can explain better what's

[google-appengine] Re: User Identity

2009-08-05 Thread Holger
You really need to give more details. > this cannot be explained by a cookie problem. ?? How can you know? What's the url where I can test? Who wrote that code? How does the code look like? --~--~-~--~~~---~--~~ You received this message because yo

[google-appengine] Re: User Identity

2009-08-05 Thread Holger
If logout wouldn't work, that would be really important - sure. But it needn't to be appengine creating this result, it can be your own code too. Session management is usually done with a token stored in cookie. Logout just means deleting this cookie. Perhaps you forgot to trigger cookie deleti

[google-appengine] Re: dictionary displays problem

2009-08-04 Thread Holger
Your HTML template for loop expects a list. But you try to pass a dictionary. You mustn't mix up the Python terms 'list' / 'tuple' and 'dictionary' - see: http://www.sthurlow.com/python/lesson06/ List values are defined within sqare brackets. If they are immutable (unchangable) they are called '

[google-appengine] Re: Problems uploading to Datastore

2009-08-04 Thread Holger
To my knowledge > each time you use the bulk upload. code updating (before bulk upload) is needed only after changing the app.yaml file. Once the changed app.yaml file is uploaded, I can do multiple bulk data uploads without any more code updating. --~--~-~--~~~---~

[google-appengine] Re: serving a binary file to Internet Explorer

2009-08-04 Thread Holger
I remember having read of a similar problem here: http://developer.symbian.com/forum/message.jspa?messageID=48 Don't know if this is helpful. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group.

[google-appengine] Re: indexes exceeding quota

2009-08-04 Thread Holger
Above in the search box do a search for 'exploding index' --~--~-~--~~~---~--~~ 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 unsubscri

[google-appengine] Re: dictionary displays problem

2009-08-04 Thread Holger
And if you don't succeed you should report and describe the exact step (before and after) where you are blocked. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send

[google-appengine] Re: dictionary displays problem

2009-08-04 Thread Holger
Changing this starter version step by step towards your needs you should succeed to get your own code working. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send ema

[google-appengine] Re: dictionary displays problem

2009-08-04 Thread Holger
Perhaps you should start from scratch. First get the starter examples working. Especially this one using 'template_values' in Python code and the 'greetings'-list within the template: http://code.google.com/appengine/docs/python/gettingstarted/templates.html --~--~-~--~~

[google-appengine] Re: Interact with external server for static "private" files

2009-08-03 Thread Holger
To keep browsers from viewing it all you should include the transmitted video ID into the string (=secret+ID+datetime) which is MD5 hashed. > secure enough to keep casual browsers from viewing it all. Thus an extracted url would be good for an hour of redownload of the same video but not of anoth

[google-appengine] Re: Interact with external server for static "private" files

2009-08-02 Thread Holger
It may seem, but it's not trivial at all. > This seems like a pretty trivial thing to do The difficulty depends on how 'safe' the solution should be. I think the logical sequence could be: 1. User asks your appspot for video 2. User is redireced to your video source with an URL get attachment

[google-appengine] Re: UnicodeEncodeError when using bulkupload to download from datastore

2009-08-01 Thread Holger
What's the name of your 'TextProperty' field? > I tracked this error down to a 'TextProperty' Field in the datastore. If this name should contain strange letters (ÄÜÖ etc) try changing the name. --- Re Datastore upload: That's an important question - would be interested in an answer too. --~--~-

[google-appengine] Re: Large static files enable a quota exhaustion attack

2009-08-01 Thread Holger
Instead of offering your file as static file (whose download you can't control) you could offer your file via url request from datastore and make registration and login obligatory or block any third request from the same IP. Then a single attacker has got no chance, only a bot net would be effect

[google-appengine] Re: PyCrypto

2009-08-01 Thread Holger
Really don't know. If it is part, you are able to import it (import is needed anyway), If not, you first have to install their code and than import it into your script. And anyway it's a python item not an appengine one. (You remember, before installing appengine you had to install python 25 an

[google-appengine] Re: PyCrypto

2009-08-01 Thread Holger
Depends. Depends on the module you want to use. Could be For example: from Crypto.Hash import MD5 Or: from Crypto.Cipher import DES See: http://www.dlitz.net/software/pycrypto/ That's what I learnd by google 'python crypto'. The rest is try&error. --~--~-~--~~~--

[google-appengine] Re: Intermittent delete failures

2009-07-31 Thread Holger
You tested deleting them one by one out of transaction. Did you test a version without ancestor relations set too? (Just these relations may be the reason, as change is blocked within an ancestor group as long as another change is not finished.) If such tests don't help, maybe it's an appengine i

[google-appengine] Re: Intermittent delete failures

2009-07-31 Thread Holger
Maybe you are lucky and someone takes the time to work through your code. If not you should be able to solve your problem by changing your code step by step. Go back to a version (or create a simple one) where deleting works corretly. Then change it into the direction of your faulty code and tes

[google-appengine] Re: brand new app. 500 error, nothing in the error logs.

2009-07-31 Thread Holger
Hi Shawn, Try changing your app.yaml to handlers: - url: /.* script: flgs_database.py it's Python and Python sripts have got the ending 'py'. Bye, Holger --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[google-appengine] Re: Deleting an app

2009-07-31 Thread Holger
If you mean, kill that Appengine-ID-Name to select another within your 10 packet contingent, I think the answer is no, you can't. If you mean, delete the old content, it's easy. The uploaded content is always a mirror of your upload folder. Just empty your upload folder with the exeption of the

[google-appengine] Re: Are there any data recovery mechanisms for google app engine database?

2009-07-30 Thread Holger
You may be interested in this thread http://groups.google.de/group/google-appengine/browse_thread/thread/ed98202989904519?hl=en# Could just use the zipme script to implement some download capability in case your own source got lost. http://www.manatlan.com/blog/zipme___download_sources_of_your_ga

[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-30 Thread Holger
It is possible. > Is it possible to create a static file dir that has login:admin in app.yaml? Supposed you have got a first level folder 'mystat' containing the 'list.txt' file, add the following to your app.yaml file: - url: /mystat static_dir: mystat login: admin After upload (appcfg.py

[google-appengine] Re: When will appcfg.py be able to download/check out?

2009-07-30 Thread Holger
_file It's a great tool. How often did I forget which part of my code is just uploaded. With the script now I simply add 'zipme' to the URL + log in with my admin email and get a quick answer. Bye, Holger ___ * Static files aren't downloaded with the above version. But hopefully

[google-appengine] Re: Datastore Design

2009-07-30 Thread Holger
re to save data 'clustered' around something you call parent. Regards, Holger --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to g

[google-appengine] Re: Upload data

2009-07-25 Thread Holger
NPATH or if you will open your eyes for reality and begin to think about how to improve your service and yourself. King regards, Holger --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" gr

[google-appengine] Re: Upload data

2009-07-25 Thread Holger
By the way that funny tool of djidjadji http://lmgtfy.com/?q=PYTHONPATH is a sample how you could integrate necessary hints without blowing your explanations to books. Instead of demonstrating how Google works (giving your customers the felling that they must be total idiots) you could demonstr

[google-appengine] Re: Upload data

2009-07-25 Thread Holger
ok forward prouldy and say we'll be better and better and love our customers. Then you'll be part of the success. Holger --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To pos

[google-appengine] Re: Upload data

2009-07-25 Thread Holger
your developers created. See my posting http://groups.google.de/group/google-appengine/browse_thread/thread/2969e1134d5444d1?hl=en Kind regards, Holger --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google A

[google-appengine] Re: Upload data

2009-07-25 Thread Holger
d to ask 28.627 questions (postings in this group) to get it working. And if Google staff lacks creativity how to improve their explanation they could at least attach sample code to make up for the black holes in their explanations. Kind regards, Holger --~--~-~--~~~---~-

[google-appengine] Re: Upload data

2009-07-25 Thread Holger
n great danger to be overcome soon by somebody more clever then Google. Kind regards, Holger Dear djidjadji, you do a great expert work, but sometimes experts got blind, loosing their feeling for the real world. This happened IBM when inventing the two letters p and c and beeing overcome my

[google-appengine] Re: Upload data

2009-07-24 Thread Holger
Finally got data_upload working. This Google explanation http://code.google.com/appengine/docs/python/tools/uploadingdata.html may be a great memo for people who know already how to upload - for people who are interested to learn it's a disaster. Nothing is explained from the newcomer's point of

[google-appengine] Re: Bill Katz article 'Remote API HelloWorld'

2009-07-24 Thread Holger
- update2 - problem solved With the help of Wooble in #appengine Chat on Freenote the problem was solved. After writing the local upload-file you first have to upload the project-code in the usual way (with appcfg.py update project-folder). Only after this code-upload th

[google-appengine] Re: Bill Katz article 'Remote API HelloWorld'

2009-07-24 Thread Holger
update: _ The issue described above is solved. It seems that the yaml module path needs to be explicitely stated. I created the variable PYTHONPATH (System Properties (=Start rightclick MyComputer Properties), Tab Advanced, button Environment Variables, lower box button New,

[google-appengine] Bill Katz article 'Remote API HelloWorld'

2009-07-24 Thread Holger
I tried to follow the Bill Katz article 'Remote API "Hello World"' http://www.billkatz.com/2009/2/Remote-API-Hello-World I've set up app.yaml, myprog.py subfolder: models in /models/: __init__.py, mystuff.py with Class Foo Typing in 'python myprog.py' at the Windows CMD resulted into ImportError

[google-appengine] Upload data

2009-07-24 Thread Holger
I cant get 'Uploading Data' going. Got the impression the Google description http://code.google.com/appengine/docs/python/tools/uploadingdata.html contains only part of the necessary code. Is there a downloadable and working demo or any other further advice on uploading data with remote_api and