I have created a page (login required) and test locally.
After the login page, it gives me HTTP 500 error.
and I get in my console:
IOError: [Errno 9] Bad file descriptor
And then if I refrest the page, there is no error and I can see the
page.
In app.yaml:
- url: /.*
script: home.py
login: r
Not sure why this happens, instead you can use the @login_required
annotation.
Remove the "login: required" from app.yaml and use this code in
home.py:
from google.appengine.ext.webapp.util import login_required
...
class MainPage(webapp,RequestHandler):
@login_required
def get(self):
>From the source code :
verbose_name: User friendly name of property
I never use this parameter, but maybe we can reference Model's
property with different (friendlier) name.
On Aug 28, 1:16 pm, djidjadji <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I don't specify a class to reference because it ma
Hi Jason,
Jason K wrote:
> Any idea how to fix this? It's not the end of the world, but I do like
> the convenience of using the launcher, and also find it useful to drop
> into the manage.py shell. Doesn't help much if they use different
> datastore's..
The Django helper does this to allow you
i create an application in google app engine
(asterixmobiles.appspot.com) ,here i need to add an admin controll in
my app ,could any one help me for creating this admin controll
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Today my app jumps from 0.5 to 5MB without new entities.
But i've added a lot of debug info in the log.
I'd like to know if the logs are counted in the storage quota ?
and how long the logs are keeped before beeing deleted.
Thank you
Regards.
--~--~-~--~~~---~--~-
Hi,
I am looking for a way to implement Programmatic Login from my app to
be able to retrieve private albums from Picasa. As they are private,
the app would have to sign in. GData offers the ProgrammaticLogin()
method which expects the password to be in clear text.
The application would then ask
OK, I found it. For each property, GAE (at least the SDK version of
it) creates an underscored attribute to keep the value of the
property. For example, if you have:
my_prop = StringProperty()
GAE will create an attribute called "_my_prop".
In case of the property called "entity", created a
I guess you are asking how to add admins to your application? You can
add them from the control panel, go to the Administration / Developers
page.
On Aug 28, 7:27 pm, amshuhu <[EMAIL PROTECTED]> wrote:
> i create an application in google app engine
> (asterixmobiles.appspot.com) ,here i need to a
i create an application (jai-sample) ,this is not usefull for me can i
able to delete this application ,i tried to delete the app but it
flash as"Cannot delete default version. " please tell me how can
delete this application
and i am holding another app named as jai20 here i didn't deploy any
a
According to this link, there is no way to do that yet:
http://code.google.com/appengine/docs/gettingstarted/uploading.html
On Aug 28, 11:48 am, amshuhu <[EMAIL PROTECTED]> wrote:
> i create an application (jai-sample) ,this is not usefull for me can i
> able to delete this application ,i tried
Or, if you are wondering how to get to the admin page, just visit
appengine.google.com
On Aug 28, 4:27 am, amshuhu <[EMAIL PROTECTED]> wrote:
> i create an application in google app engine
> (asterixmobiles.appspot.com) ,here i need to add an admin controll in
> my app ,could any one help me for
On Aug 27, 5:22 pm, "Damien Hou" <[EMAIL PROTECTED]> wrote:
> Thanks, Matt. I'll try the latest helper with the coming 1.0.
>
> I've been using appengine patch for my django projects. Not sure what the
> patcher guys' plan is, though.
Our plan is to support 1.0 when it's released (in the reposito
Sounds cool! Keep up the good work and thanks! :)
On Thu, Aug 28, 2008 at 9:03 PM, Waldemar Kornewald <[EMAIL PROTECTED]>wrote:
>
> On Aug 27, 5:22 pm, "Damien Hou" <[EMAIL PROTECTED]> wrote:
> > Thanks, Matt. I'll try the latest helper with the coming 1.0.
> >
> > I've been using appengine patch
I'm very glad to announce the first release of cpedialog.
cpedialog is a blog tool for appengine user. It's an open source
program that distributed under the terms of the Apache License 2.0.
Now its downloadable version is available from:
http://code.google.com/p/cpedialog/downloads/list
You can
I found that I can't visit my appengine acount. Also the
***.appspot.com is blocked by someone( maybe is CCP, i'm not sure).
Does anyone in China came across the same situation?
Right after the day that closing ceremony of the Olympic games was
carried out I found that everything comes to normal.
I think you want to use AuthSub:
http://code.google.com/apis/picasaweb/developers_guide_python.html#AuthSub
On Thu, Aug 28, 2008 at 5:55 AM, Martynas Brijunas <[EMAIL PROTECTED]>wrote:
>
> Hi,
>
> I am looking for a way to implement Programmatic Login from my app to
> be able to retrieve privat
This is a sentiment I can relate to. With QueryWithAttributes and
sorting, and the Block Store before that, Amazon is really improving
their offering fast. S3-Europe shows they are sensitive to legitimate
concerns of users, and we can hope other offerings will be Europe-
based in the near future t
Got it, just tuned into your thought processes... there is no ssl
hence the sniffing risk. All my preconceived ideas on this subject are
based on the assumption of SSL encrypting data on the wire.
The GAE Team has 3 more months to announce SSL otherwise I will be
forced to shift my development ef
I also found my GAE apps got blocked like a couple weeks ago. Now I'm
serving my apps thru a reverse proxy server. But I'm don't think appspot is
unblocked throughout China since a friend told me he still couldn't visit
appspot from his company although he has no problem at home now.
On Thu, Aug 2
On Aug 28, 12:27 pm, Filip <[EMAIL PROTECTED]> wrote:
> But most worrying to me is the Google Quota system. When Google does
> metrics on the uptime of their service, they should not count the
> uptime of their service, but the availability of their service to me,
> that is what matters to me. I
Hmm, the link says that "AuthSub proxy authentication is used by web
applications which need to authenticate their users to Google
accounts".
What I am trying to do is something different. I would give my
visitors a PIN generated by me. The PIN would be validated by my app,
not by Google. If a PI
Nope, I filter off the timestamp for the method that goes through and
cleans up stale sessions.
def _clean_old_sessions(self):
"""
Delete expired sessions from the datastore.
This is only called for CLEAN_CHECK_PERCENT percent of
requests because
it could be r
Hi everyone, quick question.
class Tests(webapp.RequestHandler):
def get(self):
user1 = users.User(email="[EMAIL PROTECTED]")
user2 = users.User(email="[EMAIL PROTECTED]")
if user1 == user2:
self.response.out.write("
Hi,
My cell phone provider is not listed in the drop down list to send the
verification code via SMS. When I choose Other and enter my mobile
number the form complains that I did not either enter Mobile Number or
Username. Any help regarding this would really be appreciated.
Thanks,
Seshu
--~--
We are extracting the crux of the problem from a large system, under
development.
Problem : db.UserProperty() behavior with [EMAIL PROTECTED] Vs
[EMAIL PROTECTED]
Data
We don't have the option of paying Google yet, but I think most of us plan
to become paying customers later.
What's worrying to me is not the quota system per se, which makes sense for
a free service, but the way people are reporting that they seem to be
exceeding quota far more rapidly than appea
Has anyone tried to produce the reflection effect using the current
images API?
--~--~-~--~~~---~--~~
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@googlegr
see --> self.request.method
def get(self):
logging.info("" + self.request.method)
self.response.out.write('get')
def post(self):
logging.info("" + self.request.method)
self.response.out.write('post')
def put(self):
logging.info("" + self.request.met
> Instead of comparing their free preview service to S3, try
> comparing it to any other free hosting service out there.
While that's a reasonable comparison for hobbyists, there's a lot of
us using App Engine with grander aspirations. We want to build easily
scaled web applications (real busin
Hi Graham,
I'm afraid that I don't quite follow what you mean by back-references.
Could you give a concrete example of the type of situation which you
are trying to model?
I sounds a bit like you are modeling the relationships between
software packages, and you want to answer the questions:
1. W
javascriptrun allows you to build web applications by server-side
JavaScript.
This idea is inspired to Netscape and based on SpiderMonkey.
javascriptrun: One syntax for client and server.
http://pyoohtml.appspot.com/javascriptrun
--~--~-~--~~~---~--~~
You receive
I like it :-)
Can you create a WIKI system based on CPEDIA ?
On Aug 28, 5:56 pm, cpedia <[EMAIL PROTECTED]> wrote:
> I'm very glad to announce the first release of cpedialog.
> cpedialog is a blog tool for appengine user. It's an open source
> program that distributed under the terms of the Apac
Can you give an overview on how this is supposed to work ? The example
just shows how to create some HTML with Javascript, but can one write
the whole MVC thingy in JS using our framework ? And once the JS is
parsed, what happens then ? Do you create Python source code or do you
somehow manage to
Downloading Data From GAE Using Pickle
http://groups.google.com/group/google-appengine/browse_thread/thread/b480610aa0eddfac/84e3606f3e8e1f0e?lnk=gst&q=davide+rognoni+pickle#84e3606f3e8e1f0e
On Aug 28, 5:05 am, VV <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm new for Python and Google App Engine, So ma
What's Erlang?
http://www.erlang.org/doc/getting_started/conc_prog.html#3
On Aug 28, 9:35 pm, Roberto Saccon <[EMAIL PROTECTED]> wrote:
> Can you give an overview on how this is supposed to work ? The example
> just shows how to create some HTML with Javascript, but can one write
> the whole MVC
Hello! I'm new in the App Engine world and I've run into an issue
that's driving me crazy. I need to compare two properties (ex.
propertyA > 4 AND propertyB > 8) But by doing that I've discovered
that only one property per query may have inequality filters... Any
suggestion or workaround to be abl
Only one? per query??
On Aug 28, 9:07 pm, fdezjose <[EMAIL PROTECTED]> wrote:
> Hello! I'm new in the App Engine world and I've run into an issue
> that's driving me crazy. I need to compare two properties (ex.
> propertyA > 4 AND propertyB > 8) But by doing that I've discovered
> that only one p
Hi,
I'm trying to delete a single dynamic property from an Expando
entity, as per http://code.google.com/appengine/docs/datastore/expandoclass.html
The given way to do this is simply:
del myobj.myprop
So what I'm looking to do is something like this:
for dynamic_prop in myobj.dynamic_properti
File "C:\Program Files\Google\google_appengine\google\appengine\api
\datastore.py", line 1077, in _CheckFilter
', '.join(self.INEQUALITY_OPERATORS))
BadFilterError: BadFilterError: invalid filter: Only one property per
query may have inequality filters (<=, >=, <, >)..
On Aug 28, 9:51 pm,
I have a very simple kind and am trying to sort it with a descending
sort on its datetime property.
Piece of cake. I caused the index for it to be generated
automatically and then tried a new update.
With that one index I always get a 500 server error.
Here's the kind:
class FacebookApp(db.Mode
For your local application you can comment these checks :-)
if operator in self.INEQUALITY_OPERATORS:
if self.__inequality_prop and property !=
self.__inequality_prop:
raise datastore_errors.BadFilterError(
'Only one property per query may have inequality filters
(%s).
José,
Many different workarounds are available, depending on your
circumstances. The simplest (not ideal) thing to do would be to run
two queries and then take the intersection of the two results, i.e.:
q1 = Model.gql("WHERE prop1 < :1", number1)
q2 = Model.gql("WHERE prop2 > :1", number2)
batc
Why this limitation?
On Aug 28, 10:17 pm, Nevin Freeman <[EMAIL PROTECTED]> wrote:
> José,
>
> Many different workarounds are available, depending on your
> circumstances. The simplest (not ideal) thing to do would be to run
> two queries and then take the intersection of the two results, i.e.:
>
From: http://code.google.com/appengine/docs/datastore/queriesandindexes.html
"The query mechanism relies on all results for a query to be adjacent
to one another in the index table, to avoid having to scan the entire
table for results. A single index table cannot represent multiple
inequality fil
str(user1).lower() == str(user2).lower()
On Aug 28, 6:35 pm, Savraj Singh <[EMAIL PROTECTED]> wrote:
> Hi everyone, quick question.
>
> class Tests(webapp.RequestHandler):
> def get(self):
> user1 = users.User(email="[EMAIL PROTECTED]")
> user2 = users.User
I don't like this "Restrictions on Queries" :-(
On Aug 28, 10:26 pm, Nevin Freeman <[EMAIL PROTECTED]> wrote:
> From:http://code.google.com/appengine/docs/datastore/queriesandindexes.html
>
> "The query mechanism relies on all results for a query to be adjacent
> to one another in the index table
Duh.
delattr(myobj, dynamic_prop) # where myobj is an instance of an
expando class and dynamic_prop is a string equal to one of the dynamic
property names.
Nevin
On Aug 28, 1:02 pm, Nevin Freeman <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to delete a single dynamic property from an Expan
Yes, I can do that, thanks -- but I still think this behavior is a
problem.
Let's say I create a datastore model:
class UserInfo(db.Model):
owner = db.UserProperty()
Info = db.StringProperty()
Now let's say I create a UserInfo entity with owner set as user1 and
save it to the da
Amazon Web Services
http://aws.amazon.com/
The best way is the cooperation, but I don't see Python
http://docs.amazonwebservices.com/AmazonSimpleDB/2007-11-07/GettingStartedGuide/index.html?ListAllItems.html
Java
C#
Perl
PHP
VB.NET
and my Python :-(
--~--~-~--~~~---~
FYI, here is the issue on the tracker:
http://code.google.com/p/googleappengine/issues/detail?id=677
On Aug 27, 10:30 pm, Jeffrey Rosen <[EMAIL PROTECTED]> wrote:
> Whoops.
>
> From the docs: "The sender address must be the email address only."
>
> Why is that? Would it be possible to change th
It should not be necessary to create new instances for each model
you want to use in the class --> kind map. You merely need to define
your classes before you use it. So, if you defined a Model called Foo
and put it in the models.py module, you would call:
import models
If you are trying
You query the datastore as such:
latest = Stuff.gql(" ORDER BY date DESC LIMIT 4")
four = latest.count()
The four variable does not equal "4". For some reason, the limit
clause is ignored.
Is this not a pretty major bug? I'm surprised I'm the first person to
notice this, from
# An example on Java
# http://dev.helma.org/
"""Helma is written in Java and employs Javascript for its server-side
scripting environment, removing the need for compilation cycles and
reducing development costs while giving you instant access to leverage
the whole wealth of Java libraries out the
I'm very new to App Engine, but I believe limits are done like so:
fetch(limit, offset=0)
or
count(limit)
I could be wrong, but the Query (http://code.google.com/appengine/docs/
datastore/queryclass.html) and GqlQuery (http://code.google.com/
appengine/docs/datastore/gqlqueryclass.html) class
RIght, using the other style query doesn't produce this problem.
Just a random gotcha, i suppose.
On Aug 28, 2:43 pm, uprise78 <[EMAIL PROTECTED]> wrote:
> I'm very new to App Engine, but I believe limits are done like so:
>
> fetch(limit, offset=0)
>
> or
>
> count(limit)
>
> I could be wrong,
Hi
I can't verify my account by SMS [Google App Engine].
I'm from Georgia and my Mobile Provider is Geocell Ltd(Georgia)
my number is +99555xx. and when I submit my phone. It shows "An
error has occurred while sending. Please try again."
Please fix this and let me now..
#Giorgi Jvaridze
--~-
Hey,
I've been working on my site for the past few months and my database,
although a little larger than most (a little over 2000 entires) seems
to be getting slower.
For instance, if you go to my application (brandclash), you will see
that on the left you can click on any of the categories and
>From this site: http://www.cloudstatus.com/
I see that the read times have almost doubled this past week!!
Is the Google Team aware of this?
-Prateek
On Aug 28, 5:55 pm, someone1 <[EMAIL PROTECTED]> wrote:
> Hey,
>
> I've been working on my site for the past few months and my database,
> alth
Hi Thomas,
On Aug 27, 1:43 pm, Thomas Johansson <[EMAIL PROTECTED]> wrote:
> Yeah, I realised that my approach was a bit naive, not realising the
> way the app engine is set up to handle growth.
>
> After watching the talk by Brett Slatkin from Google IO [1] (highly
> recommend it), I tried doing
Great catch Alexander, I'll make sure that this gets added to the
documentation.
Cheers,
Jeff
On Aug 28, 3:37 am, Alexander Kojevnikov <[EMAIL PROTECTED]>
wrote:
> OK, I found it. For each property, GAE (at least the SDK version of
> it) creates an underscored attribute to keep the value of the
Hello,
I have the same problem can some one help us out?
Gr jan
On 27 aug, 22:55, "Polyakov,Oleg V" <[EMAIL PROTECTED]> wrote:
> I followed getting started instructions for creating an application
> with app engine, and it works. (http://spobby.appspot.com/)
>
> Now, I am trying to map this to
Maybe you could use Google Calendar.
On 26 Aug 2008, at 10:41, manatlan <[EMAIL PROTECTED]> wrote:
>
> Thanks a lot for this clear answer ...
>
> I should find another way to send emails ;-(
>
> My users can subscribe to a reminder service on the website. This
> service should send them back
Jeff, it's issue 673 in the bug tracker.
Cheers,
Alex
On Aug 29, 8:38 am, "Jeff S (Google)" <[EMAIL PROTECTED]> wrote:
> Great catch Alexander, I'll make sure that this gets added to the
> documentation.
>
> Cheers,
>
> Jeff
--~--~-~--~~~---~--~~
You received thi
As far as I can see, there's very little point in storing User
instances constructed from an e-mail address. These instances don't
correspond to real Google accounts, GAE doesn't do anything special to
verify the validity of supplied e-mail addresses, and basically it
just stores the e-mail addres
Hi all,
Our servers are currently undergoing some routine maintenance, and
requests have moved around to a different set of servers. You may
notice some increase in datastore latency until Tuesday 9/2 at 5pm PDT
(GMT-7). The increase is not severe, and we're keeping an eye on
things to make sure
That's a good idea. Myabe we can make wiki support as a plugin to
cpedialog.
The next phase of cpedialog will focus on the Drag & Drop feature for
customizing layout and page css-style redefine.
On Aug 28, 3:24 pm, Davide Rognoni <[EMAIL PROTECTED]> wrote:
> I like it :-)
> Can you create a WIK
Thanks for your guys guidance. but it's not to use the buIk upload
procedure. I should explain more about my project.
the first is to edit a table more easier .
for example:
customer product price
CSTM_A PDT_A 1,000.00
CSTM_A PDT_B 2,
Just set up a page which formats the data as CSV - you'll need to
modify the headers so your browser knows it isn't HTML. Then provide a
form to upload your modifed data, and write it back to the datastore.
On Aug 29, 2:05 pm, VV <[EMAIL PROTECTED]> wrote:
> Thanks for your guys guidance. but it'
Hi all,
I have a problem to get data that uses non ascii characters such as
º,ª,á,é,í,ó,ú...
I will explain how do I store and try to retrieve the data:
On top of the python source file I have:
# -*- coding: utf-8 -*-
The form input:
Processing the form:
def post...
...
category.titl
Davide, I assume that your page was a wishlist page, for a feature you would
like to see in GAe. Isn't that so?
Cheers,
PS
On Thu, Aug 28, 2008 at 11:22 PM, Davide Rognoni
<[EMAIL PROTECTED]>wrote:
>
> # An example on Java
> # http://dev.helma.org/
>
> """Helma is written in Java and employs Jav
Hi Alexander,
Yes, that's how I'm storing the users. Let's say I have five users
that all store UserInfo. I call users.get_current_user() to get the
user and then save the Info. My problem is accessing a user's
information again, when that user is not logged in.
The documentation says, "A User
I can definitely sympathize with the sentiments here. I really wish
Google did offer better communication. However, I just wanted to point
out:
Jaiko is a company acquired by Google quite a while back. A TechCrunch
post today (
http://www.techcrunch.com/2008/08/28/jaiku-uncaps-invites-migrates-t
> What's the point of these user objects constructed from emails
> if they don't match real users?
I guess this is mostly for testing / debugging, for example the SDK
version of the Users API always authenticates e-mail-constructed User
instances.
--~--~-~--~~~---~--~-
Hi Rafe,
yea, that helped, thanks! I guess I implemented the whole dummy c**p
for nothing :)
Regards,
Constantin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send
75 matches
Mail list logo