[google-appengine] Re: emails are not received

2011-03-12 Thread Binu vm
Hi Ravi,

Thanks for the quick reply.
I have added one cname entry.
Should I enter another cname entry for email as well?

Thanks
Binu.V.M

On Mar 12, 12:54 pm, VTR Ravi Kumar  wrote:
> Hi Binu,
>
> Does the domain provider allow you to create the cname entries like
> mail..com - ghs.google.com
>
> Thanks
>
> Ravi
>
>
>
> On Sat, Mar 12, 2011 at 1:22 PM, Binu vm  wrote:
> > Hello,
> > Hello,
>
> > I have one domain.That domain has been mapped to google app engine.
> > Now we have successfully created 2-3 email accounts. Now the problem
> > is
> > those email accounts are not able to receive any mails from any
> > domain. But we are able to
> > send mail to any domain. The problem what I have noticed is the domain
> > name which is
> > hosted on a free domain hosting. There it does not support free email
> > accounts.
> > Could that be a problem?
>
> > In the application settings-> Configured Services it is showing two
> > serivces has been enabled.
>
> > 1. Incomeing Email
> > 2. Warmup Requests
>
> > Request you to help on this issue.
>
> > Thanks
> > Binu.V.M
>
> > --
> > 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.
>
> --
> Thanks & Regards
> VTR Ravi Kumar,
> ---
> If everything seems under control, you're not going fast enough
>   - Mario Andretti
>
> http://www.firststop.inhttp://www.box.net/shared/hf82389ky7

-- 
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.



Re: [google-appengine] How to monitoring error/exceptions of the code?

2011-03-12 Thread Rickard Nordström Pettersson
Thanks, i really missed that part of documetion.

I running java sdk on windows and when i trying to run the command:
"appcfg.cmd request_logs myappname/war logs.txt" i getting this message:

Unable to find the webapp directory myappname/war
usage: AppCfg [options]   []


I has trying with or without /war and its no differents.
Someone has an idea what i doing wrong?

// Rickard Pettersson

2011/3/12 Robert Kluin 

> You can download and parse the logs:
>
> http://code.google.com/appengine/docs/python/tools/uploadinganapp.html#Downloading_Logs
>
> Matthew Blain wrote a little script you might find useful:
>
> http://code.google.com/p/google-app-engine-samples/source/browse/trunk/logparser/logparser.py
>
>
>
>
> Robert
>
>
>
>
>
> On Fri, Mar 11, 2011 at 13:06, RickardP  wrote:
> > I whant to some how get a log of all error/exceptions that been logged
> > from the application on AppEngine, i dont whant to go throw all
> > requests att check if there is any error.
> >
> > I thinking about to build something by my self but most be other that
> > has the same "problem"?
> >
> > How do you monitoring error messages?
> >
> > --
> > 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.
> >
> >
>
> --
> 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.
>
>


-- 
*Med vänliga hälsningar*
Rickard Nordström Pettersson

-- 
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] Login and Google Apps RANT

2011-03-12 Thread jay
Hello All,

Please allow me to rant for a few minutes about some very annoying
problems I've recently had with logins and authentication. Hopefully
somebody at Google will notice and forward the issue on to somebody
with some power to do something.

A short preface: I use Google Apps for Business and after prompting,
foolishly "upgraded my account infrastructure". This has created a
problem where I can no longer be simultaneously be logged into my
Google Apps domain hosted email (j...@jaykyburz.com) and my Google
account (kyburz@gmail.com). According to enterprise support this
change cannot be rolled back.

Whats really annoying is that now that I'm logged into my email, I can
no longer be simultaneously be logged into my App Engine Applications.
To work around this I simply use 2 browsers. Chrome for email and
Firefox for everything else.

The problem Im concerned about is that when I'm logged into my email,
and try and log into my App Engine Application I'm asked whether or
not I want to share my email address with the application. The only
options are yes or no. THERE IS NO OPTION TO CHANGE ACCOUNTS OR CREATE
A NEW ACCOUNT.

example: http://blight.ironhelmet.com/static/LoginError.PNG

If you choose "no" the login fails. Useres are expected to "just know"
that they need to go and log out of this account somewhere else before
they can log into my applications.

