Re: [google-appengine] Re: wildcard host mappings to ghs.google.com

2011-10-31 Thread Chris Copeland
Not a registrar, but we use http://www.dnsmadeeasy.com/ for DNS hosting and
they support it.

-Chris

2011/10/29 Ronoaldo José de Lana Pereira 

> Hi,
>
> http://www.enom.com/ seems to support this.
>
> Hope this helps
>
> -Ronoaldo
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/zeTvNH-T4R4J.
>
> 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] Re: Apps For Domains is a MAJOR failing of AppEngine

2011-09-21 Thread Chris Copeland
>
> It's been WontFix'ed for a while, but I have a ticket for plain old CNAME
> support: http://code.google.com/p/googleappengine/issues/detail?id=2649
>
> There's another issue in the same vein that's still open:
http://code.google.com/p/googleappengine/issues/detail?id=2587
Interestingly they both have 29 stars.



> --
> 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] Dynamic Custom Domain

2011-08-31 Thread Chris Copeland
I have the exact same problem for my product.  My customers are not savvy
enough to be comfortable with setting up Google Apps for their domain and
they don't understand why they need to signup with Google to use my
product.

My solution is to offer all customers a domain like
customer-name.my-app.comwhere I own
my-app.com and have a wildcard CNAME *.my-app.com pointing to ghs.google.com.


If the customer wants to use their own domain then I run it through an nginx
proxy running on EC2.  The proxy is only used for the main page -- I still
load all of the images, etc. from the domain that is hosted on GAE to take
advantage of the Google edge servers.

Since most of my customers don't own a domain yet, I have been able to make
additional revenue by reselling them a domain name.  The other advantage of
this is that I can automate the process of setting their DNS and my proxy.
If the customer already has a domain registered, then they must edit their
DNS settings themselves.

It would be really nice if there were a way to use a domain with GAE that
did not require Google Apps.

Star this issue:
http://code.google.com/p/googleappengine/issues/detail?id=2587

-Chris

On Tue, Aug 30, 2011 at 8:13 PM, Albert  wrote:

> Hi!
>
> Let's assume I'm building a blogging platform on top of appengine
> which I offer to bloggers. One of the features I want to offer them is
> the ability to customize their domain name.
>
> How do I set this up so that it operates dynamically, instead of me
> having to set up google apps accounts for them one by one?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
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 use any Web services, in particular RESTFull.

2011-08-23 Thread Chris Copeland
This is the group for Google App Engine.  I think the group you want is
http://groups.google.com/group/Google-Web-Toolkit.

On Mon, Aug 22, 2011 at 6:26 PM, Paul Grojean  wrote:

> Hi,
> - I am new to GWT and I wonder how to run some Web services.
>
> - I would like to exchange XML files using RESTFull.
>   So far I used Glassfish, and I wonder if GWT provides a similar
> function?
>   If so, is there a location where I can find some example?
>
> - If not possible or supported, is there any other Web service that I
> should use?
> 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] Trouble using the http://code.google.com/p/python-linkedin/

2011-08-04 Thread Chris Copeland
Hi John,

This is a just a guess since I haven't used that library:  when you're
running in GAE, urllib (which the linkedin lib uses) is actually a wrapper
for GAE's URL Fetch.  GAE's URL Fetch removes some headers and adds others.
If any of those headers are included in generating the checksum, then that
would be your problem.

-Chris

On Thu, Aug 4, 2011 at 8:36 AM, John OBrien wrote:

> Hiya,
>
> I'm a bit of a newbie, so I apologize if the answer to this question is
> obvious. I'm having a bit of trouble using the python linkedin library (
> http://code.google.com/p/python-linkedin/).
>
> When I attempt to use the library from an interactive Python interpreter,
> it works great:
>
> import sys; print('%s %s' % (sys.executable or sys.platform, sys.version))
> /Library/Frameworks/Python.
> framework/Versions/2.5/**Resources/Python.app/Contents/**MacOS/Python
> 2.5.4 (r254:67917, Dec 23 2008, 14:57:27)
> [GCC 4.0.1 (Apple Computer, Inc. build 5363)]
> >>KEY = "xx"
> >>SECRET = "xxx"
> >>RETURN_URL = 
> >>"http://localhost:8080/**settings/linkedin/return
> "
> >>from linkedin import linkedin
> >>api = linkedin.LinkedIn(KEY, SECRET, RETURN_URL)
> >>result = api.requestToken()
> >>print result
> True
> >>print api.getRequestTokenError()
> None
>
>
> However, when I wrap a Google App Engine webapp.RequestHandler around it, I
> get an error:
>
> from linkedin import linkedin
>
>
> from google.appengine.ext import webapp
> from google.appengine.ext.webapp.**util import run_wsgi_app
>
>
> class LinkedInSettings(webapp.**RequestHandler):
> def get(self):
> KEY = ""
> SECRET = ""
> RETURN_URL = 
> "http://localhost:8080/**settings/linkedin/return
> "
> api = linkedin.LinkedIn(KEY, SECRET, RETURN_URL)
> result = api.requestToken()
> print result
> print api.getRequestTokenError()
>
> application = webapp.WSGIApplication([('/settings/linkedin.*',
> LinkedInSettings)])
>
>
> def main():
> run_wsgi_app(application)
>
> if __name__ == "__main__":
> main()
>
>
> This a request to http://localhost:8080/settings/linkedin will print out:
>
> False
> signature_invalid
> Status: 200 OK
> Content-Type: text/html; charset=utf-8
>
>
> Cache-Control: no-cache
> Expires: Fri, 01 Jan 1990 00:00:00 GMT
> Content-Length: 0
>
> Have anyone ever encountered this behavior before? Do you happen to have
> any ideas as to what is going on that might explain why the signature is
> valid when the code is executed from the interpreter, but invalid when
> executed within the webapp.RequestHandler class?
>
> Thank you for time,
>
> Regards,
>
> John
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/DJNLZfBcZhgJ.
> 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] Issues with redirects - getting 302 in browser

2011-08-01 Thread Chris Copeland
Are you testing this from a regular browser?  What you're seeing are the
headers that the browser should be reading.

You could try using django.http.HttpResponseRedirect directly instead of the
shortcut and see if that helps.

-Chris

On Sun, Jul 31, 2011 at 9:04 AM, darrell  wrote:

> Hi,
>
> I'm using Django nonrel with App Engine and having an issue with
> redirects.
>
> Very simple redirects in my view handlers:
>
> @login_required
> def dashboard(request):
>
>   if check_if_user_needs_to_import(request.user):
>
>   return redirect("user_welcome")
>
> Are not redirecting properly in App Engine but rather returning this
> message in the browser:
>
> I've also tried not returning to a view, but to the url itself:
> return redirect('/user/welcome/') and that does not work either.
>
>
> Status: 302 FOUND Vary: Cookie Content-Type: text/html; charset=utf-8
> Location: http://site.appspot.com/user/welcome/
>
> If I enter the URL in again in the browser manually, it loads just
> fine. This appears to only be an issue when using the redirect()
> function, any view using render_to_response() works fine.
>
> Any thoughts would be very much appreciated.
>
> --
> 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] Re: Searching logs in log viewer fails

2011-07-29 Thread Chris Copeland
I'm having a very similar issue.  When searching logs by path, certain log
entries are only shown if I give a "since" date.

I wrote up this issue with repro steps and screenshots.  Please star it if
you're having the same problem:
http://code.google.com/p/googleappengine/issues/detail?id=5448

-Chris

On Thu, Mar 10, 2011 at 11:11 AM, Samuel  wrote:

> For me, there is not a random factor. It always happens. It's perhaps
> a different issue.
>
> Thanks,
> Samuel
>
>
> On 9 mar, 01:56, "Tarush Aggarwal"  wrote:
> > So will this just end after a period of time or is there something you
> have to do? Also how long is the period?
> >
> > Thanks
> > Tarush
> > Sent via BlackBerry by AT&T
> >
> >
> >
> >
> >
> >
> >
> > -Original Message-
> > From: Ron Zalkind 
> >
> > Sender: google-appengine@googlegroups.com
> > Date: Tue, 8 Mar 2011 19:25:34
> > To: google-appengine@googlegroups.com
> > Reply-To: google-appengine@googlegroups.com
> > Cc: Google App Engine
> > Subject: Re: [google-appengine]Searchinglogsinlogviewerfails
> >
> > I've experience this as well.
> > a similar issue happens when you just use next several times. thelogwould
> 'end' at random times.
> >
> > Thanks,
> >
> > Ron
> >
> > On Mar 8, 2011, at 2:22 PM, Samuel  wrote:
> >
> > > Hello!
> >
> > > I've had a little bug in my app and I'd like to retrieve somelogs
> > > from a week ago. If I search in thelogviewerwith filters:
> > > - Show: all requests.
> > > - A regex with the path of the affected request.
> > > - Since: now.
> > > then it works fine. But, if I change the filter "since" and write a
> > > date 7 days ago, then I get no results and other strange behaviour,
> > > like "next page" link is clickable, but another empty result page is
> > > shown.
> >
> > > I've been looking for a known issue, but I had no luck. Should I open
> > > it?
> >
> > > Thanks,
> > > Samuel
> >
> > > --
> > > 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 athttp://
> 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 athttp://
> 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.
>
>

-- 
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: 500 deployment errors, here we go again

2011-07-28 Thread Chris Copeland
It's working again for me now.

On Thu, Jul 28, 2011 at 12:10 PM, andreas schmid wrote:

> same here
>
> On Jul 28, 2011, at 6:48 PM, Robert Lancer wrote:
>
> +1
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/OOBgVbiGCUsJ.
> 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.
>

-- 
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] 500 deployment errors, here we go again

2011-07-28 Thread Chris Copeland
+1

Been happening the last 15 minutes or so.

On Thu, Jul 28, 2011 at 11:38 AM, Pol  wrote:

> Anyone else observing? It's been failing for me for the last 20mn.
>
> Google: is the SLA for the entire app engine stack (including
> deployment) or just its top (the running app)?
>
> -
>
> Application: XXX; version: 953 (was: 1)
> Host: appengine.google.com
>
> Starting update of app: XXX, version: 953
> Scanning files on local disk.
> Cloning 1 static file.
> Cloning 124 application files.
> Cloned 100 files.
> Rolling back the update.
> Error 500: --- begin server output ---
>
> 
> 
> 500 Server Error
> 
> 
> Error: Server Error
> The server encountered an error and could not complete your
> request.If the problem persists, please report your problem and
> mention this error message and the query that caused it.
> 
> 
> --- end server output ---
>
> - Pol
>
> --
> 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] Re: SDK Upgrade 1.5.2: --datastore_path ignored?

2011-07-22 Thread Chris Copeland
Thanks, Matthew.

I was able to update to 1.5.2 and use my existing datastore by adding that
flag.

It would have been useful if the release notes had mentioned that this would
be necessary.

-Chrsi

On Fri, Jul 22, 2011 at 2:39 PM, Matthew Blain wrote:

> That's a clever way to update the appid. I do not know if it works for
> all cases (e.g. it may not work for all reference properties (stored
> keys)) but is a neat trick.
>
> Another way to deal with it is to use the  --default_partition="" flag
> rather than using an older version of the sdk.
>
> --Matthew
>
> On Jul 22, 12:17 pm, c h  wrote:
> > hi all,
> >
> > i *think* that it is honoring your datastore location (though the log
> > message is incorrect), but the change to rename your application to
> > dev~ in development has just rendered all of our test data
> > useless.
> >
> > after re-importing my test data it does look like it is stored where i
> ask
> > it to be, but under the new application name.
> >
> > if you are lucky enough to be using sqlite you can connect to the db and
> > rename some tables to get it to work:
> >
> > sqlite3 local_appname_dev_sqlite.datastore
> > sqlite> .tables
> > Apps
> > IdSeq
> > Namespaces
> > appname!!Entities
> > appname!!EntitiesByProperty
> > appname!namespace!Entities
> > appname!namespace!EntitiesByProperty
> > sqlite> alter table `appname!!Entities` rename to
> `dev~appname!!Entities`;
> > sqlite> alter table `appname!!EntitiesByProperty` rename to
> > `dev~appname!!EntitiesByProperty`;
> > sqlite> alter table `appname!namespace!Entities` rename to
> > `dev~appname!namespace!Entities`;
> > sqlite> alter table `appname!namespace!EntitiesByProperty` rename to
> > `dev~appname!namespace!EntitiesByProperty`;
> >
> > where you substitute 'appname' for your application's name, and
> 'namespace'
> > for your datanamespace.
> >
> > cfh
>
> --
> 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] Re: SDK Upgrade 1.5.2: --datastore_path ignored?

2011-07-22 Thread Chris Copeland
Cat, do you have backups of you datastore files from before you ran 1.5.2?

I was able to get running again by downgrading the SDK to 1.5.1 and
restoring my data files from a backup.

-Chris

On Fri, Jul 22, 2011 at 4:19 AM, Cat  wrote:

> Update: (I'm going nuts)
> I downgraded to 1.5.1 (restored GoogleAppEngineLauncher.app) and still
> the same now ...
> It seems that the upgrade to 1.5.2 did some permanent damage.
> I am absolutely puzzled why --datastore_path= is ignored suddenly.
>
> Here the full startup log:
>
> cat$ /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> dev_appserver.py -d --datastore_path=/Users/cat/repositories/appengine/
> my.datastore -p 8080 .
> INFO 2011-07-22 09:15:00,330 appengine_rpc.py:159] Server:
> appengine.google.com
> INFO 2011-07-22 09:15:21,578 rdbms_sqlite.py:58] Connecting to
> SQLite database '' with file '/var/folders/u5/u5xmrm5gHPGXhfjlyv98u+++
> +TI/-Tmp-/dev_appserver.rdbms'
> INFO 2011-07-22 09:15:21,618 dev_appserver_multiprocess.py:637]
> Running application test on port 8080: http://localhost:8080
>
> On 22 Jul., 09:22, Cat  wrote:
> > Hi,
> >
> > After today's upgrade my datastore is empty and my testdata is not
> > available.
> >
> > I start my SDK Server like this (usually with the MacOS Launcher):
> > dev_appserver.py --datastore_path=/Users/cat/repositories/appengine/
> > my.datastore -p8080 .
> >
> > Strangely --datastore_path is ignored and the dev_appserver uses a new
> > datastore in the tmp directory:
> > INFO 2011-07-22 07:11:11,606 rdbms_sqlite.py:58] Connecting to
> > SQLite database '' with file '/var/folders/u5/u5xmrm5gHPGXhfjlyv98u+++
> > +TI/-Tmp-/dev_appserver.rdbms'
> >
> > Can anyone tell me which flags to set to get my old test datastore
> > back?
> >
> > I would have to create lots of testdata manually that accumlated over
> > the last months.
> >
> > Regards,
> > Cat
>
> --
> 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] Re: SDK Upgrade 1.5.2: --datastore_path ignored?

2011-07-22 Thread Chris Copeland
I'm having a problem that may be related.  I'm using django-nonrel which
sets the datastore path to .gaedata in the project directory.

When I start the server I get a log message that has the correct path:

INFO:root:Connecting to SQLite database '' with file
'/Users/me/workspace/myapp/.gaedata/rdbms'

But when the app starts the datastore is empty.

-Chris

On Fri, Jul 22, 2011 at 4:19 AM, Cat  wrote:

> Update: (I'm going nuts)
> I downgraded to 1.5.1 (restored GoogleAppEngineLauncher.app) and still
> the same now ...
> It seems that the upgrade to 1.5.2 did some permanent damage.
> I am absolutely puzzled why --datastore_path= is ignored suddenly.
>
> Here the full startup log:
>
> cat$ /Applications/GoogleAppEngineLauncher.app/Contents/Resources/
> GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
> dev_appserver.py -d --datastore_path=/Users/cat/repositories/appengine/
> my.datastore -p 8080 .
> INFO 2011-07-22 09:15:00,330 appengine_rpc.py:159] Server:
> appengine.google.com
> INFO 2011-07-22 09:15:21,578 rdbms_sqlite.py:58] Connecting to
> SQLite database '' with file '/var/folders/u5/u5xmrm5gHPGXhfjlyv98u+++
> +TI/-Tmp-/dev_appserver.rdbms'
> INFO 2011-07-22 09:15:21,618 dev_appserver_multiprocess.py:637]
> Running application test on port 8080: http://localhost:8080
>
> On 22 Jul., 09:22, Cat  wrote:
> > Hi,
> >
> > After today's upgrade my datastore is empty and my testdata is not
> > available.
> >
> > I start my SDK Server like this (usually with the MacOS Launcher):
> > dev_appserver.py --datastore_path=/Users/cat/repositories/appengine/
> > my.datastore -p8080 .
> >
> > Strangely --datastore_path is ignored and the dev_appserver uses a new
> > datastore in the tmp directory:
> > INFO 2011-07-22 07:11:11,606 rdbms_sqlite.py:58] Connecting to
> > SQLite database '' with file '/var/folders/u5/u5xmrm5gHPGXhfjlyv98u+++
> > +TI/-Tmp-/dev_appserver.rdbms'
> >
> > Can anyone tell me which flags to set to get my old test datastore
> > back?
> >
> > I would have to create lots of testdata manually that accumlated over
> > the last months.
> >
> > Regards,
> > Cat
>
> --
> 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] using none google apps domains to alias a google apps based app engine custom domain

2011-06-13 Thread Chris Copeland
+1:  I have the exact same need for one of my applications.  I'm sure other
people must have faced this as well as more and more commercial apps are
built on GAE.

The only solution I have considered is to run a proxy on EC2 or somewhere
but that is really not ideal.  I may just use that as a fallback for
customers who refuse Google Apps registration.

-Chris

On Mon, Jun 13, 2011 at 4:16 PM, ddelrivero  wrote:

> Hi App Engine team,
>
> I have an special requirement for my app engine app, it will be a
> consumer app where users will sign up and will be able to map their
> custom domain name (probably most of them none google apps users) to
> their own account inside my web app.
> let's say the web app's url is:  www.mysupercoolapp.com ( an app
> engine app using a custom domain setup with google apps)
> users can create their normal accounts and will be named like:
> www.mysupercoolapp.com/useraccountname
> but I want them to be able to associate their own domain name, let's
> say: www.customerdomain.com to their account, so when you type
> www.customerdomain.com it will be an alias of www.mysupercoolapp.com
> and I can detect it looking at the url host name and load their
> account.
>
> I know 2 ways of doing it:
>
> 1- I can make them create a google apps account with their own domain
> name and then tell them to add my app engine .appspot.com as a
> service
> inside their admin account and map a subdomain to this service,
> mysupercoolapp.appspot.com mapped to www.customerdomain.com.
>
> 2- I can create a domain alias inside my google apps account, adding
> manually customerdomain.com (which is not using google apps), then
> make them do some verification of ownership then I can map
> mysupercoolapp.appspot.com to a subdomain of customerdomain.com and
> again do dns changes... (any way I don't want to pollute my account
> with domains I don't own).
>
> NONE of those are in any way a good solution for my business, I don't
> want to force them create a google apps account and do
> configurations,
> nor do any manual stuff, it would be a horrific and bad user
> experience...
>
> Can you please point me how can I solve this as trasparent as
> possible ? be able to receive customers with their domain names
> (google apps users or not google apps users) and alias them to my
> google apps custom domain name running an App Engine app,  just
> asking
> them just to change dns records (as most websites do). I came up with
> the idea that if you had a provisioning api to programmatically do
> the
> first solution I mentioned it could solve this in some way,but it
> would be wasteful to create google apps accounts just to do the
> mapping of custom domains... I hope you have or will have soon a
> solution for this.
>
> Thank you.
> Damian
>
> --
> 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] Re: Sending result tuples through many http responses

2011-06-13 Thread Chris Copeland
I've not used that particular code (looks like it is written for Django
0.96) but the Django Paginator is designed for RDBMS that support LIMIT and
OFFSET parameters.  On App Engine this is going to result in having to fetch
all the data from the first each time.

Scalable pagination on App Engine will require using cursors:
http://code.google.com/appengine/docs/python/datastore/queries.html#Query_Cursors

-Chris

On Mon, Jun 13, 2011 at 2:30 PM, Joe  wrote:

> have you tried using Django Paging? just request each page in turn
> until you get all the data you need..
> (i've never used it for such a large dataset so no idea how it will
> perform!)
>
> Try this link:
>
> http://appengine-cookbook.appspot.com/recipe/simple-pagination-djangocorepaginator
>
>
>
>
> On Jun 10, 4:49 pm, Robert Kluin  wrote:
> > Hi Bruce,
> >   One option might be the Channel API, depending on what your client
> > is written in.  I assume you're not sending that many results to a
> > browser though, so it might not work for you.
> >http://code.google.com/appengine/docs/python/channel/
> >
> >   Another option would be for your client to submit the request, then
> > you could kick off a background job (using tasks) to write the result
> > set to the blobstore, and once complete the client could download the
> > blob and process it.  You're client would need to periodically check
> > with the server to know when the query is complete.
> >
> http://code.google.com/appengine/docs/python/blobstore/overview.html#...
> >
> >   And, the most basic solution to implement from the server side would
> > be to use cursors. If you can adjust the client to download chunks at
> > a time, this would probably be the easiest.
> >
> http://code.google.com/appengine/docs/python/datastore/queries.html#Q...
> >
> > Robert
> >
> >
> >
> >
> >
> >
> >
> > On Thu, Jun 9, 2011 at 06:06, Bruce Aloe  wrote:
> > > Hello,
> >
> > > I store quite a lot of data (e.g 10 million) tuples (rows) in my
> > > Person kind (table) at GAE datastore. Now i want to query the Person
> > > kind from my web application.  For example my web application sends a
> > > query (e.g select * from Person where height < 2) through a http
> > > request to my server (python code) and the server gets the query and
> > > run it in order to generate the result tuples. For this query (select
> > > * from Person where height < 2), the server will generate quite big
> > > dataset (tuples) back since not many people are taller than 2m. Due to
> > > the generated result tuples are too big, i can not send the whole
> > > result tuples in one time through a http response to my web
> > > application. Therefore, i use cursor with the query and each time
> > > generate a partial result tuples (e.g 1) from the total result
> > > tuples generated by running the query and try to return the 1
> > > result tuples each time through a http response. As you might realize,
> > > i send just one http request with a query to my server and want my
> > > server to send many http responses to my web application and each
> > > response carries 1 result tuples to my web application.
> >
> > > My question is: How can my server sends many http responses back to my
> > > web appilcation for a http request sending from my web application?
> >
> > > Thank you very much!
> >
> > > Bruce
> >
> > > --
> > > 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 athttp://
> 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.
>
>

-- 
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: delete all data (tuples) for a kind(table) in google app engine datastore

2011-05-30 Thread Chris Copeland
Use Datastore Admin Bulk Delete
http://code.google.com/appengine/docs/adminconsole/datastoreadmin.html#Deleting_Entities_in_Bulk

-Chris

On Mon, May 30, 2011 at 8:03 AM, Francois Masurel wrote:

> I know it won't help much but you can increase the "limit" URL parameter to
> 200.
>
> You'll go ten times faster then :-)
>
> Otherwise you'll have to make a task and use a cursor.
>
> Francois
>
> --
> 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] Succesful deployment, but pages on custom domain don't reflect the changes

2011-05-30 Thread Chris Copeland
It sounds like it might be this issue.  Please star it.
http://code.google.com/p/googleappengine/issues/detail?id=5040

I have found that deleting the old version will force the new one to be
served.

BTW, using your phone is no guarantee you won't be going through a proxy
cache.

-Chris

On Sat, May 28, 2011 at 9:44 PM, Hugo  wrote:

> Has anyone else run into this? I have a (mostly static content)
> application running on the python appengine. I can deploy my app
> without a problem.
>
> If I access the app on the appspot.com domain after deploying, the
> pages reflect the changes as expected (e.g mysite.appspot.com/
> index.html)  but the exact same pages accessed on my custom domain
> (www.mysite.com/index.html) are completely unaffected by the
> deployment.
>
> Of course I did my best to flush any cache I could think of, starting
> with the browser (...and checking that I was getting 200 statuses, not
> 304...), I use my phone to access the site over 3g and bypass any
> possible proxy cache, not to avail.
>
> I'm running out of ideas, if you have a hint, please share it!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> 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] Re: Getting one bill a month for the App Engine Usage

2011-04-01 Thread Chris Copeland
I had a similar problem where I got a 30 cent bill but my bank refused to
process a debit card charge of 50 cents or less.  It was really a pain to
figure out the problem and fix it.

On Fri, Apr 1, 2011 at 2:12 PM, PK  wrote:

> +1 on this (low priority though)
>
> We have a pilot project that gets charged 7c a week... It drives the
> accountant crazy. I find it amusing that Google (as in Google App
> Engine) charges our credit card 7c every Monday but Google (as in
> Google ads) will not send us a check until the amount reaches $10.00
> because of overhead reasons...
>
> I suggest GAE charges as often as once a day when the balance exceeds
> $100.00 but  once a month if the amount is below that, or something
> along these lines so we only get many accounting entries if the amount
> justifies the overhead.
>
> PK
> www.gae123.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.



Re: [google-appengine] app engine noob... General questions about the app engine

2011-03-28 Thread Chris Copeland
I'd say it is well-suited to storing and serving images submitted by your
users.  Just store them in the blobstore and serve them up with the
High-Performance Image Serving.  It is mentioned in this blog post:

http://googleappengine.blogspot.com/2010/08/multi-tenancy-support-high-performance_17.html

If you need to do lots of complicated image transforms, then AE may not
provide enough features, but for simple crops and resizes it works well.

-Chris

On Fri, Mar 25, 2011 at 5:54 PM, ICPooreMan  wrote:

> So I'm just getting started evaluating if the app engine is right for
> me and I like what I've seen so far.  There's a couple things I'm
> curious about though.
>
> 1)  Can you and how do you get a backup of the database.  I haven't
> found anything on this subject that looks current.  Can anyone point
> me in the right direction?
>
> 2)  Does the app engine lend itself to hosting a decent amount of
> uploaded images?  I'm planning on building a website where if it ever
> got a large amount of traffic there'd be a good amount of user
> generated content especially pictures.
>
> --
> 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] "Add new URL " with google apps not working

2011-03-28 Thread Chris Copeland
I had the same problem on Saturday.  After entering the host name and
clicking the button the form would submit and the same page would load
back.  The host name did not get added nor was any error displayed.  I kept
trying over the course of 10 minutes and it eventually worked.

On Mon, Mar 28, 2011 at 12:30 PM, Robert Kluin wrote:

> You should probably explain the steps you've tried, and how it is 'not
> working.'  Do you get an error adding the subdomain?  Does the domain
> get added but you get 404 errors?  Does something else happen?
>
>
> Robert
>
>
>
>
>
> On Mon, Mar 28, 2011 at 12:35, Chris Collins  wrote:
> > Hi I am trying to add a sub domain to a google app engine app to my
> > main Google Apps account. It has working the past and it is now no
> > longer working. Does any one have an idea of what I can do to get it
> > working.
> >
> > Chris
> >
> > --
> > 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.
>
>

-- 
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] SPF Records for App Engine?

2011-03-27 Thread Chris Copeland
If you are sending from an address f...@yourdomain.com and yourdomain.com is
setup with Google Apps, then here are the instructions:
http://www.google.com/support/a/bin/answer.py?answer=178723

If that doesn't help (Yahoo may still be a problem for you), then just use
Postmark or Amazon.

-Chris

On Sun, Mar 27, 2011 at 4:28 PM, Dave Peck  wrote:

> My sign-up validation emails are ending up in users' junk mail
> folders.
>
> What's the scoop with SPF records for App Engine? I found a few older
> posts on this group about it, but nothing from a GOOG employee or
> pointing to official GOOG documentation.
>
> Could someone point me in the right direction here?
>
> Thanks,
> Dave
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> 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] Yahoo Classing GAE Mail as Spam

2011-03-24 Thread Chris Copeland
Do you have an SPF record setup for your domain?  I found that helped with
deliverability to Yahoo when using my own domain's email addresses.

On Wed, Mar 23, 2011 at 9:18 PM, Greg  wrote:

> I've noticed a couple of posts previously where mail from 
> *.appspot.comaddresses was classed as spam by Yahoo, but they may now be 
> doing this with
> mail from custom domains too. Has this started happening to anyone else
> recently?
>
> I'm ten days into an attempt to get my domain whitelisted, but Yahoo keep
> coming back asking for the IP address of my mail server despite careful
> explanations about Appengine. I replied to the last one by asking them what
> the IP address of Yahoo Mail's mail server was - hopefully that will get the
> concept across!
>
>  --
> 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] Re: Google Checkout

2011-03-04 Thread Chris Copeland
I just recently completed a Google Checkout integration for my GAE app.  The
fact that you are on GAE makes no difference except that if you do a level 2
integration you will have to use your app-name.appspot.com URL for the
callbacks since Google Checkout requires the callback URL to be secure.

All that said, if I had it to do over, I would definitely go with Pay Pal
(or someone else).  Checkout seems to be an abandoned product within
Google.  There are long-standing bugs that prevent some users from paying
and support (even for merchants) is almost nonexistent.

-Chris

On Fri, Mar 4, 2011 at 1:01 PM, anton savchuk wrote:

> I see.. thank you. Could you recommend some third-party libraries?
>
> --
> 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] AppEngine seems slow to me. Is it normal?

2011-02-22 Thread Chris Copeland
Django's Paginator is not going to be efficient on GAE and is definitely not
going to scale.

GAE provides cursors which are a very efficient way to page through query
results:
http://code.google.com/appengine/docs/python/datastore/queries.html#Query_Cursors

On Tue, Feb 22, 2011 at 3:57 PM, tobik  wrote:

> I built a page using Django's Paginator which displays a simple table
> with 20 items from around 1000 total stored in database. I don't know
> how the Paginator works from the inside, but according to the
> appstats, it makes two queries (first counts items, second selects
> given page) and each one of them takes around 130ms of cpu time. Is it
> a normal value? The truth is that the page loads noticeably slower
> than a page without any queries. And I also counted, that with 6.5 cpu
> hours limit I can afford around 3000 such queries every day which is a
> quite small number. And it's only 1000 entries in the database.
>
> So far I've been using PHP+MySQL and I am used to that such simple
> queries are really fast, even on poor free hostings. I tried to apply
> caching on every single page generated by Paginator and it naturally
> reduced the loading time to minimum. So is it the right approach to
> AppEngine? Cache everything as much as possible?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> 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] Own Website deployment in Google App Engine - Java

2010-12-27 Thread Chris Copeland
You can use your domain.  See
http://code.google.com/appengine/docs/domain.html

Note, however, you can't use MySql.  You'll need to use the App Engine
Datastore.

On Sat, Dec 25, 2010 at 6:50 PM, Arulselvan wrote:

> Hi
>
> I have purchased a website from domain provider. Now I have developed
> a java application for my website. Technologies I used are Java, JSP,
> Servlet, Hibernate, MySql. Fyi my website is not free domain, its a
> complete website like www.mywebsite.com
>
> Can I use google App engine to deploy the application so that I can
> use my java application as my website. I dont want to type
> www.mywebsite.appengine.com, i want to use www.mywebsite.com
>
> Please guide me the steps.
>
> Thanks,
> Arul Selvan. 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-appeng...@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-appeng...@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] google apps wildcard subdomains at godaddy

2010-12-14 Thread Chris Copeland
Yep, GoDaddy does not support this.

There are a couple of other options mentioned in this Stack Overflow
question:
http://stackoverflow.com/questions/4135831/wildcard-subdomain-on-google-app-engine-alternatives-to-godaddy-domains/4140169

On Tue, Dec 14, 2010 at 6:31 AM, Edel SM  wrote:

> On Tue, Dec 14, 2010 at 7:15 PM, Roberto Saccon  wrote:
> > google apps lets me define wildcard subdomains
> > e.g.: http://*.mydomain.com
> > but when saving the wildcard entry, a message from Google shows up that I
> > also need do adjust at godaddy the CNAME '*' to ghs.google.com
> > So I try to do that at the godaddy DNS panel, but here is the end of the
> > game, godaddy says that a wildcard CNAME is not allowed.
> > So how have others solved this ? Switched to another DNS provider ? Which
> > one ? Or did I just so something wrong ?
>
> i have no experience with godaddy dns panel, but i use mydomain.com
> and cloudflare.com, and wildcard is supported.
>
> > --
> > Roberto
> >
> > --
> > 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-appeng...@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.
> >
>
>
>
> --
> edel
>
> --
> 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-appeng...@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-appeng...@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] Is it possible to change the time in the Dashboard/logs...

2010-12-05 Thread Chris Copeland
You can star this issue:
http://code.google.com/p/googleappengine/issues/detail?id=734

There are also some comments there with browser scripts to do the conversion
locally.

-Chris

On Sun, Dec 5, 2010 at 3:57 PM, Zeynel  wrote:

> ... to my local time?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@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-appeng...@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] Is there anyone here who uses Images Python API?

2010-12-04 Thread Chris Copeland
You must use urlfetch to http post to the blobstore upload handler. 

It is kinda a pain. I noticed that programmatic writes of blob data is on the 
dev roadmap. 


On Dec 4, 2010, at 9:06 AM, Zeynel  wrote:

> To write an image to datastore? Can you help?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@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-appeng...@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] Confused on how entity groups are locked in transaction?!

2010-12-03 Thread Chris Copeland
In your example you would have two entity groups:

*Group 1:
*Person: 1 Aravind
Car:  Ford  #258

*Group 2:
*Person: 2 Hari
Car: Maruti  #456
Car: Mercedes  #456

When you create the Car entities, specify their parent as the Person entity
that owns them.  This is what places them in the same entity group.

It is not necessary for the Car to have a explicit reference to the Person
-- this can be handled with the Key alone.

Now, if Aravind updates his car info, only Entity Group 1 will be "locked"
and this will scale well since your entity groups are limited to one user's
worth of data.

-Chris

On Fri, Dec 3, 2010 at 1:29 PM, har_shan  wrote:
> Am learning GAE and got a bit confused on this.
> Lets say i have a sample model
>
> Person (parent)   {id, name, List}
> Car {make, model, Person}
>
> (1 - m relationship) say
>
> So both are in same entity groups (lets say i want to transact them
> together).
>
> Sample data:
> Person: IDNAME
> 1 Aravind
> 2 Hari
>
> Car
>MAKE MODEL
>  Ford#258 {Aravind}
>  Maruti #456 {Hari}
>  Mercedes#456 {Hari}
>
> According to
http://code.google.com/appengine/articles/scaling/contention.html
> 'Keep entity groups small' and also read in other places,
> i see that when you update a entity in an entity group in a
> transaction, entity group is locked, so when other process tries
> updating same entity group it fails/aborts.
>
> So my doubt is, does this mean that if Aravind updates his Car data,
> then Hari can't update his Car data at the same time, since both
> entities fall under same entity group (and hence it has to be retried
> to get it passed).
> (if above is true, does it mean that when above update is done
> concurrently by say 1K users then most of them would fail!)
>
> or i just understood it wrongly
> and does this apply only to each individual's data i.e. in above e.g.
> another process just can't update Aravind's Car data (when Aravind is
> actually updating Car data)
> but CAN update Hari's Car data (and hence other's Car data).
>
> Thanks,
>
> --
> You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
> To post to this group, send email to google-appeng...@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-appeng...@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] Logging info missing

2010-12-02 Thread Chris Copeland
Please star this issue:
http://code.google.com/p/googleappengine/issues/detail?id=3338

Out of the 111 unacknowledged production issues, this is currently #1 with
19 stars.

On Thu, Dec 2, 2010 at 11:59 AM, Andy  wrote:

> So, whenever I am able to access the admin panel while it's not
> erroring, I'm trying to view the request logs.
>
> But all the logging info is missing - debugs, infos, errors, all gone.
>
> I also get a 500 error when trying to download the request logs.
>
> --
> 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-appeng...@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-appeng...@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] Log inconsistencies starting at 11.30am (EST) [critical]

2010-12-01 Thread Chris Copeland
Please star this issue:
http://code.google.com/p/googleappengine/issues/detail?id=3338

Several people saw similar cuts at 9:52am PST on 11/26/10.  My logging came
back yesterday but now it is gone again.

*Google, will someone please respond even if just to say you are aware of
the problem?
*
On Wed, Dec 1, 2010 at 11:54 AM, Sundar  wrote:

> We're having a problem with our logs on one appid. Since 12-01 08:46AM
> 31.565 we have no debug logs. And all our other logs are truncated. We're
> having problems that seem to be related to the datastore and memcache, but
> are unable to figure out what's going on since the logs are incorrect.
>
> This is only on one appid (fpgamesserver-stage) and not on others (which
> are code-copies of this one)
>
> --
> 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-appeng...@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-appeng...@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: logging seems be disabled in my app

2010-11-30 Thread Chris Copeland
My log information has started showing up again for new requests (it is
still missing for older ones).  Is anyone else seeing this?

On Sun, Nov 28, 2010 at 9:44 AM, Philip  wrote:

> Logging does not work correctly for my dev app (id: d-crawl). There is
> already an issue, although it is very old everyone who is also
> affected should star it:
> http://code.google.com/p/googleappengine/issues/detail?id=3338
>
> On Nov 28, 2:56 pm, Chris Copeland  wrote:
> > Logging has ceased on two of my apps as well.
> >
> > Last recorded entry was at 11/26/2010 at 07:52 PST just as others have
> > indicated.
> >
> >
> >
> >
> >
> >
> >
> > On Sat, Nov 27, 2010 at 5:17 PM, Sam G  wrote:
> > > Logging disabled in my app as well... along with the intermittent 500
> > > errors on pages that should be working fine.
> >
> > > On Nov 26, 8:30 pm, pdknsk  wrote:
> > > > Likewise. I've suddenly also been getting 500 errors, which I can't
> > > > investigate since no error is in the logs. Quite frustrating.
> >
> > > --
> > > 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 e...@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-appeng...@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-appeng...@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: logging seems be disabled in my app

2010-11-28 Thread Chris Copeland
Logging has ceased on two of my apps as well.

Last recorded entry was at 11/26/2010 at 07:52 PST just as others have
indicated.

On Sat, Nov 27, 2010 at 5:17 PM, Sam G  wrote:

> Logging disabled in my app as well... along with the intermittent 500
> errors on pages that should be working fine.
>
> On Nov 26, 8:30 pm, pdknsk  wrote:
> > Likewise. I've suddenly also been getting 500 errors, which I can't
> > investigate since no error is in the logs. Quite frustrating.
>
> --
> 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-appeng...@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-appeng...@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] Is there anyway to locally test a GAE + Facebook?

2010-11-23 Thread Chris Copeland
You need a publicly accessible IP that Facebook's servers can hit to load
the contents of your canvas page.  (127.0.0.1 is a special loopback address
that is only valid on your computer.)

I suggest using a service like DynDNS to register a host name like
myapp.homeip.net and then use their tools to automatically update DNS
records with your current IP as it changes (assuming you don't have a
static, public IP for your dev machine).  Then update your Facebook app
settings to point to this host name.

If you are behind a firewall/NAT you will need to make a hole in that and/or
configure port forwarding.

When you start your local server you will need to bind it to your LAN
address instead of loopback.  Eg. "-a 192.168.1.1"

I have also found it useful to create two separate Facebook apps.  One for
testing where it points to your dev machine and one for production that
points to Google.

-Chris

On Tue, Nov 23, 2010 at 11:09 AM, nacho  wrote:

> This is more a facebook apps question, but i would like if some gae
> developers have experience doing this.
>
> I need to develop a Facebook app, and i want to do my back in gae and
> my front in gwt. Easy task.
>
> My question is this: how can i locally test my fb app?
>
> My app must run on Facebook app's canvas (ie: iframe). So i created a
> new app, put a app_id and in the canvas url the following:
> http://127.0.0.1/MyApp.html
>
> But when i go to apps.facebook.com/myapp i get a blank page. I think
> that i can't test locally, so i have to deploy to appengine and put my
> appengine url in the facebook canvas url. But every deploy takes me
> 4 / 8 minutes :(
>
> Is there any way to locally test my fb app using gae?
>
> --
> 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-appeng...@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-appeng...@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] Is percent encoding valid in URL to the images service (from get_serving_url)?

2010-11-17 Thread Chris Copeland
Thanks for the reply.  The example you gave does not work for me.  I get the
full size image returned (430x293).  I think that the querystring is just
ignored by ggpht servers.

Also, on the dev_appserver, adding the query string generates an exception.

Based on reading RFC 3986 Section
2.2,
I think it is now clear that Facebook is in the wrong here.  The RFC states
that "=" is a reserved character and should not be escaped.

As a workaround, I have created my own handler (with simple URL) that
retrieves the image and streams it back.

-Chris

On Mon, Nov 15, 2010 at 8:25 PM, 风笑雪  wrote:

> Maybe you can try to replace as:
>
> http://lh4.ggpht.com/n6Tg_8uEu-nS_5ugZ4L5FpFwZ4koEozGfgpo3B84hjxcGRENdX31xzW_r7lD2u7lEd99hxn7jiRULxKA4D8?s=400
>
> --
> 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-appeng...@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-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Is percent encoding valid in URL to the images service (from get_serving_url)?

2010-11-15 Thread Chris Copeland
Hi folks, I am trying to determine if this is a Google bug or not.

I have images stored in the blobstore and use get_serving_url() to get URLs
to them.  These URLs always have a least one equals sign (=).  If the sign
is encoded as %3D, then the images service returns 404.

Example:

Works:
http://lh4.ggpht.com/n6Tg_8uEu-nS_5ugZ4L5FpFwZ4koEozGfgpo3B84hjxcGRENdX31xzW_r7lD2u7lEd99hxn7jiRULxKA4D8=s400
404:
http://lh4.ggpht.com/n6Tg_8uEu-nS_5ugZ4L5FpFwZ4koEozGfgpo3B84hjxcGRENdX31xzW_r7lD2u7lEd99hxn7jiRULxKA4D8%3Ds400

The URL is getting encoded by Facebook so I have no control over it.  It
seems like a Google bug since %3D is the correct escape for =.  Is there
anything I'm missing?

-Chris

Link to Stack Overflow question:
http://stackoverflow.com/questions/4179906/

-- 
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-appeng...@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: Blobstore upload handler is Base64 encoding strings?

2010-11-13 Thread Chris Copeland
In Python the text is encoded as quoted printable (I think).

See issue 
#3761and
Stack
Overflow 
question.


I've worked around it by decoding with quopri if the post is coming through
the blob uploader.

On Sat, Nov 13, 2010 at 9:30 AM, Satoshi  wrote:

> I also wrote an upload code in Objective-C, explicitly specifying the
> "Content-Type: text/plain; charset=UTF-8",
> but got the same result as HTML form sample above.
>
> "日本語" becomes "5pel5pys6Kqe"
>
> Satoshi
>
> On Nov 13, 7:01 am, Satoshi  wrote:
> > I wrote a test code, and verified this bug (it happens in Japanese as
> > well).
> >
> > Here is the form:
> >
> >  > enctype="multipart/form-data">
> > 
> > File:
> > 
> > 
> > 
> > 
> > Description
> > 
> > 
> > 
> >
> > Satoshi
> >
> > On Nov 12, 11:52 am, "Ikai Lan (Google)" 
> > 
> >
> > wrote:
> >
> >
> >
> > > Do you guys have any sample code? I'm testing this and seeing that the
> local
> > > dev server gives me some strange characters (I'm using Java). What does
> the
> > > form look like? How are you reading the input from the form submission?
> >
> > > --
> > > 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 Fri, Nov 12, 2010 at 5:09 AM, msmart  >wrote:
> >
> > > > I ran into the same issue.
> >
> > > > Has anyone found the corresponding issue in the bug tracker (or a
> nice
> > > > workaround)?
> >
> > > > Michael.
> >
> > > > On 26 Okt., 09:28, Kenneth  wrote:
> > > > > This is a pretty shocking bug (or lack of documentation?) from
> > > > > Google.  There doesn't appear to be a consistent way to decode the
> > > > > post results that come from the BlobstoreUploadHandler.  There was
> a
> > > > > bug in the issues list for this but I can't find it.  I should put
> in
> > > > > another one really but there doesn't seem to be any point.
> >
> > > > > What I do is when the user hits the submit button I send the form
> > > > > results via an ajax request and once that returns I submit the form
> to
> > > > > do the file upload.
> >
> > > > > Pretty sad you have to do that and it means you're requiring
> > > > > javascript for something that really shouldn't need it.
> >
> > > > > On Oct 25, 10:49 am, Agustin Horischnik  wrote:
> >
> > > > > > Hey, no luck with this? Did you solve this at all?
> >
> > > > > > On Aug 31, 12:40 pm, Agustin Horischnik 
> wrote:
> >
> > > > > > > I think I'm having the same issue...
> >
> > > > > > > I have a multi-part form posting to ablobstoreuploadhandler.
> > > > > > > There's four form fields:
> >
> > > > > > > 2 input type=file
> > > > > > > 1 input type=text
> > > > > > > 1 textarea
> >
> > > > > > > Those map to...
> >
> > > > > > > 2blobstore.BlobReferenceProperty
> > > > > > > 1 StringProperty
> > > > > > > 1 TextProperty
> >
> > > > > > > ... respectively, on my model class.
> >
> > > > > > > And the problem is... when I submit an input string such as "á
> é í ó
> > > > ú
> > > > > > > and ñ", I get: "IuEg6SDtIPMg+iBhbmQg8SI=", both on the
> StringProperty
> > > > > > > and TextProperty.
> > > > > > > At least, this is what I see on the Data viewer or when I
> output on
> > > > > > > the app.
> >
> > > > > > > Any workarounds you can think of? Anybody else is having this
> > > > problem?
> >
> > > > > > > On Aug 3, 3:54 pm, ekampf  wrote:
> >
> > > > > > > > yep..
> > > > > > > > It doesnt happend on the local dev server... its definately
> > > > something
> > > > > > > > undocumented happening on AppEngine
> >
> > > > > > > > On Aug 3, 10:54 am, alon  wrote:
> >
> > > > > > > > > it outputs as abase64string? im guessing the post is
> multi-part
> > > > post
> > > > > > > > > right?
> >
> > > > > > > > > On Aug 3, 10:39 am, ekampf  wrote:
> >
> > > > > > > > > > This happens when text fields are sent via POST and go
> through
> > > > the
> > > > > > > > > >Blobstoreuploadhandler.
> > > > > > > > > > When English text is used I get the text.
> > > > > > > > > > When Hebrew is used I get abase64string...
> >
> > > > > > > > > > I'm not looking at the datastore dashboard. I'm looking
> at the
> > > > actual
> > > > > > > > > > POST data (via logging)
> >
> > > > > > > > > > On Aug 3, 10:18 am, alon  wrote:
> >
> > > > > > > > > > > Does that happen everytime on theblobstoreonly api? or
> > > > regular text -
> >
> > > > > > > > > > > > datastore?
> >
> > > > > > > > > > > One more thing, there is a huge difference on how the
> text is
> > > > being
> > > > > > > > > > > displayed on the datastore dashboard. are you sure its
> being
> > > > saved as
> > > > > > > > > > >base64? the pageencodingfor the production datastore
> browser
> > > > is
> > > > > > > > 

Re: [google-appengine] Hi there, new boy in GoogleAppEngine

2010-11-08 Thread Chris Copeland
Looks like tinypm
requiresa
SQL database, so no.

On Mon, Nov 8, 2010 at 8:46 AM, Alexandre Yin wrote:

> Hi all,
>
> as topic name says, i am new in this community.
>
> I wonder if you can help me find out 1 thing: it is possible to install a
> free software like http://www.tinypm.com/ here? How?
>
>
> 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-appeng...@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-appeng...@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: Attempts to deploy result in 500 Server Error

2010-11-06 Thread Chris Copeland
+1

Can't deploy.  Can't access console.  Maintenance isn't scheduled to start
for 2.5 hours.


Error 500: --- begin server output ---

Error: Server Error
The server encountered an error and could not complete your
request.If the problem persists, please http://code.google.com/appengine/community.html";>report your problem and
mention this error message and the query that caused it.


On Sat, Nov 6, 2010 at 11:17 AM, Jeremy Benetz wrote:

> I'm getting 500 errors  when simply trying to open the admin console for my
> apps.  Something is seriously wrong with the app engine this morning.
>
>  --
> 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-appeng...@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-appeng...@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] Deployment having issues.

2010-10-19 Thread Chris Copeland
Others on the Python list are reporting this as well.

You can star this issue and add your details:
http://code.google.com/p/googleappengine/issues/detail?id=3905

-Chris

On Mon, Oct 18, 2010 at 2:24 PM, johnP  wrote:

> Having deployment issues from 11:40PDT -->  ?
>
> Symptoms:
>
> 1.  When uploading, it Checks if version is ready to be served..
> Until it gives up.
> 2.  Switched from version X to version Y in Versions screen.  The
> Versions screen says that Y is the default version.  But it continues
> to serve X (7 instances of X running, and 0 instances of Y running,
> over 30 minutes later).
>
> And the usual existential question:  Is this for everyone?  Or is it
> just me???
>
> :)
>
> johnP
>
> --
> 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-appeng...@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-appeng...@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] Preventing "django 1.1 was requested, but 0.96.4.None is already in use"

2010-07-23 Thread Chris Copeland
Hi,

I'm not sure about your exact problem, but I solved similar competing Django
version issues by adding the following at the top of main.py:

for k in [k for k in sys.modules if k.startswith('django')]:
del sys.modules[k]

-Chris

On Fri, Jul 23, 2010 at 7:42 AM, Blixt  wrote:

> This issue seems to occur if using the Admin console (which I use to
> execute arbitrary code on live data), and a new instance is started
> (thus loading Django 0.96 before my code gets a chance to load 1.1).
> Is the only solution to not use the Admin console, and instead use
> some kind of remote datastore solution?
>
> Oh and by Admin console I mean I have added this line to my app.yaml:
>
> - url: /admin/.*
>  script: $PYTHON_LIB/google/appengine/ext/admin
>  login: admin
>
> --
> 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-appeng...@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-appeng...@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: Problem with having 1 Persistable w/array of all objects?

2010-07-21 Thread Chris Copeland
On Mon, Jul 19, 2010 at 12:47 AM, coltsith  wrote:

> Well I want to have a sorted list of all the accounts, since I will
> have a sort of 'bulletin board' of ranked users. Like a Top 100 list.
>

Just do a query for what you want.  Example:

top100 = User.all().order('-awesomeness').fetch(100)

If you are concerned about the performance of doing this query often, then
store the results in memcache.

Perhaps I should just have an object with a sorted list of the user
> ids instead?
>
> On Jul 15, 1:37 pm, Chris Copeland  wrote:
> > This is probably not a good idea.  What are your access pattens for this
> > entity?  How many accounts do you usually need to retrieve at once?  How
> > often is an account updated?
> >
> > If you normally access just a few accounts, then you are incurring the
> cost
> > of retrieving all of them every time unnecessarily.
> >
> > When you need to update an account you are incurring the cost of
> > deserialization/serialization for the entire list.  This will also lead
> to
> > contention when multiple users are updating their accounts.
> >
> > -Chris
> >
> >
> >
> > On Wed, Jul 14, 2010 at 11:46 PM, coltsith  wrote:
> > > I had an idea the other day, but know there's probably some issue I'm
> > > not realizing.
> >
> > > Let's say you have an Account object that represents a registered
> > > user. Instead of having multiple Account objects that you persist to
> > > the datastore, why not have 1 object (ie AccountList) that you
> > > persist, and that object has an array all the Accounts.
> >
> > > So if you want to pull up multiple Accounts or even all of them, it's
> > > just 1 query to the datastore to get AccountList.
> >
> > > What major issues (if any) would I run into using this model?
> >
> > > Thanks
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google App Engine" group.
> > > To post to this group, send email to google-appengine@googlegroups.com
> .
> > > To unsubscribe from this group, send email to
> > > google-appengine+unsubscr...@googlegroups.com e...@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-appeng...@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-appeng...@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] Problem with having 1 Persistable w/array of all objects?

2010-07-15 Thread Chris Copeland
This is probably not a good idea.  What are your access pattens for this
entity?  How many accounts do you usually need to retrieve at once?  How
often is an account updated?

If you normally access just a few accounts, then you are incurring the cost
of retrieving all of them every time unnecessarily.

When you need to update an account you are incurring the cost of
deserialization/serialization for the entire list.  This will also lead to
contention when multiple users are updating their accounts.

-Chris

On Wed, Jul 14, 2010 at 11:46 PM, coltsith  wrote:

> I had an idea the other day, but know there's probably some issue I'm
> not realizing.
>
> Let's say you have an Account object that represents a registered
> user. Instead of having multiple Account objects that you persist to
> the datastore, why not have 1 object (ie AccountList) that you
> persist, and that object has an array all the Accounts.
>
> So if you want to pull up multiple Accounts or even all of them, it's
> just 1 query to the datastore to get AccountList.
>
> What major issues (if any) would I run into using this model?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@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-appeng...@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: App Datastore Update timing issue

2010-07-15 Thread Chris Copeland
On Wed, Jul 14, 2010 at 3:54 PM, Sam  wrote:

> I believe all that it would do is
> move the timing issue from the main program logic to a defined
> transaction and we would still have the potential gap in time between
> when the initial query was executed to fetch the data and the put()
> was execute to write it back.
>

If the data fetched by the get() at the first of the transaction has been
changed (by another process) when you do the put() at the end of the
transaction, then the transaction will be retried and it will do a new get
which will see the other process's changes and the process repeats.  This
isn't obvious, but it is talked about in one of the links I sent earlier.

I think Robert's example is missing a put() at the end of the transaction
function:

def txn():
ccode = CCode.all().filter('Assinged', 0)\
   .filter('ExpireDate >=', dtCompareDate)\
.filter("PartnerID", intPartnerID).get()
   if not ccode:
  # handle no ccode
   ccode.SessionID = strSessionID
   ccode.Assigned = 1
*   ccode.put()
*
 db.run_in_transaction(txn)


-Chris

-- 
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-appeng...@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] App Datastore Update timing issue

2010-07-15 Thread Chris Copeland
I think you can handle this with a datastore transaction.  See
http://code.google.com/appengine/articles/transaction_isolation.html for
more details.

The increment_counter example at
http://code.google.com/appengine/docs/python/datastore/transactions.htmlshould
be adaptable to your example.

-Chris


On Wed, Jul 14, 2010 at 10:17 AM, Sam  wrote:

> In working with the data store, I've been able to solve all of my
> "issues" (coming from a RDBMS background, had to rethink a few
> things!), save for one.  In the application I'm working on, it's
> necessary to "reserve" a record at a moment in time and then display
> that record to the end user, ensuring that each user gets a single
> record and no duplicates are issued.  Working with the record prior,
> and using SQL as an engine, I was able to use the following query:
>
> UPDATE CCode SET SessionID = '" + strSessionID + "', Assigned = 1
> WHERE Assigned = 0 AND PartnerID = " + str(intPartnerID) + " AND
> ExpireDate >= '" + str(dtCompareDate) + "' Limit 1"
>
> This would update the record in one pass and effectively reserve the
> record for the established session, with no time lost inbetween
> issuing the update and recording the change while SQL handled any
> conflict resolution should two people request a record at the same
> time.
>
> However, dealing with datastore, I seem to be running into some
> problems with timing and wanted to know if anyone had any creative
> ways around it.
>
> I realize that I can run a standard GqlQuery to return the results I
> need and then update based on the returned result and add the session
> to the record without a problem.  What concerns me is the timing
> factor.  During the time it takes for the query to execute and the
> resulting put() statement, it would be possible for another user to
> arrive and make the same basic query recalling the same record set.  I
> know I could check for updates against the datastore before writing
> back (used to do this years ago...), but this could potentially cause
> a deadlock condition when the load on the system became greater and
> multiple simultaneous users needed access to the records for selection
> and updating.
>
> Any thoughts on how to work around this?
>
> --
> 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-appeng...@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-appeng...@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.