[google-appengine] Re: appspot.com blocked in Thailand!

2010-07-01 Thread SivaTumma
This is a fantastic tool.
Precise, and Concise.

-- 
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] Re: appspot.com blocked in Thailand!

2010-07-01 Thread SivaTumma
The tool posted by Akai looks to be a fantastic start.

-- 
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: Is the datastore not good for lots of small sized objects?

2010-07-01 Thread Nate Bauernfeind
For those who were following this thread,

After reuploading all of my data but reducing the class name from 12
characters to 1 and from reducing the non-key field from 4 characters to 1,
I was able to reduce my total footprint from 530mb to 340mb for 1.45M
entities. Yielding about 245 bytes per entity (including the default
indexes).

Certainly wish I could get rid of the DESC index on my one property (for
this entity type).

On Mon, Jun 28, 2010 at 2:54 PM, Nate Bauernfeind <
nate.bauernfe...@gmail.com> wrote:

> Hmm. It looks like I should've read through the datastore specs prior to
> uploading so much data. I will give this another run with exactly the same
> data but with an obfuscated class definition.
>
>
> On Mon, Jun 28, 2010 at 2:06 PM, Geoffrey Spear wrote:
>
>>
>>
>> On Jun 28, 1:49 pm, Nate Bauernfeind 
>> wrote:
>> > Oh and does anyone know if the 500 mb in the quota usage is the 140mb of
>> > data replicated redundantly? I'm trying to figure out where that is
>> coming
>> > from.
>> >
>> > Or is it that the 108mb of metadata is *not* the primary indexes?
>>
>> You don't pay extra for replication of your data.
>>
>> I believe the "metadata" figure is the space taken up in the protocol
>> buffers by things like your application name and property names.  If
>> you have lots tiny entities and relatively long names for things, this
>> can certainly be a significant proportion of your storage.  The space
>> used by the indexes themselves is, as far as I can tell, not reported
>> anywhere, and only appears in the totals.
>>
>> --
>> 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] Re: can't operate on multiple entity groups in a single transaction

2010-07-01 Thread Philip Tucker
Oddly, on a local build I see exactly which ones collide, but they
don't show up in server logs.

On Jun 30, 8:01 pm, Philip Tucker  wrote:
> Would it be possible for AppEngine to spit out in the logs WHICH
> entity groups it's failing on for "can't operate on multiple entity
> groups in a single transaction" errors? These can be a pain to track
> down.

-- 
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] Re: Where is my files uploaded in app-engine?

2010-07-01 Thread sabbir
Thanks a lot for the confirmation :)

On Jun 23, 2:27 am, Tristan  wrote:
> Can't do it. Can't download thefiles.
>
> On Jun 21, 11:35 pm, sabbir  wrote:
>
>
>
> > Hi,
>
> >Uploadeda hello world app. Its working.
>
> > But in the control panel there is no option to see myuploadedfiles.
>
> > It seems like I can build app and always update. But what if I need
> > to download or just see thefilesI haveuploadedif I need to.
>
> > There must be way. May be I am missing something.
> > Using Eclipse.
>
> > Thanks.
> > Sabbir

-- 
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] How an old handler can get invoked, and appears in the current load?

2010-07-01 Thread osrdg
In one of our applications, we had a specific handler ( in webApp
framework ) earlier, which was subsequently removed about a week
back.  As a surprise, we find this URI being invoked by someone and
now appears in the current load.( in last 18 hours, when we write this
thread )  However, it has generated an exception, promptly.  How this
request could have been made by someone? The URI had never been used
in any of the email body we send as a link, which someone cloud have
clicked.

-- 
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] Re: BadKeyError Bug: BadKeyError: Name must be string type, not Headline

2010-07-01 Thread Tim Hoffman
Hi

Have a look at the basic Model definition from the docs.

class Model(parent=None, key_name=None, **kwds):
   ...

Note the first argument is the parent, the second is the key_name

You offending code is doing

activity = models.Activity(actor, object, action='upvote')

When it should be

activity = models.Activity(actor, object., action='upvote')

Assuming actor is the parent, and object provides a key_name, or
alternately
you can construct a key entity and pass it in as key=.

Not knowing what you original intent for object is in the construction
of the key for an Actor
means I am not sure about specifically what you should be providing to
construct the key.

In the end the error is telling you exactly what is going on ;-)

Rgds

T