Also: My Apps don't use Federated Logins because, similarly once
logged in there is no way for me to offer my useres a way to log out.

I don't know how many of my useres are in a similar situation to me,
but I this is a very poor interface. I need my customers to be able to
create new google accounts for just my applications. I don't want my
useres to have to trust me with thier google account or email. It has
to be OK for them to create a throw away account for just my
applications.

When I'm logged into my Google Apps domain hosted email
(j...@jaykyburz.com) and I visit Google Groups, I'm simply presented
with an error, but at least I have button that prompts me to sign out
of my current account. THIS WOULD BE PREFERABLE TO WHAT WE HAVE NOW.

example:http://blight.ironhelmet.com/static/LoginError2.PNG

Thanks for reading.

Jay.


-- 
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] GAE with Eclipse treminated problem

2011-03-12 Thread Ido Ran
Hi,
I'm learning GAE and use Eclipse with Google GAE plugin.
I've walk step-by-step on the on the google app engine plugin for 
eclipseand 
everything worked.

Now, when I select Run->Debug As->Web Application (or Run->Run As->Web 
Application) I can see in the console all the output including "INFO: The 
server is running at http://localhost:/"; but then the process is 
terminating and above the console I see the line:
" xxx [Web Applicaiton] ..."

How come the server is terminated without automatically?

Thank you,
Ido.
   

-- 
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] DownloadError: ApplicationError: 5 ??

2011-03-12 Thread andreas schmid
hi,

in my app i have to request content from itself and most of my errors are 
'DownloadError: ApplicationError: 5' 
what does that exactly mean? what caused he error? i cant imagine that my 
request needs more than 10 seconds to fetch the result so it has to be 
something else.

thanks

content = urlfetch.fetch(url, deadline=10).content
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/api/urlfetch.py", 
line 245, in fetch
return rpc.get_result()
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
 line 534, in get_result
return self.__get_result_hook(self)
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/api/urlfetch.py", 
line 338, in _get_fetch_result
raise DownloadError(str(err))
DownloadError: ApplicationError: 5

-- 
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.



Re: [google-appengine] Indexes stuck in 'Building' state for days

2011-03-12 Thread Wim den Ouden
I have read this somewhere
first try: Remove the index from index.yaml, then appcfg.py vacuum_indexes

2011/3/12 Sander Steffann 

> Hi,
>
> I have about 16 indexes stuck in 'Building' state for days now. Vacuum
> doesn't remove them. Does anybody know the best way to fix this (and
> prevent this from happening in the future)?
>
> Thanks,
> Sander
>
> --
> 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.
>
>


-- 
gr,
Wim den Ouden
Custom Google App Engine  based
webapps .
Free open source neighborshare framework .
Gae tips  Datastore
(async)

-- 
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.



Re: [google-appengine] Re: Deleting Data Really Expensive!

2011-03-12 Thread Wim den Ouden
there are often changes, i integrated it in the daily processing, if an
entity is ask for do also the changes, if from another datastore first fetch
and save (changed) in the new.

2011/3/11 Jeff Knox 

> If you want to keep costs down but not leave the data spinning around and
> around why not delete a subset every day? It may take an extremely long time
> but at least it would be better than paying storage costs forever.
>
> --
> 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.
>



-- 
gr,
Wim den Ouden
Custom Google App Engine  based
webapps .
Free open source neighborshare framework .
Gae tips  Datastore
(async)

-- 
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.



Re: [google-appengine] User AppEngine User Service on external web applications

2011-03-12 Thread Mark Watson
Thanks Robert - very useful!

On Tue, Mar 1, 2011 at 10:03 PM, Robert Kluin  wrote:
> Hi Mark,
>  You can find information about Google's OpenID and OAuth here:
>    http://code.google.com/apis/accounts/docs/OpenID.html
>
>
>
>
> Robert
>
>
>
>
>
>
> On Tue, Mar 1, 2011 at 20:44, Mark Watson  wrote:
>> I like and have had good experiences using the User Service for auth of
>> AppEngine hosted web apps. I am considering using Facebook OAuth 2 as an
>> optional means of auth for a web app hosted on our own servers and given
>> that people trust Google probably more than Facebook, I would *really* like
>> to also use Google's auth service as another alternative.
>> Assuming that this even makes sense to do, I would very much appreciate
>> links to useful documentation.
>>
>> --
>> 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.
>>
>
> --
> 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.
>
>



