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
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
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
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
> 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
> 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"
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
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
--~--~-~--~~
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
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
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
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
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
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
> > > 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,
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.
--~--~-~--~~~
> 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
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
, 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.
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
> 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
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
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
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 '
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.
--~--~-~--~~~---~
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.
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
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
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
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
--~--~-~--~~
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
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
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.
--~--~-
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
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
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.
--~--~-~--~~~--
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
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
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
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
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
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
_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
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
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
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
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
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
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
--~--~-~--~~~---~-
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
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
- 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
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,
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
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
55 matches
Mail list logo