On Jul 2, 2:43 am, daveying99  wrote:
> Hey everyone. I am using Appengine/Python and I haven't been able to
> fix a BadKeyError bug for the last 5 hours. I'm wondering if someone
> can help me figure it out. The part of the app that is causing the bug
> is a controller that processes votes done by users. Actor_id is the
> key of the user and object_id is the key of the object that is being
> voted on.
>
> I've been testing the app by hiding and restoring some code, and I
> know for sure that the keys being received are good (first block), and
> that the entities are being created (second block). What does not work
> is creating an activity instance - raises BadKeyError (third block)
>
> I've added the controller code, the model code, and the traceback of
> the error from the log page.
>
> *** Controller Code ***
> # /addactivity?person=xxx&object=yyy
> class ActivityHandler(FacebookEnabled):
>         def get(self):
>
>                 # i.e. fbid / headline id / upvote. This works
>                 actor_id = self.request.get('actor_id')
>                 object_id = self.request.get('object_id')
>                 action = self.request.get('action')
>
>                 # creating actor and object from keys (actor_id and 
> object_id). This
> works.
>                 actor = models.Person.get(actor_id)
>                 object = models.Headline.get(object_id)
>                 logging.info("Actor " + str(actor) +": " + str(actor.name) + "
> object " + str(object) + ": " + str(object.title))
>
>                 # THIS IS WHAT SEEMS TO RAISE AN EXCEPTION
>                 activity = models.Activity(actor, object, action='upvote')
>                 activity.put()
>
> *** Model Code ***
> class Activity(polymodel.PolyModel):
>
>         # User causing the action i.e. a person
>         actor = db.ReferenceProperty(Person, required=True,
> collection_name='actors')
>
>         # The object being the subject of the action i.e. headline
>         object = db.ReferenceProperty(Headline, required=True,
> collection_name='objects')
>
>         # The action being made
>         action = db.StringProperty(required=True, choices=['upvote',
> 'downvote'], default='upvote')
>
> *** Traceback ***
> Name must be string type, not Headline
> Traceback (most recent call last):
>   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> ext/webapp/__init__.py", line 511, in __call__
>     handler.get(*groups)
>   File "/base/data/home/apps/libnentest/2.343063076026692316/main.py",
> line 125, in get
>     activity = models.Activity(actor, object, action='upvote')
>   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> ext/db/__init__.py", line 726, in __init__
>     key_name.__class__.__name__)
> BadKeyError: Name must be string type, not Headline

-- 
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] Re: Upcoming maintenance notification

2010-07-01 Thread Greg
The message was in my spam box, and I moved it to my inbox yesterday.
It has now disappeared completely!

On Jul 2, 6:28 am, "Ikai L (Google)"  wrote:
> Thanks for the feedback, guys. We figured out what was causing this.
> Upcoming notifications on that list will come from my email address
> temporarily until we resolve this.
>
> On Wed, Jun 30, 2010 at 8:34 PM, Arun Shanker Prasad <
>
>
>
> arunshankerpra...@gmail.com> wrote:
> > Yup, the downtime notification mail was in my inbox.
>
> > On Jul 1, 12:55 am, "Ikai L (Google)"  wrote:
> > > Was this message correctly directed into anyone's inbox?
>
> > > On Wed, Jun 30, 2010 at 12:48 PM, Robert Kluin  > >wrote:
>
> > > > Went to my spam folder as well.
>
> > > > On Wed, Jun 30, 2010 at 2:19 PM, johntray 
> > wrote:
> > > > > I can confirm that the email from the downtime-notify group was
> > indeed
> > > > > routed to my Gmail spam folder. It includes a red-overlay message:
> > > > > "Warning: This message may not be from whom it claims to be. Beware
> > of
> > > > > following any links in it or of providing the sender with any
> > personal
> > > > > information". There is also a link to "Learn more"  which points to
>
> >http://mail.google.com/support/bin/answer.py?hl=en&ctx=mail&answer=8253.
>
> > > > > Thanks for posting here, as I would have completely missed it
>
> > > > > On Jun 30, 2:51 pm, "Ikai L (Google)"  wrote:
> > > > >> Hey guys,
>
> > > > >> I just wanted to point out there are upcoming maintenance periods
> > > > scheduled
> > > > >> for July 7th and July 14th at 5pm Pacific. More details here:
>
> >http://groups.google.com/group/google-appengine-downtime-notify/brows.
> > > > ..
>
> > > > >> Normally, I wouldn't post these notifications to this group, as they
> > > > belong
> > > > >> in the "downtime notify" group, however, users are reporting that
> > this
> > > > >> message went into their spam folder. Can anyone verify this, or let
> > me
> > > > know
> > > > >> in this thread if this message was correctly delivered?
>
> > > > >> If you want to be notified of upcoming maintenance periods, make
> > sure to
> > > > >> join this group:
>
> > > > >>http://groups.google.com/group/google-appengine-downtime-notify
>
> > > > >> We're doing our best to minimize these periods in the future, but
> > there
> > > > are
> > > > >> times when these periods will be absolutely necessary.
>
> > > > >> --
> > > > >> Ikai Lan
> > > > >> Developer Programs Engineer, Google App Engine
> > > > >> Blog:http://googleappengine.blogspot.com
> > > > >> Twitter:http://twitter.com/app_engine
> > > > >> Reddit:http://www.reddit.com/r/appengine
>
> > > > > --
> > > > > 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 > 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-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.
>
> > > --
> > > Ikai Lan
> > > Developer Programs Engineer, Google App Engine
> > > Blog:http://googleappengine.blogspot.com
> > > Twitter:http://twitter.com/app_engine
> > > Reddit:http://www.reddit.com/r/appengine
>
> > --
> > 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.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blog:http://googleappengine.blogspot.com
> Twitter:http://twitter.com/app_engine
> Reddit:http://www.reddit.com/r/appengine

