[google-appengine] xmpp presence

2011-09-19 Thread ramesh
Hi,

How can i know user presence in my application.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Reserved URLs clarification

2011-09-19 Thread Alexander Konovalenko
The documentation [1] says the following URL paths are reserved:

  /_ah/
  /form

[1] 
http://code.google.com/appengine/docs/python/config/appconfig.html#Reserved_URLs

Now, it is clear from the actual use of the /_ah/ prefix that anything
that starts with /_ah/ is reserved. As for /form, there is room for
ambiguity here. Suppose an app is deployed on the www.example.com
Google Apps domain. Which of the following URLs are reserved?

(1) www.example.com/form
(2) www.example.com/form?var=value
(3) www.example.com/form/
(4) www.example.com/form/?var=value
(5) www.example.com/form/foo
(6) www.example.com/forms/bar
(7) www.example.com/formula

It looks like only (1) and (2) are reserved. If so, please update the
docs to make this distinction clear: any URL that *starts* with /_ah/
is reserved but only /form itself is reserved, and it is safe to use
any other URLs that start with /form.

By the way, why was /form reserved in the first place? It is a useful
URL and it would be nice to lift that limitation and move anything
that could possibly use it under /_ah/form. Reserving such a common
word is inelegant. In practice, migrating an existing app to App
Engine if the app has some important page at /form is impossible
because of that limitation. The original appname.com/form page could
be bookmarked or linked to from numerous places, and we can't even set
up a redirect to work around the problem.

Thanks.

Alexander

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Reserved URLs clarification

2011-09-19 Thread Tim Hoffman
Hi Alexander

I think google are saying they are reserved as guide so you don't clash with 
some service of theirs, however I don't actually see 
any way of preventing you from using any of these paths in urls if you 
handling them yourself.