-- 
Mark Watson, consultant and author: http://markwatson.com

"It is better to travel well than to arrive." - Buddha

-- 
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: StackExchange API endpoints urlfetch returns random "DownloadError: ApplicationError: 5" timeouts

2011-03-12 Thread MLTrim
Opened here:

http://code.google.com/p/googleappengine/issues/detail?id=4718

Another user experiencing the same problem here:
http://groups.google.com/group/google-appengine/browse_thread/thread/934334559a631585#


It was not my intention to cross-post on the Python list, anyway here
the post:
http://groups.google.com/group/google-appengine-python/browse_thread/thread/d9d6637467ac2306


On Mar 11, 6:03 pm, Robert Schuppenies  wrote:
> That's strange and annoying. Can you file a bug?
>
> thanks,
> robert
>
>
>
>
>
> On Fri, Mar 11, 2011 at 5:01 AM, MLTrim  wrote:
> > In Production using:
>
> > from google.appengine.api import urlfetch
> > urlfetch.fetch('http://api.fitness.stackexchange.com/1.0/questions/?
> > page=3', deadline = 10)
>
> > results in several "DownloadError: ApplicationError: 5"  timeouts;
> > probably more than the 50% of the calls.
>
> > The Stack Exchange team has looked into the problem that seems relate
> > to some Google App Engine routing fault to their end.
>
> > Any hints?
>
> > You can test it here if you want:
> >http://shell.appspot.com/
>
> > --
> > 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.
>
>

-- 
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: DownloadError: ApplicationError: 5 ??

2011-03-12 Thread MLTrim
I'm having the same problem since 7 days,
no official response by any of the Google developers yet.
http://groups.google.com/group/google-appengine-python/browse_thread/thread/d9d6637467ac2306

>From what I see, the UrlFetch is broken in some way as sometimes the
timeout occurs before the 10 seconds deadline.

Opened a bug here:
http://code.google.com/p/googleappengine/issues/detail?id=4718

On Mar 12, 12:39 pm, andreas schmid  wrote:
> hi,
>
> in my app i have to request content from itself and most of my errors are 
> 'DownloadError: ApplicationError: 5'
> what does that exactly mean? what caused he error? i cant imagine that my 
> request needs more than 10 seconds to fetch the result so it has to be 
> something else.
>
> thanks
>
>     content = urlfetch.fetch(url, deadline=10).content
>   File 
> "/base/python_runtime/python_lib/versions/1/google/appengine/api/urlfetch.py",
>  line 245, in fetch
>     return rpc.get_result()
>   File 
> "/base/python_runtime/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
>  line 534, in get_result
>     return self.__get_result_hook(self)
>   File 
> "/base/python_runtime/python_lib/versions/1/google/appengine/api/urlfetch.py",
>  line 338, in _get_fetch_result
>     raise DownloadError(str(err))
> DownloadError: ApplicationError: 5

-- 
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] A portal for information about the 2011 Japan Earthquake and Tsunamis

2011-03-12 Thread Jeff Schwartz
I hope you don't mind or consider this spam or improper. I know many of you
from these news groups as I am an active member and I would never do
anything that I thought was improper. We've all seen the videos of the
devastation in Japan caused by the recent earthquake and tsunamis. In
response I've created a little portal site on app engine that lists a few
organizations and agencies accepting donations as well as providing
information. I know many of you are running successful web sites on app
engine and if you can afford $10 or $20 dollars, please, that would be an
amazing response from these groups. I've already made mine. Won't you please
help?

The link to the site is http://japanearthquaketsunamirelief.appspot.com/.

Please understand that I have no affiliation at all with any of the sites
listed on the portal and I urge you to use discretion whenever making any
donation.

Sincerely,

-- 
*Jeff Schwartz*
http://jefftschwartz.appspot.com/
http://www.linkedin.com/in/jefftschwartz
follow me on twitter: @jefftschwartz

-- 
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] Troubles integrating with Google Checkout