-- 
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] BadKeyError Bug: BadKeyError: Name must be string type, not Headline

2010-07-01 Thread daveying99
Hey everyone. I am using Appengine/Python and I haven't been able to
fix a BadKeyError bug for the last 5 hours. I'm wondering if someone
can help me figure it out. The part of the app that is causing the bug
is a controller that processes votes done by users. Actor_id is the
key of the user and object_id is the key of the object that is being
voted on.

I've been testing the app by hiding and restoring some code, and I
know for sure that the keys being received are good (first block), and
that the entities are being created (second block). What does not work
is creating an activity instance - raises BadKeyError (third block)

I've added the controller code, the model code, and the traceback of
the error from the log page.

*** Controller Code ***
# /addactivity?person=xxx&object=yyy
class ActivityHandler(FacebookEnabled):
def get(self):

# i.e. fbid / headline id / upvote. This works
actor_id = self.request.get('actor_id')
object_id = self.request.get('object_id')
action = self.request.get('action')

# creating actor and object from keys (actor_id and object_id). 
This
works.
actor = models.Person.get(actor_id)
object = models.Headline.get(object_id)
logging.info("Actor " + str(actor) +": " + str(actor.name) + "
object " + str(object) + ": " + str(object.title))

# THIS IS WHAT SEEMS TO RAISE AN EXCEPTION
activity = models.Activity(actor, object, action='upvote')
activity.put()

*** Model Code ***
class Activity(polymodel.PolyModel):

# User causing the action i.e. a person
actor = db.ReferenceProperty(Person, required=True,
collection_name='actors')

# The object being the subject of the action i.e. headline
object = db.ReferenceProperty(Headline, required=True,
collection_name='objects')

# The action being made
action = db.StringProperty(required=True, choices=['upvote',
'downvote'], default='upvote')

*** Traceback ***
Name must be string type, not Headline
Traceback (most recent call last):
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/webapp/__init__.py", line 511, in __call__
handler.get(*groups)
  File "/base/data/home/apps/libnentest/2.343063076026692316/main.py",
line 125, in get
activity = models.Activity(actor, object, action='upvote')
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/db/__init__.py", line 726, in __init__
key_name.__class__.__name__)
BadKeyError: Name must be string type, not Headline

-- 
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] JAXB Security issue

2010-07-01 Thread Steve Guthrie
When I try to use JAXB to parse XML I  get the following exception:

Caused by: java.lang.SecurityException: java.lang.IllegalAccessException: 
Reflection is not allowed on protected final java.lang.Class 
java.lang.ClassLoader.findLoadedClass(java.lang.String

I searched through the google issue list and found an issue ticket marked as 
fixed but then follow up messages that it was not working.

Any ideas?

Sent from my iPhone

-- 
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] Re: HTTPS on my own domain

2010-07-01 Thread TL
How did you do the session cookie transfer from the HTTPS domain to
the HTTP domain? Is this something you can configure in app engine?

Was it possible to log in using HTTPS all the way to app engine and
then transfer the session to the HTTP server using a redirect?

On Jul 1, 3:50 am, J  wrote:
> I tried it last year using Squid on EC2 as a proof of concept. It
> worked well.

-- 
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] Resource accounting for accurate billing in GAE

2010-07-01 Thread Luis
Hello,

Billing in GAE is based on the profiling (also denoted accounting) of
resources. Of course, this must be accurate so users are not
overcharged. But Java does not provide good resource accounting
mechanisms (JSR284 seems a good step forward in that direction,
however). Then my question is, how does GAE accounts resource usage of
servlets? Is that done at OS level? Does it use a modified JVM? Does
it use the JVM Tooling Interface?

Thanks for your help,
Luis

-- 
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] Re: Security in GAE: are Jetty containers shared?

2010-07-01 Thread Luis
Thanks again!

But then I have a related question: when you terminate some request
that has last too long, you just kill the whole JVM? Cannot that
affect other petitions attended by other servlets (running in
different threads) of the same application running in that JVM?

Best,
Luis