In my case I don't use webapp and don't only map a few of the _ah paths, and 
so my default handler gets all forms of /form as well as /_ah/* that don't 
match existing mapped handlers in app.yaml.

The danger is you prevent the access of some useful appengine service.

Rgds

Tim 

-- 
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/-/fHWlZdbSmLUJ.
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: Reserved URLs clarification

2011-09-19 Thread Alexander Konovalenko
On Mon, Sep 19, 2011, Tim Hoffman  wrote:
> I think google are saying they are reserved as guide so you don't clash with
> some service of theirs, however I don't actually see
> any way of preventing you from using any of these paths in urls if you
> handling them yourself.
> In my case I don't use webapp and don't only map a few of the _ah paths, and
> so my default handler gets all forms of /form as well as /_ah/* that don't
> match existing mapped handlers in app.yaml.
> The danger is you prevent the access of some useful appengine service.

Tim,

Thanks for your reponse.

Yes, for some /_ah/ paths, you're even supposed to handle them
yourself. For example, the Python warmup handler.

But I couldn't get my code to handle /form (not /form/ or
/form/something, but /form itself). Google's built-in handler always
takes precedence and returns a Google-branded 404 page with a nice
robot image. So the issue with /form is not theoretical.

What do you use /form for?

Regards,
Alexander

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: xmpp presence

2011-09-19 Thread ramesh


xmppservice.parsePresence is not defined in XMPPService API.

Please help.

On Sep 19, 12:37 pm, ramesh  wrote:
> Hi,
>
> How can i know user presence in my application.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Reserved URLs clarification

2011-09-19 Thread Tim Hoffman
HI

Your right, I missed that specific case /form

Interesting, google are trapping that specific case before it even
gets to your instance.

It does seem somewhat arbitrary to intercept /form  but /form/ gets
through
I am not sure those two are really different.  (In fact I generally
allow both paths to resolve to the same
entity through traversal.  )

I actually don't use /form for anything, all of my urls asentity
traversal oriented which means the url
generally starts with a an entity.  (though in a cms you could call
any top level container or entity anything you want,
which could effectively hide a path, if a user accidentally called
something "form")

I did test but actually I realize now I typed /form/ not /form so I
missed the specific issue you raised, sorry.

Probably worth an new issue, asking for accurate documentation of the
url root paths that will not be passed through to
appengine apps.

Rgds

Tim


On Sep 19, 8:43 pm, Alexander Konovalenko  wrote:
> On Mon, Sep 19, 2011, Tim Hoffman  wrote:
> > I think google are saying they are reserved as guide so you don't clash with
> > some service of theirs, however I don't actually see
> > any way of preventing you from using any of these paths in urls if you
> > handling them yourself.
> > In my case I don't use webapp and don't only map a few of the _ah paths, and
> > so my default handler gets all forms of /form as well as /_ah/* that don't
> > match existing mapped handlers in app.yaml.
> > The danger is you prevent the access of some useful appengine service.
>
> Tim,
>
> Thanks for your reponse.
>
> Yes, for some /_ah/ paths, you're even supposed to handle them
> yourself. For example, the Python warmup handler.
>
> But I couldn't get my code to handle /form (not /form/ or
> /form/something, but /form itself). Google's built-in handler always
> takes precedence and returns a Google-branded 404 page with a nice
> robot image. So the issue with /form is not theoretical.
>
> What do you use /form for?
>
> Regards,
> Alexander

-- 
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: New Pricing ROCKS! for Small apps

2011-09-19 Thread Niklas Rosencrantz



Thanks for sharing the info about your apps. I think it could be better for 
apps that are medium-sized. If your app is commercial you can't expect to 
host it for free anyhow. And I agree that you shouldn't have to pay for 
tests or something that is nothing but development and research. Attached is 
my latest pricing - it's still not much to talk about and effects may have 
come from running mapreduce since I'm migrating to HRD.
Regards,
Niklas

-- 
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/-/SZZq9_Ukc80J.
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: Status of edge cache?

2011-09-19 Thread Joshua Bronson
On Fri, Sep 16, 2011 at 2:22 PM, Bryce Cutt  wrote:

> I think Nick meant that popular content is less likely to be evicted from
> the cache, not that it is only cached if it is popular.
>

Oh, thanks, Bryce.


On Sun, Sep 18, 2011 at 1:49 AM, Robert Kluin wrote:

> I'd also like to see a rough idea of what to expect from the edge-cache
> layer included in the documentation.
>

I opened http://code.google.com/p/googleappengine/issues/detail?id=5915 in
case anyone wants to star. Looking forward to the attention of the GAE team.


In the meantime, it would be cool if there were a reference app
demonstrating various usage of the edge cache. I'm picturing something like
this (in flask speak):

@app.after_request
def make_conditional(response):
"""
Unconditional request handled by Python::

$ curl -I foo.appspot.com
HTTP/1.1 200 OK
Cache-Control: public, max-age=
ETag: "foo"
...

You should see "in Python" logged for this request.

Subsequent conditional request should be handled by Google's edge
cache::

$ curl -H'if-none-match: "foo"' -I foo.appspot.com
HTTP/1.1 304 Not Modified
...

"in Python" won't be logged for this request if handled by the edge
cache.

"""
app.logger.debug('in Python')
response.cache_control.public = True
response.cache_control.max_age = 
# in case Google's edge cache isn't working, serve 304s from Python:
response.add_etag()
return response.make_conditional(request)



I'm seeing "in Python" logged for both requests when I try something like
this. If anyone has any working examples, please share them.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] How can I wrap/use blobstore API to support file upload with just one http request

2011-09-19 Thread ofridler
Hi
I'm using GAE (Java) as the backend server for iPhone app, and using
blobstore for storing photos & videos uploaded from iPhone.

Is there a way to simplify the API for the iPhone client so for each
file upload only one http request will be needed?

Today we're using 2 steps flow, the first http request is calling
blobstoreService.createUploadUrl and creating the URL that is used in
the second http request that is uploading the file, this flow is more
complex and has much more corner cases that the usual one http upload
call.

Thanks
Oren.

-- 
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: New Pricing ROCKS! for Small apps

2011-09-19 Thread Ian Bellamy
That's an interesting point. If you could optimize your resource usage to
$2.10, that would be the cheapskate sweet spot :)

On Sun, Sep 18, 2011 at 6:50 AM, Gopal Patel  wrote:

> I think $2.10 also count towards resource usage if I am not mistaken. so
> gae is cheapest for app that is costing $2.10 to run.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] GAE Dashboard Metrics

2011-09-19 Thread Ying
Hi guys,

Is there a way to programmatically fetch the metrics available on the
GAE dashboard? I see that this class gives me access to 2 metrics:
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/quota/QuotaService.html

However, I need access to the others and I don't currently see a way
to do it. Can someone please point me in the right direction?

Thanks,

Ying

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] GPE C2DM Configure

2011-09-19 Thread HIROYUKI KAGAWA
App Engine Connected Android Project to create a GPE2.4 using in
Eclipse.
However, the Configure C2DM "Role account email address" I get an
error message on.
'xx...@xx-xxx.com' is not a valid email address
Do not just change the domain?
I then proceed. Tell me what I do.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Resolving errors in java applicatio​n(using google app engine)

2011-09-19 Thread dolly


Hi All,

I am a student and have created an application in JAVA using google
app engine.
I am getting an error:
Class model for query has not been resolved. Check the query and any
imports specification
org.datanucleus.exceptions.ClassNotResolvedException:
 
Here model is a JAVA class which has the variables defined this query is 
refering to.
Can anyone help me with this?
 

Thanks

-- 
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/-/_0HbEPiE3tIJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Google Voice on the health status dashboard

2011-09-19 Thread Dan-D-Dan
I am wondering the same thing. Did you ever figure it out?  ...having 
connection issues with GV window in chrome browser saying "loading" forever. 
How does one chk status of GV service? Im checking all the plug-ins next. 
thx

-- 
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/-/G10qxwOefq4J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: /_ah/login returns status 500

2011-09-19 Thread Gabriel Charette
Interesting,

I am trying to setup authentication using /_ah/login as well and am
seeing 500s repetitively (actually that's all I'm seeing).
I can swear I've had it working before exactly the way I'm
implementing it right now, but for 2 days I've been banging my head
trying to figure out why it doesn't work.

Maybe after all this is a real issue, not a problem in my new
implementation??

Is anyone able to get a response from /_ah/login right now??

Thanks,
Gabriel

On Sep 12, 10:55 am, Lior Harsat  wrote:
> Hi,
>
> I have an android application that authenticates to the app engine with the
> a google account.
> I am experiencing a very annoying issue.
> Once in a while I start getting status 500 when posting /_ah/login?... to my
> app.
> I just get the regular server error message :
>
> "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."
>
> currently I am unable to get non 500 status from app engine.
> This is not the first time this has happened and it just goes away by itself
> after more than a few hours.
> The app engine status page does not show there is any issue.
> The last time this happened, I did see a few posts in this group and in app
> engine java group about this issue but there was no response by any Googler.
>
> Is anyone using Google authentication on a production environment?
> Is it flakey as it seems?
> Any help will be appreciated (before I re write my authentication process).
>
> Thanx,Lior

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Give me my $50 credit back!

2011-09-19 Thread júlíus fjeldsted
I have the same issue but it's now showing me anything :/


On Sep 17, 10:16 pm, Carson Welsh  wrote:
> I need to apologize. I sure feel stupid.
>
> The reason I seemed to have lost the credit was because "Current Balance"
> went from $50 to "n/a"
>
> However, as others have pointed out, under "Billing History" the "Balance"
> column reports the credit.
>
> Sorry guys.On Wed, Sep 14, 2011 at 2:13 AM, Carson Welsh 
>  wrote:
> > The deal was: "modify your billing settings and you get a $50 credit".
>
> > I got the credit, disabled billing and now my credit's gone.
>
> > I believe you are contractually obligated to restore my $50 credit: you
> > never said anything about whether billing should be kept enabled or not.
>
> > Don't you guys ever get tired of bait and switch?
>
> > Don't you guys get tired of alienating App Engine developers?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] How-to create a custom admin page in Google App Engine

2011-09-19 Thread olivier hubert
Hello,

Can you provide a simple exemple to create a custom admin page ?
In the documentation I found the process to create a new entry in the
admin section.

admin_console:
  pages:
  - name: test
url: /admin/test

But I don't have a sample page.
In the documentation, the new entry in the admin console is a iframe.
So the "test" page is only html or is a python script with a rendering
in the iframe ?

Another question, with the SDK a custom admin page can be rendering ?

Thanks

Olivier

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: /_ah/login returns status 500

2011-09-19 Thread Gabriel Charette
Hi,

I had the same problem and just found the solution.

My token was no longer valid, which means your app has to invalidate
the token in the cache itself and redo the request with the new token.

http://stackoverflow.com/questions/3919071/what-is-the-proper-url-to-get-an-auth-cookie-from-a-gae-based-application/3929312#3929312

Cheers,
Gabriel

On Sep 12, 10:55 am, Lior Harsat  wrote:
> Hi,
>
> I have an android application that authenticates to the app engine with the
> a google account.
> I am experiencing a very annoying issue.
> Once in a while I start getting status 500 when posting /_ah/login?... to my
> app.
> I just get the regular server error message :
>
> "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."
>
> currently I am unable to get non 500 status from app engine.
> This is not the first time this has happened and it just goes away by itself
> after more than a few hours.
> The app engine status page does not show there is any issue.
> The last time this happened, I did see a few posts in this group and in app
> engine java group about this issue but there was no response by any Googler.
>
> Is anyone using Google authentication on a production environment?
> Is it flakey as it seems?
> Any help will be appreciated (before I re write my authentication process).
>
> Thanx,Lior

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] appstats: "Stats data was too big"

2011-09-19 Thread Charles Falconer
After I added appstats to my Java app, I started getting these log messages.

Does anyone know would cause this message?

> com.google.appengine.tools.appstats.MemcacheWriter logMaybe
> WARNING: Stats data was too big, all stack traces were removed.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Gun Bros

2011-09-19 Thread Tipphono
Can't run gun bros ... keep gettin Error: Server ErrorThe server encountered 
an error and could not complete your request.

Please help ~ 

-- 
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/-/cNZN09MpGh8J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] appcfg.py w/namespace: "Unable to download kind stats for all-kinds download"

2011-09-19 Thread Ian Bellamy
When I run:

appcfg.py download_data --application=s~appid --url=
https://appid.appspot.com/remote_api
 --filename=C:\appid\ns1.dat --namespace=ns1 --email=ap...@gmail.com

appcfg.py tells me:

[ERROR   ] Unable to download kind stats for all-kinds download.
[ERROR   ] Kind stats are generated periodically by the appserver

However, I can see from the production admin panel that stats were updated
about 10 hours ago.

Is this because this appcfg still doesn't work correctly with namespaces?

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

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] How do you view data downloaded from your app?

2011-09-19 Thread Ian Bellamy
There's a Sqlite data viewer for Firefox.

Does anyone know if it works with App Engine data

-

or is there some custom viewer just for App Engine data?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Apps For Domains is a MAJOR failing of AppEngine

2011-09-19 Thread Brandon Wirtz
This is more of a rant, than anything that you will likely encounter..

 

I use the Adwords API for a lot of things, mainly advising clients that
spend north of a half million dollars a month with adwords. (I only get a
licensing fee on the app sorry).

 

Recently, because Google changed its policies on unified logins, when I
logged in to Google Voice it made me migrate my account. After the migration
some of my Google Unified Logins weren't Migrated. Adwords being a primary
example. And My Apps For Domains became disassociated with the Account.

 

You can't call apps for domains without a pin. If you do get someone on the
phone using the pin from your other account they tell you they can't help
you because that account isn't associated with your login. When you call
adwords they tell you that your account has to get support from apps for
domains.  

 

As a Result I've had a week plus of downtime on my Adwords App, because of
Apps For Domains.  I could move the App to use a different API-key on
another account, but because of the way the outsourced company I used
developed the app I'd have to manually update credentials in every install.


 

Awesome sauce I know.  But the over Arching Theme is that Adwords support
while unhelpful have been friendly, though they will only move my issue
forward at the rate of 1 email a day, and are trying to support another
groups mess. The 6 plus people I have talked to in Apps for Domains support,
have been rude enough that they actually hung up on me, put me on hold for
2+ hours, and told me "I was beyond help".  I realize that for $10 you can't
afford to support me, but for the amount I spend elsewhere, be nice.

 

This experience with AppsForDomains has soured me towards recommending GAE
more than the change in pricing.  More than the Drama of moving from MS to
HR. More than the "you can't migrate off it".   If I have a week of downtime
because tech support won't even talk to me.  That's a Far larger concern
than any of the pricing or infrastructure issues.  1 week of down time means
that Four 9s of uptime is going to take a millennia to get back to.

 

-Brandon

 


Brandon Wirtz 
BlackWaterOps: President / Lead Mercenary 

Description: http://www.linkedin.com/img/signature/bg_slate_385x42.jpg



Work: 510-992-6548 
Toll Free: 866-400-4536 

IM: drak...@gmail.com (Google Talk) 
Skype: drakegreene 

  BlackWater Ops 




 

 

 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

<>

[google-appengine] Multiple attachments limits

2011-09-19 Thread thstart
According to Mail
Quotas and Limits

http://code.google.com/appengine/docs/python/mail/overview.html
maximum size of outgoing mail messages, including attachments10 megabytes
The question I have is if I have multiple attachments what is the limit? 
For example I want to send 5 attachments 10MB each. Can I do that?
If not how is the best practice to implement this functionality?

Also are there a change in new pricing related to email attachments?

Thanks in advance,
--Constantine

-- 
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/-/I7H1TbWlF7IJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Property type is NULL?

2011-09-19 Thread mac
I think I need to change the title. When I mentioned the NULL in the last 
thread. I mean the Property type is NULL, not the content of that property 
is NULL. That's quite odd to me.

-- 
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/-/4sAUnzlnRIYJ.
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] Multiple attachments limits

2011-09-19 Thread Brandon Wirtz
If you want to send more than 10 Megs use an included link. Most Mail
servers will bounce a message over 10megs anyway.

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of thstart
Sent: Monday, September 19, 2011 2:33 PM
To: google-appengine@googlegroups.com
Subject: [google-appengine] Multiple attachments limits

 

According to Mail

Quotas and Limits

 

http://code.google.com/appengine/docs/python/mail/overview.html


maximum size of outgoing mail messages, including attachments

10 megabytes

 

The question I have is if I have multiple attachments what is the limit? 

For example I want to send 5 attachments 10MB each. Can I do that?

If not how is the best practice to implement this functionality?

 

Also are there a change in new pricing related to email attachments?

 

Thanks in advance,

--Constantine

-- 
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/-/I7H1TbWlF7IJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Worst-case scenario for eventual consistency in the HRD?

2011-09-19 Thread Jeff Schnitzer
I know that an index update in the HRD will typically be visible
within a couple seconds.  That's the average case.  What is the
worst-case?

Assuming something in the datacenter goes wacky, how long might it
take for an index to update?  Tens of seconds, minutes, hours, days?

Thanks,
Jeff

-- 
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] Apps For Domains is a MAJOR failing of AppEngine

2011-09-19 Thread Jeff Schnitzer
I'd like to give a huge +1 to this.  The Google Apps system is a trainwreck.
 I made the terrible mistake of moving some of my personal domains to Google
Apps and now:

 * I'm in some sort of Catch-22 that locks me out of my adwords account.
 Not a big deal (it wasn't important) but I can't create a new adwords
account (seriously, not even by creating new Google Accounts) and I can't
delete the old one.  I like to think I'm a smart guy, but this is worse than
one of those chinese puzzles because I'm not 100% certain there is a
solution.  Support?  Nonexistant.

 * The huge delays on moving domains around in Google Apps is lunacy.  Let's
say you're running a GAE app on a doman configured as a domain alias for
Google Apps Domain A and you want to split it out into its own Google Apps
Domain (ie, you sold the product).  Impossible without a week's downtime
while the domain releases from A.  WTF?

 * Don't get me started on the big problems I've had with logins working
some places and not others (eg, Google Groups).

Maybe this isn't quite the place for my rant, but since GAE depends on
Google Apps, it would be nice if Google Apps had the kind of support that we
expect from GAE.

Jeff


On Mon, Sep 19, 2011 at 1:29 PM, Brandon Wirtz  wrote:

> This is more of a rant, than anything that you will likely encounter….
>
> ** **
>
> I use the Adwords API for a lot of things, mainly advising clients that
> spend north of a half million dollars a month with adwords. (I only get a
> licensing fee on the app sorry).
>
> ** **
>
> Recently, because Google changed its policies on unified logins, when I
> logged in to Google Voice it made me migrate my account. After the migration
> some of my Google Unified Logins weren’t Migrated. Adwords being a primary
> example. And My Apps For Domains became disassociated with the Account.***
> *
>
> ** **
>
> You can’t call apps for domains without a pin. If you do get someone on the
> phone using the pin from your other account they tell you they can’t help
> you because that account isn’t associated with your login. When you call
> adwords they tell you that your account has to get support from apps for
> domains.  
>
> ** **
>
> As a Result I’ve had a week plus of downtime on my Adwords App, because of
> Apps For Domains.  I could move the App to use a different API-key on
> another account, but because of the way the outsourced company I used
> developed the app I’d have to manually update credentials in every install.
> 
>
> ** **
>
> Awesome sauce I know.  But the over Arching Theme is that Adwords support
> while unhelpful have been friendly, though they will only move my issue
> forward at the rate of 1 email a day, and are trying to support another
> groups mess. The 6 plus people I have talked to in Apps for Domains support,
> have been rude enough that they actually hung up on me, put me on hold for
> 2+ hours, and told me “I was beyond help”.  I realize that for $10 you can’t
> afford to support me, but for the amount I spend elsewhere, be nice.
>
> ** **
>
> This experience with AppsForDomains has soured me towards recommending GAE
> more than the change in pricing.  More than the Drama of moving from MS to
> HR. More than the “you can’t migrate off it”.   If I have a week of downtime
> because tech support won’t even talk to me.  That’s a Far larger concern
> than any of the pricing or infrastructure issues.  1 week of down time means
> that Four 9s of uptime is going to take a millennia to get back to.
>
> ** **
>
> -Brandon
>
> ** **
>
> *Brandon Wirtz
> *BlackWaterOps: President / Lead Mercenary 
>
> [image: Description:
> http://www.linkedin.com/img/signature/bg_slate_385x42.jpg]
>
> *Work:* 510-992-6548
> *Toll Free:* 866-400-4536 
>
> *IM:* drak...@gmail.com (Google Talk)
> *Skype:* drakegreene 
>
> BlackWater Ops
> 
>
> ** **
>
> ** **
>
> ** **
>
> --
> 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] Apps For Domains is a MAJOR failing of AppEngine

2011-09-19 Thread Jeff Schnitzer
On Mon, Sep 19, 2011 at 5:45 PM, Jeff Schnitzer  wrote:

> I'd like to give a huge +1 to this.  The Google Apps system is a
> trainwreck.  I made the terrible mistake of moving some of my personal
> domains to Google Apps and now:
>
>  * I'm in some sort of Catch-22 that locks me out of my adwords account.
>  Not a big deal (it wasn't important) but I can't create a new adwords
> account (seriously, not even by creating new Google Accounts) and I can't
> delete the old one.  I like to think I'm a smart guy, but this is worse than
> one of those chinese puzzles because I'm not 100% certain there is a
> solution.  Support?  Nonexistant.
>
>
That should be *adsense*, not adwords.  But yeah.

Jeff

-- 
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] Apps For Domains is a MAJOR failing of AppEngine

2011-09-19 Thread Gregory D'alesandre
Well it is the right place to rant in so far as we do depend on Apps for
Domains and I can pass this feedback along internally to ensure they
understand the external perception.

Thanks for the feedback, I'll make sure it gets to the right folks...

Greg

On Mon, Sep 19, 2011 at 5:46 PM, Jeff Schnitzer  wrote:

> On Mon, Sep 19, 2011 at 5:45 PM, Jeff Schnitzer wrote:
>
>> I'd like to give a huge +1 to this.  The Google Apps system is a
>> trainwreck.  I made the terrible mistake of moving some of my personal
>> domains to Google Apps and now:
>>
>>  * I'm in some sort of Catch-22 that locks me out of my adwords account.
>>  Not a big deal (it wasn't important) but I can't create a new adwords
>> account (seriously, not even by creating new Google Accounts) and I can't
>> delete the old one.  I like to think I'm a smart guy, but this is worse than
>> one of those chinese puzzles because I'm not 100% certain there is a
>> solution.  Support?  Nonexistant.
>>
>>
> That should be *adsense*, not adwords.  But yeah.
>
> Jeff
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Apps For Domains is a MAJOR failing of AppEngine

2011-09-19 Thread Rori Stumpf
On Sep 19, 8:45 pm, Jeff Schnitzer  wrote:
> I'd like to give a huge +1 to this.  The Google Apps system is a trainwreck.
>  I made the terrible mistake of moving some of my personal domains to Google
> Apps and now:

I completely agree. I love most things Google, but moving to Google
Apps has been less than a smart idea.

User authentication is a complete and utter nightmare. For the longest
time I could not use Google Groups with my apps user name... I know,
it does not make sense. I still don't understand what the heck is
going on with YouTube. I've just given up trying to understand the
logic behind disallowing access to Google Apps users or how it even
works. Why can't we just login?

And Apps users are blocked from new Google features such as Google+...
not a good way to introduce new products to the people who were
confident enough to buy into Google Apps.

Just make it work :-)

-- 
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] Apps For Domains is a MAJOR failing of AppEngine

2011-09-19 Thread Brandon Wirtz
Greg, if you are passing things along, mention I'm still not resolved, and I
started on the 8th of this month.

 

 

From: google-appengine@googlegroups.com
[mailto:google-appengine@googlegroups.com] On Behalf Of Gregory D'alesandre
Sent: Monday, September 19, 2011 5:58 PM
To: google-appengine@googlegroups.com
Subject: Re: [google-appengine] Apps For Domains is a MAJOR failing of
AppEngine

 

Well it is the right place to rant in so far as we do depend on Apps for
Domains and I can pass this feedback along internally to ensure they
understand the external perception.

 

Thanks for the feedback, I'll make sure it gets to the right folks...

 

Greg

On Mon, Sep 19, 2011 at 5:46 PM, Jeff Schnitzer  wrote:

On Mon, Sep 19, 2011 at 5:45 PM, Jeff Schnitzer  wrote:

I'd like to give a huge +1 to this.  The Google Apps system is a trainwreck.
I made the terrible mistake of moving some of my personal domains to Google
Apps and now:

 

 * I'm in some sort of Catch-22 that locks me out of my adwords account.
Not a big deal (it wasn't important) but I can't create a new adwords
account (seriously, not even by creating new Google Accounts) and I can't
delete the old one.  I like to think I'm a smart guy, but this is worse than
one of those chinese puzzles because I'm not 100% certain there is a
solution.  Support?  Nonexistant.

 

 

That should be *adsense*, not adwords.  But yeah.

 

Jeff 

-- 
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] Worst-case scenario for eventual consistency in the HRD?

2011-09-19 Thread Ikai Lan (Google)
I'll check for you, but FWIW here are the last numbers for master/slave I
heard with regards to replication delay:

- most of the time data is replicated within hundreds of milliseconds
- when there is something wrong, mean time is 3 minutes, with an upper bound
that is roughly 10 minutes

If a data center goes offline, that's the window of writes you may lose on
master/slave. On HRD you don't lose data.

I'll double check with the datastore team to see if we have numbers, but it
might not work the same way. When you do a write, a majority of datastore
instances have to acknowledge receiving the write and having appended it to
the write journal. Thus, if the primary datastore goes offline, application
servers make RPCs to the other datastores and use the first response that
comes back. The datastores that are running behind still try to catch up in
the background and continue to apply writes from the journal. I suppose the
number you're looking for here is: what is replication delay if a datastore
isn't forced to catch up?

--
Ikai Lan
Developer Programs Engineer, Google App Engine
plus.ikailan.com | twitter.com/ikai



On Mon, Sep 19, 2011 at 5:16 PM, Jeff Schnitzer  wrote:

> I know that an index update in the HRD will typically be visible
> within a couple seconds.  That's the average case.  What is the
> worst-case?
>
> Assuming something in the datacenter goes wacky, how long might it
> take for an index to update?  Tens of seconds, minutes, hours, days?
>
> Thanks,
> Jeff
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] gaeutilities sessions, plz to help a n00b

2011-09-19 Thread Emlyn
I'm trying the gaeutilities session library for some new apps I'm building.

http://gaeutilities.appspot.com/session

I'm using it for two things:

- basic, old school session stuff (ie: a dictionary persistent across
user visits)

- securing ajax callbacks (the session contains the indication of
whether the user is logged in; session library's cookie goes from
server to client, back through ajax call through rest interface to
server, session is reconsituted based on it, if it's not the same one
then there's no login indication, call fails)

The library is pretty cool, a bit magical actually. I'm reading the
code to try to understand the magic, and think I'm getting a handle on
it.

However, in the doc, there is this:

"In order to take advantage of the token system for an authentication
system, you will want to tie sessions to accounts, and make sure only
one session is valid for an account. You can do this by setting a
db.ReferenceProperty(_AppEngineUtilities_Session) attribute on your
user Model, and use the get_ds_entity() method on a valid session to
populate it on login."

Why would I want to do this? I'm happy for two separate logins by the
same person to have different sessions, and I'm happy for subsequent
visits to begin with an empty session dictionary each time. Am I
missing something here?

-- 
Emlyn

http://my.syyn.cc - Synchonise Google+, Facebook, WordPress and Google
Buzz posts,
comments and all.
http://point7.wordpress.com - My blog
Find me on Facebook and Buzz

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: SmartGwt treefrog skin

2011-09-19 Thread Paulo Bomfim
Hi Brandon,
It just doesn't seem right, since it has a schema of multiple
folders... the huge number of images comes from the SmartGWT skin.
I went to GDD 2011 in São Paulo last friday and got to speak to
+Wesley Chun. He said I should send a report about it on App Engine
site, explaining this situation.
I'll give it a try!
Thanks man!

On 12 set, 19:57, "Brandon Wirtz"  wrote:
> Combine the images in to the CSS as Data Objects.   Serve images from blob
> store.
>
>
>
>
>
>
>
> -Original Message-
> From: google-appengine@googlegroups.com
>
> [mailto:google-appengine@googlegroups.com] On Behalf OfPauloBomfim
> Sent: Monday, September 12, 2011 12:18 PM
> To: Google App Engine
> Subject: [google-appengine] SmartGwt treefrog skin
>
> Hi there!
> I'm using SmartGwt on my application and it looks really good all the stuff
> they've developed. And would really be great to use the treefrog skin on it,
> but due to all images it has, the static files jump to over 3500.
> I read a lot of posts on this matter and the two most common solutions, zip
> the image files or store them on amazon, just don't fit.
>
> The first one is so slow that the images most often don't download, plus
> with the new billing model, I'm not sure that decompressing the zip file
> would increase the instance hours.
>
> The other option would generate an extra cost with some other provider,
> which doesn't make any sense. Wouldn't it be better if we could pay for
> extra files like any other service?
>
> Or does anyone know how to trim or compact it in a simpler way?
>
> Thanks a lot!
>
> --
> 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.



Re: [google-appengine] gaeutilities sessions, plz to help a n00b

2011-09-19 Thread Matt Jibson
gaeutilities sounds nice, but in practice it is real slow. Use
gaesessions or webapp2 sessions instead:
https://github.com/dound/gae-sessions/wiki/comparison-with-alternative-libraries

On Mon, Sep 19, 2011 at 8:21 PM, Emlyn  wrote:
> I'm trying the gaeutilities session library for some new apps I'm building.
>
> http://gaeutilities.appspot.com/session
>
> I'm using it for two things:
>
> - basic, old school session stuff (ie: a dictionary persistent across
> user visits)
>
> - securing ajax callbacks (the session contains the indication of
> whether the user is logged in; session library's cookie goes from
> server to client, back through ajax call through rest interface to
> server, session is reconsituted based on it, if it's not the same one
> then there's no login indication, call fails)
>
> The library is pretty cool, a bit magical actually. I'm reading the
> code to try to understand the magic, and think I'm getting a handle on
> it.
>
> However, in the doc, there is this:
>
> "In order to take advantage of the token system for an authentication
> system, you will want to tie sessions to accounts, and make sure only
> one session is valid for an account. You can do this by setting a
> db.ReferenceProperty(_AppEngineUtilities_Session) attribute on your
> user Model, and use the get_ds_entity() method on a valid session to
> populate it on login."
>
> Why would I want to do this? I'm happy for two separate logins by the
> same person to have different sessions, and I'm happy for subsequent
> visits to begin with an empty session dictionary each time. Am I
> missing something here?
>
> --
> Emlyn
>
> http://my.syyn.cc - Synchonise Google+, Facebook, WordPress and Google
> Buzz posts,
> comments and all.
> http://point7.wordpress.com - My blog
> Find me on Facebook and Buzz
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Upgrade problem

2011-09-19 Thread Zeynel
I was trying to upgrade to 1.5.4 and I downloaded the new version from
the download page and now when I click the browse button on the
Launcher I get and ascii error. I did reinstall and repair but did not
help. Does anyone know what is going on?

This is the error:

Traceback (most recent call last):
  File "C:\Program Files   (x86)\Google\google_appengine\google
\appengine\tools\dev_appserver.py", line 4143, in  _HandleRequest
self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
  File "C:\Program Files  (x86)\Google\google_appengine\google
\appengine\tools\dev_appserver.py", line 4049, in  _Dispatch
base_env_dict=env_dict)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine
\tools\dev_appserver.py", line 616, in Dispatch
base_env_dict=base_env_dict)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine
\tools\dev_appserver.py", line 3120, in Dispatch
self._module_dict)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine
\tools\dev_appserver.py", line 3024, in ExecuteCGI
reset_modules = exec_script(handler_path, cgi_path, hook)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine
\tools\dev_appserver.py", line 2882, in ExecuteOrImportScript
handler_path, cgi_path, import_hook)
  File "C:\Program Files (x86)\Google\google_appengine\google\appengine
\tools\dev_appserver.py", line 2747, in LoadTargetModule
raise SyntaxError(error)
SyntaxError: 'ascii' codec can't decode byte 0xef in position 0:
ordinal not in range(128) p

-- 
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] gaeutilities sessions, plz to help a n00b

2011-09-19 Thread Emlyn
Thanks Matt, that looks great. I'll give it a shot.

On 20 September 2011 12:13, Matt Jibson  wrote:
> gaeutilities sounds nice, but in practice it is real slow. Use
> gaesessions or webapp2 sessions instead:
> https://github.com/dound/gae-sessions/wiki/comparison-with-alternative-libraries
>
> On Mon, Sep 19, 2011 at 8:21 PM, Emlyn  wrote:
>> I'm trying the gaeutilities session library for some new apps I'm building.
>>
>> http://gaeutilities.appspot.com/session
>>
>> I'm using it for two things:
>>
>> - basic, old school session stuff (ie: a dictionary persistent across
>> user visits)
>>
>> - securing ajax callbacks (the session contains the indication of
>> whether the user is logged in; session library's cookie goes from
>> server to client, back through ajax call through rest interface to
>> server, session is reconsituted based on it, if it's not the same one
>> then there's no login indication, call fails)
>>
>> The library is pretty cool, a bit magical actually. I'm reading the
>> code to try to understand the magic, and think I'm getting a handle on
>> it.
>>
>> However, in the doc, there is this:
>>
>> "In order to take advantage of the token system for an authentication
>> system, you will want to tie sessions to accounts, and make sure only
>> one session is valid for an account. You can do this by setting a
>> db.ReferenceProperty(_AppEngineUtilities_Session) attribute on your
>> user Model, and use the get_ds_entity() method on a valid session to
>> populate it on login."
>>
>> Why would I want to do this? I'm happy for two separate logins by the
>> same person to have different sessions, and I'm happy for subsequent
>> visits to begin with an empty session dictionary each time. Am I
>> missing something here?
>>
>> --
>> Emlyn
>>
>> http://my.syyn.cc - Synchonise Google+, Facebook, WordPress and Google
>> Buzz posts,
>> comments and all.
>> http://point7.wordpress.com - My blog
>> Find me on Facebook and Buzz
>>
>> --
>> 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.
>
>



-- 
Emlyn

http://my.syyn.cc - Synchonise Google+, Facebook, WordPress and Google
Buzz posts,
comments and all.
http://point7.wordpress.com - My blog
Find me on Facebook and Buzz

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Random aborted requests?

2011-09-19 Thread fredrossperry
Our app consists of some GAE services and a Flash client.  Starting
last Thursday
(as best we can tell), some folks started to get random aborted
requests.  These are either
static GETs or POSTS, made by the Flash client, to GAE services that
we've written.

We can see the requests being made using Firebug, but they are never
logged by GAE.
A long time (20-30 secs) goes by before the request is aborted.  We
can make the identical
request right away and it will succeed.

We've not changed client code or server code between the time things
were working well,
and now.

This is happening for folks using Firefox for Mac in three different
geographical locations.
We do get better behavior using Safari, BTW.

Anyone seen any, or more, aborts like this in recent days?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: GWT 2.4.0/GAE: java.lang.ClassNotFoundException: javax.validation.Path

2011-09-19 Thread jhowe
I'm seeing the exact same thing after trying to move a working GAE app
from GWT 2.2 to GWT 2.4.
Anybody


On Aug 14, 6:30 am, ZS  wrote:
> Since I updated eclipse to 2.4.0 every RPC call from GWT to my local
> eclipse GAE server throws a strange server exception!
>
> Any ideas?
>
> Thanks!
>
> Here is my .classpath:
> 
> 
>         
>         
>          path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
>         
>          path="com.google.gwt.eclipse.core.GWT_CONTAINER/GWT (2)"/>
>          path="com.google.appengine.eclipse.core.GAE_CONTAINER"/>
>         
> 
>
> Here is the full error:
>
> [ERROR] javax.servlet.ServletContext log: Exception while dispatching
> incoming RPC call
> java.lang.NoClassDefFoundError: javax/validation/Path
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
>         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
> 141)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>         at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>         at
> com.google.appengine.tools.development.IsolatedAppClassLoader.loadClass(Iso 
> latedAppClassLoader.java:
> 176)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:247)
>         at
> com.google.gwt.user.server.rpc.SerializationPolicyLoader.loadFromStream(Ser 
> ializationPolicyLoader.java:
> 196)
>         at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.loadSerializationPolicy 
> (RemoteServiceServlet.java:
> 90)
>         at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.doGetSerializationPolic 
> y(RemoteServiceServlet.java:
> 293)
>         at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.getSerializationPolicy( 
> RemoteServiceServlet.java:
> 157)
>         at
> com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.prepare 
> ToRead(ServerSerializationStreamReader.java:
> 455)
>         at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:237)
>         at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServi 
> ceServlet.java:
> 206)
>         at
> com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServi 
> ceServlet.java:
> 248)
>         at
> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(Abstract 
> RemoteServiceServlet.java:
> 62)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> 511)
>         at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1166)
>         at
> com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(He 
> aderVerificationFilter.java:
> 35)
>         at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>         at
> com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFi 
> lter.java:
> 58)
>         at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>         at
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(Trans 
> actionCleanupFilter.java:
> 43)
>         at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>         at
> com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFile 
> Filter.java:
> 122)
>         at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>         at
> com.google.appengine.tools.development.BackendServersFilter.doFilter(Backen 
> dServersFilter.java:
> 97)
>         at org.mortbay.jetty.servlet.ServletHandler
> $CachedChain.doFilter(ServletHandler.java:1157)
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> 388)
>         at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
> 216)
>         at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> 182)
>         at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> 765)
>         at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
> 418)
>         at
> com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEn 
> gineWebAppContext.java:
> 70)
>         at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> 152)
>  

[google-appengine] Re: How do you view data downloaded from your app?

2011-09-19 Thread Tim Hoffman
Probably the easiest thing to do , is upload your data to the local dev 
server,
Then you can run your app, or play with the data directly with the remote 
api

Rgds

Tim

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