2011-03-12 Thread Zeynel
http://checkout.google.com/support/sell/bin/answer.py?hl=en&answer=64730
shows how to add a field for customer-chosen price. But the button in
that example is for fast checkout. I am trying to add the price to
cart but the price in the cart is always zero. Does anyone know how to
pass the price in the form field



to the cart?

This is the code:

self.response.out.write("""

$ 









-- 
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: Using memcache in app engine

2011-03-12 Thread GWTNewbie
Now it seems to be working :).. Looks like a serialization issue but
no idea how it got resolved by itself :)

On Mar 2, 11:28 pm, GWTNewbie  wrote:
> Hi Ikai:
> The issue is happening in production.
>
> the code for UserDetails is as given below:
>
> @SuppressWarnings("serial")
> public class UserDetails implements Serializable {
>         private String userKey;
>         private String instanceID;
>         private String userName;
>         private String email;
>         private String firstName;
>         private String lastName;
>         private Boolean superUser;
>         private String tag;
>         private AddressDTO address;
>         private Date lastVisit;
>
>         public Boolean getSuperUser() {
>                 return superUser;
>         }
>
>         public void setSuperUser(Boolean superUser) {
>                 this.superUser = superUser;
>         }
>
>         public String getInstanceID() {
>                 return instanceID;
>         }
>
>         public void setInstanceID(String tenantID) {
>                 this.instanceID = instanceID;
>         }
>
>         public String getUserName() {
>                 return userName;
>         }
>
>         public void setUserName(String userName) {
>                 this.userName = userName;
>         }
>
>         public String getEmail() {
>                 return email;
>         }
>
>         public void setEmail(String email) {
>                 this.email = email;
>         }
>
>         public String getFirstName() {
>                 return firstName;
>         }
>
>         public void setFirstName(String firstName) {
>                 this.firstName = firstName;
>         }
>
>         public String getLastName() {
>                 return lastName;
>         }
>
>         public void setLastName(String lastName) {
>                 this.lastName = lastName;
>         }
>
>         public UserDetails() {
>                 super();
>                 // TODO Auto-generated constructor stub
>         }
>
>         public String getUserKey() {
>                 return userKey;
>         }
>
>         public void setUserKey(String userKey) {
>                 this.userKey = userKey;
>         }
>
>         public String getTag() {
>                 return tag;
>         }
>
>         public void setTag(String tag) {
>                 this.tag = tag;
>         }
>
>         public AddressDTO getAddress() {
>                 return address;
>         }
>
>         public void setAddress(AddressDTO address) {
>                 this.address = address;
>         }
>
>         public Date getLastVisit() {
>                 return lastVisit;
>         }
>
>         public void setLastVisit(Date lastVisit) {
>                 this.lastVisit = lastVisit;
>         }
>
>         public String getFullName() {
>                 return new StringBuffer(firstName).append(" 
> ").append(lastName)
>                                 .toString();
>         }
>
>         public UserDetails(String userKey, String instanceID, String
> userName,
>                         String email, String firstName, String lastName, 
> Boolean superUser,
>                         String tag, AddressDTO address) {
>                 super();
>                 this.instanceID = instanceID;
>                 this.userName = userName;
>                 this.email = email;
>                 this.firstName = firstName;
>                 this.lastName = lastName;
>                 this.userKey = userKey;
>                 this.superUser = superUser;
>                 this.tag = tag;
>                 this.address = address;
>         }
>
> }
>
> It would be great if you an let me know what the issue is.
>
> On Mar 1, 11:05 am, "Ikai Lan (Google)" 
> wrote:
>
>
>
>
>
>
>
> > Is this something that happens locally, or in production? I haven't tried
> > the code, but my suspicions are:
>
> > 1. Something is happened with the serialization of the object when it's
> > being saved. Could this value be set elsewhere?
> > 2. The generics are breaking serialization. This seems strange to me, though
>
> > Can you post UserDetails?
>
> > If you aren't keen to solve this, another workaround would be to simply
> > write your own serialization and deserialization code via JSON or protobuf.
>
> > --
> > Ikai Lan
> > Developer Programs Engineer, Google App Engine
> > Blogger:http://googleappengine.blogspot.com
> > Reddit:http://www.reddit.com/r/appengine
> > Twitter:http://twitter.com/app_engine
>
> > On Mon, Feb 28, 2011 at 10:01 PM, GWTNewbie  wrote:
> > > Hello:
> > > I am using memcache to keep track of logged users in an app that I am
> > > building. However when I do a GET on the memcache I get an exception:
>
> > > exception: java.lang.ClassCastException: java.util.ArrayList cannot be
> > > cast to java.util.HashMap
>
> > > From the logs it appears that the exception is caused by the
> > > statement:
> > >                HashMap userMap = (HashMap > > UserDetails>) _cache
> > >  

[google-appengine] Re: Solutions to an Exploding Index Problem

2011-03-12 Thread Joseph Letness
Hi Aaron, there are a number of ways of getting around the "exploding-
index" problem.  It's hard to offer a good solution without knowing
what the end-result is that you are trying to accomplish.

If your sort order is immutable and can be determined when your
entities are created, the best solution is to create a key_name that
lexicographically represents the sort order (no need to add a .order()
to your query object).

However, if your sort order is dynamic I would suggest that you create
a special model kind that de-normalizes the sort order and either the
owners or the topics (basically, this would act as an index) and write
some code that generates these index entities when your keywords are
written.  This will be an expensive write operation, both executing
the code and writing to multiple entities (always remember to use
batch put to write multiple entities), but your reads (which I am
assuming are going to be significantly more frequent than writes) will
be efficient.

Obviously, the simple solution, If you can guarantee that your result
set is small ( <1000 for a simple model like you described), would be
to retrieve the entities and perform the sort in your code.  Just
remember that this will be an expensive request that will happen on
all your reads (you could use memcache to mitigate it somewhat)

Curious, what is the integer sort for?

Good luck,

--Joe



Also, check out Brett Slatkin's "Building Scalable, Complex Apps on
App Engine" http://www.youtube.com/watch?v=AgaL6NGpkB8

It's got a lot of great insights about data-modeling the GAE way.


On Mar 11, 2:58 am, Aaron  wrote:
> Hi, I'm currently running into an exploding index problem with the
> following model:
> class Keywords(db.Model):
>     owners_saved = db.ListProperty(db.Key)#list of user keys who saved
> this keyword
>     topics = db.ListProperty(db.Key)#list of keys of topic objects
>     sort1property = db.IntegerProperty#need to sort by this
>
> Keywords can mark as saved, and I need to be able to query for
> keywords a user has saved that are in a specific topic area.  I'm
> running into an exploding index problem because I need to be able to
> query by a composite index on two list properties (owners_saved and
> topics)...both list properties can potentially become really long.
>
> Can anyone suggest a way for me to be able to avoid the exploding
> index problem AND be able to sort by property?
>
> Thanks in advance!

-- 
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.



Re: [google-appengine] Login and Google Apps RANT

2011-03-12 Thread Gopal Patel
+1. custom login pages/sign up links redirection etc are pretty old
problems that haven't been solved...

On Sat, Mar 12, 2011 at 2:28 PM, jay  wrote:
> Hello All,
>
> Please allow me to rant for a few minutes about some very annoying
> problems I've recently had with logins and authentication. Hopefully
> somebody at Google will notice and forward the issue on to somebody
> with some power to do something.
>
> A short preface: I use Google Apps for Business and after prompting,
> foolishly "upgraded my account infrastructure". This has created a
> problem where I can no longer be simultaneously be logged into my
> Google Apps domain hosted email (j...@jaykyburz.com) and my Google
> account (kyburz@gmail.com). According to enterprise support this
> change cannot be rolled back.
>
> Whats really annoying is that now that I'm logged into my email, I can
> no longer be simultaneously be logged into my App Engine Applications.
> To work around this I simply use 2 browsers. Chrome for email and
> Firefox for everything else.
>
> The problem Im concerned about is that when I'm logged into my email,
> and try and log into my App Engine Application I'm asked whether or
> not I want to share my email address with the application. The only
> options are yes or no. THERE IS NO OPTION TO CHANGE ACCOUNTS OR CREATE
> A NEW ACCOUNT.
>
> example: http://blight.ironhelmet.com/static/LoginError.PNG
>
> If you choose "no" the login fails. Useres are expected to "just know"
> that they need to go and log out of this account somewhere else before
> they can log into my applications.
>
> Also: My Apps don't use Federated Logins because, similarly once
> logged in there is no way for me to offer my useres a way to log out.
>
> I don't know how many of my useres are in a similar situation to me,
> but I this is a very poor interface. I need my customers to be able to
> create new google accounts for just my applications. I don't want my
> useres to have to trust me with thier google account or email. It has
> to be OK for them to create a throw away account for just my
> applications.
>
> When I'm logged into my Google Apps domain hosted email
> (j...@jaykyburz.com) and I visit Google Groups, I'm simply presented
> with an error, but at least I have button that prompts me to sign out
> of my current account. THIS WOULD BE PREFERABLE TO WHAT WE HAVE NOW.
>
> example:http://blight.ironhelmet.com/static/LoginError2.PNG
>
> Thanks for reading.
>
> Jay.
>
>
> --
> 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.
>
>

-- 
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] Received SMS verification code, how do I enter it to verify my account?

2011-03-12 Thread Charlie
I received my verification code from Google, but I don't know where to enter 
it now. When I go back to https://appengine.google.com/start, I still get 
prompted to enter my phone number, and then get an error that it's already 
in use.

What am I doing wrong?

Thanks!
Charlie

-- 
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.



Re: [google-appengine] Login and Google Apps RANT

2011-03-12 Thread Jeff Schnitzer
One thing that will help you is that google added the ability to be
logged into multiple accounts simultaneously.  You can switch between
them with a dropdown.  You have to turn this on in Account Settings
somewhere, but after that it works pretty well.

I have a bigger complaint, although this may not be the place to do
it.  I recently began the transition from a gmail account to a google
apps account.  Almost everything works properly... except google
groups.

Apparently "groups" is a premium feature unavailable to Google Apps
Standard.  I understand they want to make the ability to create
enterprise groups part of the paid package, but they have effectively
blocked out participation in public groups (like this one).  Right now
I have to maintain my old gmail account just to read and respond to
appengine and objectify email - LAME!

Looking at it from a different angle, my opensource projects that use
Google Groups have now blocked out Google Apps Standard users.  This
is broken, and a compelling reason to migrate off Google Groups.

Jeff

On Sat, Mar 12, 2011 at 12:58 AM, jay  wrote:
> Hello All,
>
> Please allow me to rant for a few minutes about some very annoying
> problems I've recently had with logins and authentication. Hopefully
> somebody at Google will notice and forward the issue on to somebody
> with some power to do something.
>
> A short preface: I use Google Apps for Business and after prompting,
> foolishly "upgraded my account infrastructure". This has created a
> problem where I can no longer be simultaneously be logged into my
> Google Apps domain hosted email (j...@jaykyburz.com) and my Google
> account (kyburz@gmail.com). According to enterprise support this
> change cannot be rolled back.
>
> Whats really annoying is that now that I'm logged into my email, I can
> no longer be simultaneously be logged into my App Engine Applications.
> To work around this I simply use 2 browsers. Chrome for email and
> Firefox for everything else.
>
> The problem Im concerned about is that when I'm logged into my email,
> and try and log into my App Engine Application I'm asked whether or
> not I want to share my email address with the application. The only
> options are yes or no. THERE IS NO OPTION TO CHANGE ACCOUNTS OR CREATE
> A NEW ACCOUNT.
>
> example: http://blight.ironhelmet.com/static/LoginError.PNG
>
> If you choose "no" the login fails. Useres are expected to "just know"
> that they need to go and log out of this account somewhere else before
> they can log into my applications.
>
> Also: My Apps don't use Federated Logins because, similarly once
> logged in there is no way for me to offer my useres a way to log out.
>
> I don't know how many of my useres are in a similar situation to me,
> but I this is a very poor interface. I need my customers to be able to
> create new google accounts for just my applications. I don't want my
> useres to have to trust me with thier google account or email. It has
> to be OK for them to create a throw away account for just my
> applications.
>
> When I'm logged into my Google Apps domain hosted email
> (j...@jaykyburz.com) and I visit Google Groups, I'm simply presented
> with an error, but at least I have button that prompts me to sign out
> of my current account. THIS WOULD BE PREFERABLE TO WHAT WE HAVE NOW.
>
> example:http://blight.ironhelmet.com/static/LoginError2.PNG
>
> Thanks for reading.
>
> Jay.
>
>
> --
> 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.
>
>

-- 
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] Pass Params to Cron Jobs?

2011-03-12 Thread Daniel
I want to do something like this.. will it work?

cron:
- description: Resign Games
  url: rgame?daysOld=5
  schedule: every 2 hours synchronized

I'm not seeing examples in the docs of passing static params to a url but 
feels like this should be possible?

Thanks

Daniel

-- 
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] URL fetch via proxy.

2011-03-12 Thread ajgomezlopez
I maker several test trying to retrieve an url via a proxy without
success.

I tryed with urllib, urllib2 and httplib.

Is there any correct way to do this?

Thx in advance

-- 
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.



Re: [google-appengine] Received SMS verification code, how do I enter it to verify my account?

2011-03-12 Thread Robert Kluin
Fill out the issues form:
 https://appengine.google.com/waitlist/sms_issues






On Sat, Mar 12, 2011 at 14:01, Charlie  wrote:
> I received my verification code from Google, but I don't know where to enter
> it now. When I go back to https://appengine.google.com/start, I still get
> prompted to enter my phone number, and then get an error that it's already
> in use.
> What am I doing wrong?
> Thanks!
> Charlie
>
> --
> 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.
>

-- 
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.



Re: [google-appengine] Received SMS verification code, how do I enter it to verify my account?

2011-03-12 Thread Charlie
Thanks, didn't realize that form was appropriate for this issue, too.

Has the Google team been responsive? Have others been able to get this issue 
resolved?

-- 
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.



Re: [google-appengine] Received SMS verification code, how do I enter it to verify my account?

2011-03-12 Thread Robert Kluin
Yes.  It sometimes takes a little time though since they will manually
verify your account.



Robert





On Sat, Mar 12, 2011 at 16:59, Charlie  wrote:
> Thanks, didn't realize that form was appropriate for this issue, too.
> Has the Google team been responsive? Have others been able to get this issue
> resolved?
>
> --
> 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.
>

-- 
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.



Re: [google-appengine] Pass Params to Cron Jobs?

2011-03-12 Thread Robert Kluin
Hey Daniel,
  Try embedding the argument(s) in the URL (aka pretty urls).

- description: Resign Games
  url: /rgame/5
  schedule: every 2 hours synchronized

  See 'URL Mappings':
 http://code.google.com/appengine/docs/python/tools/webapp/running.html


Robert




On Sat, Mar 12, 2011 at 15:30, Daniel  wrote:
> I want to do something like this.. will it work?
> cron:
> - description: Resign Games
>   url: rgame?daysOld=5
>   schedule: every 2 hours synchronized
> I'm not seeing examples in the docs of passing static params to a url but
> feels like this should be possible?
> Thanks
> Daniel
>
> --
> 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.
>

-- 
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.



Re: [google-appengine] 'NoneType' object has no attribute 'active_jobs'

2011-03-12 Thread Robert Kluin
Sounds like you've got a stuck / defunct mapper job.  Do you have some
tasks that have been stuck and are repeating?




Robert



On Fri, Mar 11, 2011 at 17:34, danpaik  wrote:
> Hi Everyone,
>
> I am using App Engine 1.4.2 (1.4.2.1041) in Python.
>
> I noticed a new error message in my logs.  It shows up every hour at
> 26 minutes past the hour.  Also, when I got into my App Engine
> dashboard, the "Datastore Admin" section doesn't work (it's just
> blank).
>
> I tried re-installing App Engine but it didn't seem to help.  Has
> anyone else seen this error before?
>
> The logs say:
>
> 2011-03-11 14:26:16.196
> 'NoneType' object has no attribute 'active_jobs'
> Traceback (most recent call last):
>  File "/base/python_runtime/python_lib/versions/1/google/appengine/
> ext/webapp/__init__.py", line 517, in __call__
>    handler.post(*groups)
>  File "/base/python_runtime/python_lib/versions/1/google/appengine/
> ext/datastore_admin/utils.py", line 349, in post
>    db.run_in_transaction(tx)
>  File "/base/python_runtime/python_lib/versions/1/google/appengine/
> api/datastore.py", line 1977, in RunInTransaction
>    DEFAULT_TRANSACTION_RETRIES, function, *args, **kwargs)
>  File "/base/python_runtime/python_lib/versions/1/google/appengine/
> api/datastore.py", line 2063, in RunInTransactionCustomRetries
>    ok, result = _DoOneTry(new_connection, function, args, kwargs)
>  File "/base/python_runtime/python_lib/versions/1/google/appengine/
> api/datastore.py", line 2084, in _DoOneTry
>    result = function(*args, **kwargs)
>  File "/base/python_runtime/python_lib/versions/1/google/appengine/
> ext/datastore_admin/utils.py", line 342, in tx
>    operation.active_jobs -= 1
> AttributeError: 'NoneType' object has no attribute 'active_jobs'
>
> When I do a grep within the Google App Engine installation folder I
> see:
>
> $ grep -R "active_job" *
> Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/
> google_appengine/google/appengine/ext/datastore_admin/templates/
> list_actions.html:              {{operation.active_jobs}} active)
> Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/
> google_appengine/google/appengine/ext/datastore_admin/
> utils.py:          operation.active_jobs -= 1
> Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/
> google_appengine/google/appengine/ext/datastore_admin/
> utils.py:          if not operation.active_jobs:
> Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/
> google_appengine/google/appengine/ext/datastore_admin/utils.py:
> active_jobs = db.IntegerProperty(default=0)
> Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/
> google_appengine/google/appengine/ext/datastore_admin/utils.py:
> operation.active_jobs += 1
> Binary file Contents/Resources/GoogleAppEngine-default.bundle/Contents/
> Resources/google_appengine/google/appengine/ext/datastore_admin/
> utils.pyc matches
>
> --
> 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.
>
>

-- 
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.



Re: [google-appengine] question on multiple entity groups comments google io 2008

2011-03-12 Thread Robert Kluin
I don't recall the exact portion of the talk you are referring to, but
you should probably read the docs on Query, specifically on 'order.'
  
http://code.google.com/appengine/docs/python/datastore/queryclass.html#Query_order



Robert






On Sat, Mar 12, 2011 at 01:18, Lucas  wrote:
> I have question on google io 2008 video on Building Scalable Web Apps
> with App Engine . Regarding comments system that you suggested using
> multiple entity groups and use composite string  date | userid |
> counting. how do you retrieve all the comments from all entity groups
> and combine it at the same time ensure the "ordering" of each
> comments?
>
> Is there source code for http://blog-example.appspot.com/ ? Thank 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 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
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.



Re: [google-appengine] question on multiple entity groups comments google io 2008

2011-03-12 Thread Robert Kluin
Also, you might take a look at Nick Johnson's blog.  He has some
walk-throughs explaining how to build a blog on App Engine.

http://blog.notdot.net/2009/10/Writing-a-blog-system-on-App-Engine


Robert






On Sat, Mar 12, 2011 at 17:20, Robert Kluin  wrote:
> I don't recall the exact portion of the talk you are referring to, but
> you should probably read the docs on Query, specifically on 'order.'
>  http://code.google.com/appengine/docs/python/datastore/queryclass.html#Query_order
>
>
>
> Robert
>
>
>
>
>
>
> On Sat, Mar 12, 2011 at 01:18, Lucas  wrote:
>> I have question on google io 2008 video on Building Scalable Web Apps
>> with App Engine . Regarding comments system that you suggested using
>> multiple entity groups and use composite string  date | userid |
>> counting. how do you retrieve all the comments from all entity groups
>> and combine it at the same time ensure the "ordering" of each
>> comments?
>>
>> Is there source code for http://blog-example.appspot.com/ ? Thank 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 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>>
>

-- 
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.



Re: [google-appengine] Pass Params to Cron Jobs?

2011-03-12 Thread Greg Darke (Google)
Hi Daniel,

This will work, though you will need to put a '/' character at the
start of the url.

On 13 March 2011 07:30, Daniel  wrote:
> I want to do something like this.. will it work?
> cron:
> - description: Resign Games
>   url: rgame?daysOld=5
>   schedule: every 2 hours synchronized
> I'm not seeing examples in the docs of passing static params to a url but
> feels like this should be possible?
> Thanks
> Daniel
>
> --
> 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.
>

-- 
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.