On Jul 1, 8:02 pm, "Ikai L (Google)"  wrote:
> No, applications run inside their own JVM.
>
>
>
> On Thu, Jul 1, 2010 at 7:23 AM, Luis  wrote:
> > Hi,
>
> > I'm making a survey about security in PaaS platforms, and I have a
> > question about GAE that maybe you can help me with. It is well known
> > that GAE uses Jetty as the servlet container. However, I have not been
> > able to find any information about whether each Jetty instance hosts
> > servlets of one single user or the same Jetty instance can host
> > servlets of different users at the same time.
>
> > I wonder about that because I think it is an important question in
> > these environments: Java has certain limitations regarding isolation
> > (possible reference leaks). If the same Jetty instance runs servlets
> > of different users, then a malicious tenant could try to exploit those
> > limitations to access to servlets from other users. If, on the other
> > hand, each Jetty instance runs servlets only from an unique user, then
> > that problem cannot affect GAE.
>
> > Thank you very much for help!, regards,
> > Luis
>
> > --
> > 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.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blog:http://googleappengine.blogspot.com
> Twitter:http://twitter.com/app_engine
> Reddit:http://www.reddit.com/r/appengine

-- 
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: Upcoming maintenance notification

2010-07-01 Thread Ikai L (Google)
Thanks for the feedback, guys. We figured out what was causing this.
Upcoming notifications on that list will come from my email address
temporarily until we resolve this.

On Wed, Jun 30, 2010 at 8:34 PM, Arun Shanker Prasad <
arunshankerpra...@gmail.com> wrote:

> Yup, the downtime notification mail was in my inbox.
>
> On Jul 1, 12:55 am, "Ikai L (Google)"  wrote:
> > Was this message correctly directed into anyone's inbox?
> >
> > On Wed, Jun 30, 2010 at 12:48 PM, Robert Kluin  >wrote:
> >
> >
> >
> >
> >
> > > Went to my spam folder as well.
> >
> > > On Wed, Jun 30, 2010 at 2:19 PM, johntray 
> wrote:
> > > > I can confirm that the email from the downtime-notify group was
> indeed
> > > > routed to my Gmail spam folder. It includes a red-overlay message:
> > > > "Warning: This message may not be from whom it claims to be. Beware
> of
> > > > following any links in it or of providing the sender with any
> personal
> > > > information". There is also a link to "Learn more"  which points to
> > > >
> http://mail.google.com/support/bin/answer.py?hl=en&ctx=mail&answer=8253.
> >
> > > > Thanks for posting here, as I would have completely missed it
> >
> > > > On Jun 30, 2:51 pm, "Ikai L (Google)"  wrote:
> > > >> Hey guys,
> >
> > > >> I just wanted to point out there are upcoming maintenance periods
> > > scheduled
> > > >> for July 7th and July 14th at 5pm Pacific. More details here:
> >
> > > >>
> http://groups.google.com/group/google-appengine-downtime-notify/brows.
> > > ..
> >
> > > >> Normally, I wouldn't post these notifications to this group, as they
> > > belong
> > > >> in the "downtime notify" group, however, users are reporting that
> this
> > > >> message went into their spam folder. Can anyone verify this, or let
> me
> > > know
> > > >> in this thread if this message was correctly delivered?
> >
> > > >> If you want to be notified of upcoming maintenance periods, make
> sure to
> > > >> join this group:
> >
> > > >>http://groups.google.com/group/google-appengine-downtime-notify
> >
> > > >> We're doing our best to minimize these periods in the future, but
> there
> > > are
> > > >> times when these periods will be absolutely necessary.
> >
> > > >> --
> > > >> Ikai Lan
> > > >> Developer Programs Engineer, Google App Engine
> > > >> Blog:http://googleappengine.blogspot.com
> > > >> Twitter:http://twitter.com/app_engine
> > > >> Reddit:http://www.reddit.com/r/appengine
> >
> > > > --
> > > > 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 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-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.
> >
> > --
> > Ikai Lan
> > Developer Programs Engineer, Google App Engine
> > Blog:http://googleappengine.blogspot.com
> > Twitter:http://twitter.com/app_engine
> > Reddit:http://www.reddit.com/r/appengine
>
> --
> 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.
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine

-- 
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] Re: missing index

2010-07-01 Thread Michael
If the latter query uses recently built index, then you probably hit
the same
bug as me:

http://groups.google.com/group/google-appengine-python/browse_thread/thread/036a2ccae21798f8/89659e76acbd8a54

the only recourse is to re-put all entities of that kind.


On Jul 1, 8:27 pm, Philip Tucker  wrote:
> I have a bug where 2 different queries select a row, but the
> combination of the 2 queries doesn't. This occurs both from the Data
> Viewer console and from Java.
>
> These both return row
> agx3b3Jkd2lzZWdhbWVyFQsSDVR1cm5TdW1tYXJ5VjEY0M5ODA:
>
> SELECT * FROM TurnSummaryV1 where userKey =
> KEY('agx3b3Jkd2lzZWdhbWVyDgsSBk15VXNlchjJwQwM')
> SELECT * FROM TurnSummaryV1 where score > 0 and state = 'VALID' and
> type = 'PLAY' order by score desc
>
> But this doesn't return it:
>
> SELECT * FROM TurnSummaryV1 where score > 0 and state = 'VALID' and
> type = 'PLAY' and userKey =
> KEY('agx3b3Jkd2lzZWdhbWVyDgsSBk15VXNlchjJwQwM') order by score desc
>
> All the queries succeed, and the latter returns most of the proper
> results. Do I have any recourse other than dropping and re-adding the
> index? From what I've read the vacuum process is kind of a pain with a
> Java app.

-- 
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] Security in GAE: are Jetty containers shared?

2010-07-01 Thread Ikai L (Google)
No, applications run inside their own JVM.

On Thu, Jul 1, 2010 at 7:23 AM, Luis  wrote:

> Hi,
>
> I'm making a survey about security in PaaS platforms, and I have a
> question about GAE that maybe you can help me with. It is well known
> that GAE uses Jetty as the servlet container. However, I have not been
> able to find any information about whether each Jetty instance hosts
> servlets of one single user or the same Jetty instance can host
> servlets of different users at the same time.
>
> I wonder about that because I think it is an important question in
> these environments: Java has certain limitations regarding isolation
> (possible reference leaks). If the same Jetty instance runs servlets
> of different users, then a malicious tenant could try to exploit those
> limitations to access to servlets from other users. If, on the other
> hand, each Jetty instance runs servlets only from an unique user, then
> that problem cannot affect GAE.
>
> Thank you very much for help!, regards,
> Luis
>
> --
> 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.
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine

-- 
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] Android XMPP to GAE

2010-07-01 Thread Ikai L (Google)
Looks like there are a lot of articles about this:

http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=xmpp+android
http://davanum.wordpress.com/2008/12/29/updated-xmpp-client-for-android/

On Wed, Jun 30, 2010 at 11:43 PM, Nuclear Gene
wrote:

> Hi!
>
> I am trying to make a simple Android application(Tic Tac Toe) which
> will be hosted by Google App Engine(GAE). The client will be working
> on XMPP protocol on an Android device. Im using Eclipse Galileo for
> developement.
>
> Please, suggest any method how to implement this XMPP protocol from
> Android.
>
>
>
> --
> 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.
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine

-- 
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] Including JAR Libraries

2010-07-01 Thread Jaroslav Záruba
Not every library is white-listed on GAE, in fact most of them are not.

On Thu, Jul 1, 2010 at 4:17 PM, TigerHokieFan  wrote:

> Hello everyone, I have a question about how to properly include JAR
> files within eclipse.  I have imported these JAR libraries into the
> WEB-INF\lib directory and added them into my build path.  Eclipse
> appears to recognize these libraries and allows me to instantiate
> objects without throwing any errors.  However, when I go to run my web
> application, I consistently get NullPointerExceptions when referencing
> any object based out of a JAR library.
>
> How do I properly include these libraries for the Google App Engine so
> that I can reference and use the objects contained in the JAR files?
>
> 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 on java GAE

2010-07-01 Thread Jaroslav Záruba
Check your logging.properties:
--
# Set the default logging level for all loggers to WARNING
.level = INFO
--
...by default there is "WARNING", which causes everything less severe to get
'thrown away'.

On Thu, Jul 1, 2010 at 2:59 PM, Marius  wrote:

> Hi,
> I have a java GAE application and I can't have logging working on the
> server environment. I've readed all the doc about this but no success.
> Can someone help me ?
> Many 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.



[google-appengine] missing index

2010-07-01 Thread Philip Tucker
I have a bug where 2 different queries select a row, but the
combination of the 2 queries doesn't. This occurs both from the Data
Viewer console and from Java.

These both return row
agx3b3Jkd2lzZWdhbWVyFQsSDVR1cm5TdW1tYXJ5VjEY0M5ODA:

SELECT * FROM TurnSummaryV1 where userKey =
KEY('agx3b3Jkd2lzZWdhbWVyDgsSBk15VXNlchjJwQwM')
SELECT * FROM TurnSummaryV1 where score > 0 and state = 'VALID' and
type = 'PLAY' order by score desc

But this doesn't return it:

SELECT * FROM TurnSummaryV1 where score > 0 and state = 'VALID' and
type = 'PLAY' and userKey =
KEY('agx3b3Jkd2lzZWdhbWVyDgsSBk15VXNlchjJwQwM') order by score desc

All the queries succeed, and the latter returns most of the proper
results. Do I have any recourse other than dropping and re-adding the
index? From what I've read the vacuum process is kind of a pain with a
Java app.

-- 
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] Application not found

2010-07-01 Thread fhuddles
In Februrary of this year (2010), I created and deployed an
application using Google App Engine. I've left it there and not
visited it until just a few days ago (29/30 June 2010). My browser
says it can't find the url. I'm following the url identified in the
Dashboard, and I don't see anything in the logs other than the
resulting 404 errors.

  Has something changed that would have invalidated the url associated
with my application? It is:
vocab-aprender.appspot.com
I note that we are instructed to use:
http://appengine.google.com/a//

to access our applications, but I have no idea what my "domain" is,
nor do I see it indicated anywhere in my admin pages (Dashboard,
etc.).

  I note that there have been several upgrades to my App engine
launcher. I don't think anything has changed in my app.yaml or
anything else on the server.

Can anyone give me any help here? Thanks...

Frank Huddleston

-- 
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] How can i add a link to gmail to call a gae?

2010-07-01 Thread heros
I have added a GAE to my domain and customize its URL.
I can call the app via this URL, but I want to have a link to this app
in Gmail for all users like Calendar/Documents/... (at the top of
Gmail).
How can I do it?

Thank in advance.
Heros

-- 
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] Security in GAE: are Jetty containers shared?

2010-07-01 Thread Luis
Hi,

I'm making a survey about security in PaaS platforms, and I have a
question about GAE that maybe you can help me with. It is well known
that GAE uses Jetty as the servlet container. However, I have not been
able to find any information about whether each Jetty instance hosts
servlets of one single user or the same Jetty instance can host
servlets of different users at the same time.

I wonder about that because I think it is an important question in
these environments: Java has certain limitations regarding isolation
(possible reference leaks). If the same Jetty instance runs servlets
of different users, then a malicious tenant could try to exploit those
limitations to access to servlets from other users. If, on the other
hand, each Jetty instance runs servlets only from an unique user, then
that problem cannot affect GAE.

Thank you very much for help!, regards,
Luis

-- 
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] Including JAR Libraries

2010-07-01 Thread TigerHokieFan
Hello everyone, I have a question about how to properly include JAR
files within eclipse.  I have imported these JAR libraries into the
WEB-INF\lib directory and added them into my build path.  Eclipse
appears to recognize these libraries and allows me to instantiate
objects without throwing any errors.  However, when I go to run my web
application, I consistently get NullPointerExceptions when referencing
any object based out of a JAR library.

How do I properly include these libraries for the Google App Engine so
that I can reference and use the objects contained in the JAR files?

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.



[google-appengine] logging on java GAE

2010-07-01 Thread Marius
Hi,
I have a java GAE application and I can't have logging working on the
server environment. I've readed all the doc about this but no success.
Can someone help me ?
Many 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.



[google-appengine] Android XMPP to GAE

2010-07-01 Thread Nuclear Gene
Hi!

I am trying to make a simple Android application(Tic Tac Toe) which
will be hosted by Google App Engine(GAE). The client will be working
on XMPP protocol on an Android device. Im using Eclipse Galileo for
developement.

Please, suggest any method how to implement this XMPP protocol from
Android.



-- 
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] Re: HTTPS on my own domain

2010-07-01 Thread J
I tried it last year using Squid on EC2 as a proof of concept. It
worked well.

Now I'm in the process of putting it in production. Phil, I'd be happy
to compare notes next week or so if you wish.

On Jul 1, 2:52 am, TL  wrote:
> You would need to set this HTTP proxy outside of app engine. For
> example, Squid on amazon EC2. The proxy would be set as reverse proxy,
> and should point to your appspot secure domain (to ensure that you
> have HTTPS connection all the way to your app). I imagine you would
> also need to tell app engine to make your app accessible on 
> bothwww.mydomain.comand secure.mydomain.com (via the proxy). You should
> also harden the configuration of the proxy to ensure that it allows
> only the URLs that must be on HTTPS, such as the login form
> submission, but not other URLs.
>
> Your session cookies need to be configured to move between the
> domains, and over HTTP and HTTPS. This may not be that simple to
> configure.
> Having said all that, I did not actually try it, I am not sure that it
> would work. When I write this is starts looking to me like a big can
> of worms.
>
> On Jun 30, 11:01 am, Phil  wrote:
>
>
>
> > Does anyone have experience setting up an https capable proxy?  I
> > don't even know where to start.  Searching found a number of proxy
> > lists and instructions to setup a regular http proxy.  Maybe I'm not
> > looking for the right thing here?
>
> > Thanks!
> > Phil

-- 
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] Issue with admin access

2010-07-01 Thread Saxon Druce
Hi,

I am trying to set up the following:

1. My app running at www.mydomain.com
2. Users can log in at www.mydomain.com, using google accounts (not
google apps)
3. I can log in at www.mydomain.com/admin, as an admin for my app

To do this I have tried the following:

a. Create a google apps account for mydomain.com
b. Sign in to www.appspot.com/a/mydomain.com
c. Create myapp, with google accounts authentication
d. Add mydomain.com as a domain
e. Add an alternative url of www.mydomain.com
f. At this stage both points 1 and 2 above work
g. In my app.yaml, add a handler for /admin with login: admin
h. As expected I can't log in to /admin as my google apps account
(because I chose google accounts authentication)
i. So I create a google account (not google apps) for
u...@myotherdomain.com
j. While logged in to www.appspot.com/a/mydomain.com, invite
u...@myotherdomain.com as an admin
k. Log in to google as u...@myotherdomain.com
l. Click the link in the invitation email, and accept
m. If I log back in to www.appspot.com/a/mydomain.com, then
u...@myotherdomain.com shows up as a user
n. BUT if I log out and log in to www.appspot.com as
u...@myotherdomain.com, then myapp is not listed
o. AND if I go to www.mydomain.com/admin (or myapp.appspot.com/admin)
and log in as u...@myotherdomain.com, then I get "Error: Forbidden
Your client does not have permission to get URL /admin from this
server."

Have I done something wrong?

Is there a better way to achieve what I want? Maybe I should have
created myapp under u...@myotherdomain.com, and then just done steps
a, d and e?

Thanks,
Saxon

-- 
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] Re: Problem with IdGeneratorStrategy.INCREMENT in JDO

2010-07-01 Thread shookie10
Nate, Yes I have tried that also.  It seems that it needs a "id" value
given by the application in order to store it.  I don't have a value.
I want the data store to create the value for me.  I know that the
data store is not a relational data store, but in the relational world
as in oracle this would be generated automatically by the database.  I
have read that it is possible to do this with JDO, but all the
examples from the app engine documentation seem to be providing a
value for the data store.

Thanks

On Jun 29, 1:12 pm, Nate Bauernfeind 
wrote:
> Per:http://code.google.com/appengine/docs/java/datastore/creatinggettinga...
>
> I think you want this:
>
> @PrimaryKey
>     @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
>     private Long id;
>
>
>
> On Mon, Jun 28, 2010 at 9:40 PM, shookie10  wrote:
> > Hi I am getting the following error when using the "INCREMENT"
> > strategy.  It show as available in the API but DataN. returns the
> > error below
>
> > "There is no available value generator for strategy "increment" for
> > this datastore."
>
> > Relevant code :
> > @PrimaryKey
> > @Persistent(valueStrategy = IdGeneratorStrategy.INCREMENT)
> >        private Long id;
>
> > It should create the id at runtime with no sequence.  Is there
> > something I am missing?
>
> > 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 > 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.



[google-appengine] Re: App Engine announcement emails being marked as Phishing in Gmail

2010-07-01 Thread Albert
It's in my spam.

On Jul 1, 3:32 am, "Ikai L (Google)"  wrote:
> I didn't see this thread. At any rate, I created a new thread for this.
>
> I'll look into this. Was anyone able to receive the email address correctly
> and not have it flagged as a phishing or spam request?
>
>
>
>
>
> On Wed, Jun 30, 2010 at 5:26 AM, Harshal  wrote:
> > +1
>
> > On Wed, Jun 30, 2010 at 2:20 PM, Danny Tuppeny  wrote:
>
> >> When I get emails from the App Engine team, such as one today titled
> >> "Notification: Upcoming scheduled maintenance periods July 7th, 2010
> >> and July 14th, 2010", it goes into my spam folder, and is marked with
> >> the phishing notice:
>
> >> Warning: This message may not be from the alleged person or
> >> organisation. Beware of following any links in it or of providing the
> >> sender with any personal information.  Learn more
>
> >> This seems to happen a lot. I'll keep marking as "not phishing", but I
> >> suspect there is probably something amiss at your end for this to be
> >> happening :-)
>
> >> --
> >> 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 >>  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 > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blog:http://googleappengine.blogspot.com
> Twitter:http://twitter.com/app_engine
> Reddit:http://www.reddit.com/r/appengine

-- 
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] Custom path for the auth cookie (ACSID)

2010-07-01 Thread Vladimir Prudnikov
Is it possible to specify a custom path for the auth cookie (probably
'ACSID')? So, users will be able to use different account on the different
pages at the same time like GMail for Apps does?

For example:

http://www.mytool.com/a/mycompany.com/ — one account
http://www.mytool.com/a/anothercompany.com/ — another account



-- 
Regards, Vladimir Prudnikov.
Email: pru...@gmail.com

This message contains information which may be confidential and privileged.
Unless you are the addressee (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message. If you have received the message in error, please
advise the sender and delete the message. 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-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] Re: Problem with POST data when using blobstore upload

2010-07-01 Thread ekampf
Thanks!
I should really make the switch from appenginepatch to django-nonrel.
Have to say its kinda scary switching a framework like that... :\

On Jun 30, 10:44 pm, Waldemar Kornewald  wrote:
> On Jun 30, 4:05 pm, ekampf  wrote:
>
> > I have a form with a several fields including one file field.
> > When using regular form submit I get all the data on the server (I'm
> > using django - request.POST has the data)
> > When I submit through theblobstorehandler when it redirects to my
> > code the request.POST dictionary is empty.
>
> > Any idea what Im doing wrong?
>
> Are you using Django-nonrel or still app-engine-patch? With Django-
> nonrel you can use 
> django-filetransfers:http://www.allbuttonspressed.com/blog/django/2010/06/Uploads-to-Blobs...
>
> If you use app-engine-patch you'll need some more work:
>
> * dev_appserver'sblobstoreupload handler generates invalid line
> endings in the HTTP request. Apply this 
> fix:http://code.google.com/p/googleappengine/issues/detail?id=3328
>
> * patch Django like 
> this:http://bitbucket.org/wkornewald/django-nonrel/changeset/2ac5a9ffec83
>
> * try to use/adapt BlobstoreFileUploadHandler and
> BlobstoreUploadedFile from 
> djangoappengine:http://bitbucket.org/wkornewald/djangoappengine/src/tip/storage.py
>
> Then, you'll be able to access uploaded files via request.FILES[' field>'] as BlobstoreUploadedFile instances. These have a
> blobstore_info attribute which contains a BlobInfo for the uploaded
> file.
>
> Bye,
> Waldemar Kornewald
>
> --
> Django on App Engine, MongoDB, ...? Browser-side Python? It's open-
> source:http://www.allbuttonspressed.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-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 Engine announcement emails being marked as Phishing in Gmail

2010-07-01 Thread Andrius A
Hi,

it was flagged for me as well

On 30 June 2010 20:32, Ikai L (Google)  wrote:

> I didn't see this thread. At any rate, I created a new thread for this.
>
> I'll look into this. Was anyone able to receive the email address correctly
> and not have it flagged as a phishing or spam request?
>
>
> On Wed, Jun 30, 2010 at 5:26 AM, Harshal  wrote:
>
>> +1
>>
>>
>> On Wed, Jun 30, 2010 at 2:20 PM, Danny Tuppeny  wrote:
>>
>>> When I get emails from the App Engine team, such as one today titled
>>> "Notification: Upcoming scheduled maintenance periods July 7th, 2010
>>> and July 14th, 2010", it goes into my spam folder, and is marked with
>>> the phishing notice:
>>>
>>> Warning: This message may not be from the alleged person or
>>> organisation. Beware of following any links in it or of providing the
>>> sender with any personal information.  Learn more
>>>
>>> This seems to happen a lot. I'll keep marking as "not phishing", but I
>>> suspect there is probably something amiss at your end for this to be
>>> happening :-)
>>>
>>> --
>>> 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.
>>
>
>
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blog: http://googleappengine.blogspot.com
> Twitter: http://twitter.com/app_engine
> Reddit: http://www.reddit.com/r/appengine
>
>  --
> 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] Re: How to "reply" to an email received by a GAE app?

2010-07-01 Thread l.denardo
Hello,
I never tried it but I think you can use the mail API to send an email
from the same servlet you use to receive the messages.
I think the best thing to do is create an account to use for these
replies and set it as an admin for your application, something like
"noreply.my...@gmail.com"
*Parse the incoming message to detect the sender
*Set the account you created as the sender of the reply (it must be
one of the admins of the app: you could use your own address, but I
think it's better to create one)
*Send the mail via the API

Hope this helps
Regards
Lorenzo

On Jun 30, 9:58 pm, Kyle Jensen  wrote:
> Sorry, what I wrote is not clear.
>
> My application is receiving emails from users.  I'd like to reply to
> those in an automated fashion.  E.g. "Thanks, we received your
> email..."  etc.  It's not clear to me how to reply to a message that
> my GAE app receives.
>
> Thanks.  Kyle
>
> On Jun 30, 10:53 am, "l.denardo"  wrote:
>
> > Can you clarify what you're doing?
>
> > The following thing works correctly, anyway:
>
> > -Send the email using the Mail API setting
> > * The user's address as the sender
> > * The intended address (e.g. "admins") as the receiver
>
> > When you receive the email at the destination address (e.g. your
> > address if you're an admin) you can reply to it as if it were sent by
> > the user from their favorite mail agent.
> > I use the method above (actually, the email is sent to a public Google
> > group of which I'm part) and my replies are correctly handled in the
> > user's inbox (all Google Mail). Threading is handled by user's agent.
> > Gmail works fine for sure, but it's not something you can control.
>
> > Regards
> > Lorenzo
>
> > On Jun 30, 4:00 pm, Kyle Jensen  wrote:
>
> > > The docs are clear on receiving and sending email.  Now I'd like to
> > > "reply" to an email from a user and have it appear correctly threaded
> > > in their inbox.  How can I achieve this?
>
> > > Thanks so much, Kyle

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