[google-appengine] Download a doc file from HTML page

2009-05-10 Thread Satyajit p
Hi All,
   I am trying to *download(download)* a
word file from html page through python/google apps.But I am unable to do
so.

Can anybody help me on this issue.

Eagerly waiting for an early reply.

Thanks in advance...

Regards,
Satyajit

--~--~-~--~~~---~--~~
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: ProtocolBufferEncodeError: Required field: multiple not set

2009-05-10 Thread joshuacronemeyer

Hey thanks ryan.  I'm not sure why I didn't find that thread when i
looked.  Ah well.  Thanks for posting the link to the earlier
discussion.

On May 11, 12:18 am, ryan  wrote:
> thanks! we also discussed this in an earlier 
> thread:http://groups.google.com/group/google-appengine/browse_thread/thread/...
--~--~-~--~~~---~--~~
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] SearchableMultiQuery

2009-05-10 Thread joshuacronemeyer

I recently noticed the SearchableMultiQuery class has been added to
google.appengine.ext.search.  When I first saw the class name I got
excited because I thought it might be a workaround for the exploding
index problem that SearchableModel has (ie. being able to run a n
keyword search required n indexes).

Unfortunately it doesn't look like it.  MultiQuery is a class in
datastore that SearchableMultiQuery is extending.  It is described as
'Class representing a query which requires multiple datastore
queries.'  So this seems to solve some more general query problem and
isn't specific to SearchableModel.

That said, if anyone can give a good explanation of what MultiQuery is
all about I'd appreciate it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: ProtocolBufferEncodeError: Required field: multiple not set

2009-05-10 Thread ryan

thanks! we also discussed this in an earlier thread:
http://groups.google.com/group/google-appengine/browse_thread/thread/8e9267e3c9346317#3f502c213c0a1ba6
--~--~-~--~~~---~--~~
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] ProtocolBufferEncodeError: Required field: multiple not set

2009-05-10 Thread joshuacronemeyer

I recently noticed that the 'full text search' feature of my app was
throwing a stacktrace like this:


Traceback (most recent call last):
  File "/base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py", line 503, in __call__
handler.post(*groups)
  File "/base/data/home/apps/shell-sink/2.331785781902411868/
shellsink.py", line 191, in post
commands = full_text_search(sysadmin, query, paging_helper.page)
  File "/base/data/home/apps/shell-sink/2.331785781902411868/
command.py", line 55, in full_text_search
return query.fetch(Command.COMMANDS_PER_PAGE, (page - 1) *
Command.COMMANDS_PER_PAGE)
  File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 1426, in fetch
raw = self._get_query().Get(limit, offset)
  File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 964, in Get
return self._Run(limit, offset)._Next(limit)
  File "/base/python_lib/versions/1/google/appengine/api/
datastore.py", line 905, in _Run
apiproxy_stub_map.MakeSyncCall('datastore_v3', 'RunQuery', pb,
result)
  File "/base/python_lib/versions/1/google/appengine/api/
apiproxy_stub_map.py", line 68, in MakeSyncCall
apiproxy.MakeSyncCall(service, call, request, response)
  File "/base/python_lib/versions/1/google/appengine/api/
apiproxy_stub_map.py", line 240, in MakeSyncCall
stub.MakeSyncCall(service, call, request, response)
  File "/base/python_lib/versions/1/google/appengine/runtime/
apiproxy.py", line 181, in MakeSyncCall
rpc.MakeCall(package, call, request, response)
  File "/base/python_lib/versions/1/google/appengine/api/
apiproxy_rpc.py", line 92, in MakeCall
self._MakeCallImpl()
  File "/base/python_lib/versions/1/google/appengine/runtime/
apiproxy.py", line 124, in _MakeCallImpl
self.request.Output(e)
  File "/base/python_lib/versions/1/google/net/proto/
ProtocolBuffer.py", line 162, in Output
raise ProtocolBufferEncodeError, '\n\t'.join(dbg)
ProtocolBufferEncodeError: Required field: multiple not set.


I am using a gently modified version of SearchableModel in my app so I
immediately suspected some change in the db.Model super class.  It
looks like the following line was added to the _ToPb method of
SearchableQuery: prop.set_multiple(len(keywords) > 1)

I applied the following patch to my custom SearchableModel and it
works fine again.

232a263
> prop.set_multiple(len(keywords) > 1)
237a269,286
> class SearchableMultiQuery(datastore.MultiQuery):
>   """A multiquery that supports Search() by searching subqueries."""
>
>   def Search(self, *args, **kwargs):
> """Add a search query, by trying to add it to all subqueries.
>
> Args:
>   args: Passed to Search on each subquery.
>   kwargs: Passed to Search on each subquery.
>
> Returns:
>   self for consistency with SearchableQuery.
> """
> for q in self:
>   q.Search(*args, **kwargs)
> return self
>
>
264c312,314
<   query = db.Query._get_query(self,
_query_class=SearchableQuery)
---
>   query = db.Query._get_query(self,
>   _query_class=SearchableQuery,
>   _multi_query_class=SearchableMultiQuery)


Thought I would post just in case anyone else runs into it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Cann't deploy my app to another domain after enable billing

2009-05-10 Thread Jarred Bishop

I'm also having this issue. Has anyone reached a solution?
I have my app running at faabric.appspot.com and google hosted
services setup for faabric.com. My google address is a developer and
so is jar...@faabric (the administrator) yet I still get this error
when I try add it from appengine or my account management panel.

Any help appreciated.

Jarred

On May 10, 3:38 am, Abner Jacobsen  wrote:
> Hi all,
>
> In my case the problem was that I created the app using auth from an
> Google Apps hosted domain. An app using auth from an Google Apps
> domain can only deployed to this domain, I think.
>
> On May 6, 3:55 pm, Jacob Wright  wrote:
>
>
>
> > Ihaveanapplicationthat doesn'thavebilling turned on, and I am
> > getting the same error. So it isnotbecause of billing. I've also
> > ensured that the app domain email I signed in with was added as a
> > developer on myapplication, just in case that was a problem. And I
> > double checked the app domain user I sign in with is an administrator.
>
> > Anyone else having this issue?
--~--~-~--~~~---~--~~
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: Is anybody using "indexed=False" on properties? Is there a noticeable benefit?

2009-05-10 Thread baytiger

Hi Kyle

Yes I am using it and have been seeing a slight decrease in CPU
consuption following the addition of indexed=False to around 15 string
propertytypes and 3 list propertytypes in my two main model. It has
reduced the load around 100ms or 12% or so.

However, I must note that I have no way of actually "scientifically"
monitoring this, other than really just looking at the average load
before and after. It could also just be that the App Engine servers
are running a little more smoothly. But I choose to believe that it at
least had some effect.

However, make sure you do not indexed=false ANY properties that you
want to filter or sort on later, as this will ruin the backward-
compatibility of your datastore model.

Best,
T


On May 10, 4:19 pm, Kyle Jensen  wrote:
> I have some models with many properties; however, I need indexes on
> only a handful.  I noticed the new sdk supports 
> "indexed=False":http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes
>
> Is anybody using "indexed=False" on properties?  Is there a noticeable
> benefit?
>
> Sincerely,
> 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-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: How can I use cron to make something happen every hour on the hour?

2009-05-10 Thread Luke

Yeah I suppose thats only 24*60 = 1440 requests, not bad.

On May 10, 1:51 pm, Sylvain  wrote:
> You can do this :
> every 1 minutes  (or 2 minutes if you don't need to be very precise)
> and check the time ?
>
> if time != 9h (10,11,...):
>   return
>
> It is not perfect but it could work.
>
> Regards ?
>
> On 10 mai, 21:29, Luke  wrote:
>
> > I need something to happen every hour on the hour (e.g. 9:00, 10:00,
> > 11:00) but the cron parser does not appear to support this. I can make
> > 24 entries of the form every day 00:00, every day 01:00, every day
> > 02:00 etc. but I'm only allowed 20 cron.yaml entries by google.
> > Incidentally, its annoying that appcfg.py cron_info doesn't appear to
> > have the same requirements as appcfg.py update (cron_info didn't
> > inform me about the 20 entry limitation).
>
> > Thanks,
> > Luke
--~--~-~--~~~---~--~~
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: iPhone cannot log in any more, system-wide issue, Google pls help

2009-05-10 Thread mckoss

This is also failing with the Google Android browser (G1 phone).
Didn't every Google employee get this phone for Christmas?  Why has
this fatal error in AppEngine persisted for over 36 hours?

On May 9, 4:14 am, tijer  wrote:
> To reproduce the problem go to the google-developed app
> shell.appspot.com and try to login with aniphone.
>
> It not having aniphonethen spoof the useragent to theiphone(like
> with Safari 4's debug menu) and try logging in then. It fails with a
> 500-error page.
>
> What to do? This has been going on for two days now.
>
> It really sux when you're developing aniPhoneapplication :)
--~--~-~--~~~---~--~~
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: How can I use cron to make something happen every hour on the hour?

2009-05-10 Thread Sylvain

You can do this :
every 1 minutes  (or 2 minutes if you don't need to be very precise)
and check the time ?

if time != 9h (10,11,...):
  return

It is not perfect but it could work.

Regards ?


On 10 mai, 21:29, Luke  wrote:
> I need something to happen every hour on the hour (e.g. 9:00, 10:00,
> 11:00) but the cron parser does not appear to support this. I can make
> 24 entries of the form every day 00:00, every day 01:00, every day
> 02:00 etc. but I'm only allowed 20 cron.yaml entries by google.
> Incidentally, its annoying that appcfg.py cron_info doesn't appear to
> have the same requirements as appcfg.py update (cron_info didn't
> inform me about the 20 entry limitation).
>
> Thanks,
> Luke
--~--~-~--~~~---~--~~
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 use cron to make something happen every hour on the hour?

2009-05-10 Thread Luke

I need something to happen every hour on the hour (e.g. 9:00, 10:00,
11:00) but the cron parser does not appear to support this. I can make
24 entries of the form every day 00:00, every day 01:00, every day
02:00 etc. but I'm only allowed 20 cron.yaml entries by google.
Incidentally, its annoying that appcfg.py cron_info doesn't appear to
have the same requirements as appcfg.py update (cron_info didn't
inform me about the 20 entry limitation).

Thanks,
Luke
--~--~-~--~~~---~--~~
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: iPhone cannot log in any more, system-wide issue, Google pls help

2009-05-10 Thread baytiger

Hi Matthew

To reproduce the error, simply try to sign in to appengine.google.com
with an iphone (or any browser spoofing the iphone useragent) and you
will have the 500-error there.

Hope you'll manage to solve it...

On May 10, 7:04 pm, Matthew Blain  wrote:
> What is the URL of the page where you see the 500 error?
>
> On May 9, 6:27 am, Matt Trinneer  wrote:
>
>
>
> > Hello,
>
> > I can confirm that I am also encountering this issue.
>
> > Best, Matt
>
> > On May 9, 7:14 am, tijer  wrote:
>
> > > To reproduce the problem go to the google-developed app
> > > shell.appspot.com and try to login with an iphone.
>
> > > It not having an iphone then spoof the useragent to the iphone (like
> > > with Safari 4's debug menu) and try logging in then. It fails with a
> > > 500-error page.
>
> > > What to do? This has been going on for two days now.
>
> > > It really sux when you're developing an iPhone 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: Impossible to use with Google Site?

2009-05-10 Thread Nash-t

Here is a quick tutorial:
 1. start with adding gadgets by url to google sites
2. next, create a hello world gadget using this:
http://code.google.com/apis/gadgets/docs/gs.html#Scratchpad
3. next, learn how to publish that hello world gadget
4. next, add an iframe to that hello world gadget
5. finally, add the url to your gadget to your google sites.

It sounds like you could use help on adding gadgets. This is covered
best by the google sites help group and forum, but you can also start
here:
http://sites.google.com/site/gsunhelp/step-by-step-guides/buildinggadgetsforgooglesites



On May 5, 1:18 pm, Daniel Dosen  wrote:
> Can someone explain how to best do this exact approach? I'm trying to
> do this on a Google Site right now - only dI don't see how to add a
> link to an Google AppEngine app.  Is it just edited in HTML for a
> page?
>
> Thanks in advance to anyone for shedding more light on this...
>
> Dan
>
> On May 4, 2:33 pm, Nash-t  wrote:
>
> > I agree with wooble but you canusegooglegadgets to linkgoogle
> > sites with app engine as long as you don't expect too much regarding
> > logins. Log-in works great in firefox but no other browser (maybe
> > chrome).
>
> > I put up a demo gadget that links mygooglesites to app engine via 
> > agooglegadget. You can check it out using firefox herehttp://tr.im/kt6B
> > The other browsers will work but requires opening up a new tab, ie.
> > little more than a link.
>
> > -Tim
> > SanMateoWaveforms.comhttp://twitter.com/waveforms
>
> > On May 4, 12:51 pm, Wooble  wrote:
>
> > >GoogleSites sites are just static content.  You coulduseiframes to
> > > display your app engine app within a Sitessite, but if you want a
> > > truly dynamic website your best bet is to ditch Sites altogether and
> > > just build yoursiteentirely on App Engine.
>
> > > On May 4, 2:52 pm, Banaticus  wrote:
>
> > > > Less specific, I don't really know that it's possible to do that, I'm
> > > > asking about integrating a web app developed with theGoogleApp
> > > > Engine then linking it or displaying it or running it in conjunction
> > > > with aGoogleSite.  How's this, "Is itimpossibletouseanything
> > > > that's worth it, includingGoogleApp Engine, on aGoogleSite?"
> > > > You'd think that, once you have a web app developed with theGoogle
> > > > App Engine, there'd be some way to add it to aGoogleSite, butGoogle
> > > >Sitekeeps rejecting the extra code necessary to run a web app.
>
> > > > Honestly, I see now that theGoogleApp Engine really is howGoogle
> > > > develops -- each developer and developer team has their own tools and
> > > > they're all just busy in their own corner working on different
> > > > products and there's no overridding quality control manager-type team
> > > > to make sure that all theGoogleservices can actually communicate and
> > > > work together well.  The files on myGooglePages and the files in my
> > > >GoogleDocs and the files in a cabinet on myGoogleSiteand the file
> > > > attachments in my Gmail, honestly, would it really be so hard to just
> > > > make everything work together?  To create some sort of underlying
> > > > schema that just works with everything instead of recreating the wheel
> > > > again and again and again?
>
> > > > Please excuse the rant, I'm just frustrated.
>
> > > > On May 4, 6:18 am, Adam  wrote:
>
> > > > > Could you be less specific, please?
>
> > > > > On May 4, 2:15 am, Banaticus  wrote:
>
> > > > > > Is itimpossibletousethis with aGoogleSite?- Hide quoted text -
>
> > > > > - Show quoted text -
--~--~-~--~~~---~--~~
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: iPhone cannot log in any more, system-wide issue, Google pls help

2009-05-10 Thread Matt Trinneer

It's:  www.domain.com/_ah/login?continue=http://www.domain.com

Don't see any requests showing up in the application logs for these
requests.

Matt

On May 10, 1:04 pm, Matthew Blain  wrote:
> What is the URL of the page where you see the 500 error?
>
> On May 9, 6:27 am, Matt Trinneer  wrote:
>
>
>
> > Hello,
>
> > I can confirm that I am also encountering this issue.
>
> > Best, Matt
>
> > On May 9, 7:14 am, tijer  wrote:
>
> > > To reproduce the problem go to the google-developed app
> > > shell.appspot.com and try to login with an iphone.
>
> > > It not having an iphone then spoof the useragent to the iphone (like
> > > with Safari 4's debug menu) and try logging in then. It fails with a
> > > 500-error page.
>
> > > What to do? This has been going on for two days now.
>
> > > It really sux when you're developing an iPhone 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: iPhone cannot log in any more, system-wide issue, Google pls help

2009-05-10 Thread Matthew Blain

What is the URL of the page where you see the 500 error?

On May 9, 6:27 am, Matt Trinneer  wrote:
> Hello,
>
> I can confirm that I am also encountering this issue.
>
> Best, Matt
>
> On May 9, 7:14 am, tijer  wrote:
>
> > To reproduce the problem go to the google-developed app
> > shell.appspot.com and try to login with an iphone.
>
> > It not having an iphone then spoof the useragent to the iphone (like
> > with Safari 4's debug menu) and try logging in then. It fails with a
> > 500-error page.
>
> > What to do? This has been going on for two days now.
>
> > It really sux when you're developing an iPhone 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: Cron schedule : one day per month ?

2009-05-10 Thread Anthony Baxter

I plan to add the ability to add day of month. Stay tuned :-)

On May 1, 4:44 am, Sylvain  wrote:
> Thank you for your answer. I will use "every 24 hours".
>
> I think I will fill a request for that.
>
> Regards.
>
> On 30 avr, 20:32, 风笑雪  wrote:
>
> > And if you want it runs every day, you do this:
> > schedule: every 24 hours
>
> > 2009/5/1 风笑雪 
>
> > > You can let yourcronjob run every day.
> > > And in your job, you should check the date. If today is not 18th day of
> > > month, then exit without doing anything.
>
> > > 2009/4/30 Sylvain 
>
> > >> Hi,
>
> > >> I need to create a job that runs each 18th of month (i.e : 18th
> > >> january, 18th february, 18th march,...)
> > >> Is there a simple "schedule syntax" to do that ?
>
> > >> Currently, i can do something like that :
> > >> schedule: every
> > >> monday,tuesday,wednesday,thursday,friday,saturday,sunday of month
> > >> 09:00
> > >> and test each day if we are the 18th
>
> > >> But is there a "schedule" syntax to do that directly ?
>
> > >> Thank you
>
> > >> Regards.
--~--~-~--~~~---~--~~
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] Is anybody using "indexed=False" on properties? Is there a noticeable benefit?

2009-05-10 Thread Kyle Jensen


I have some models with many properties; however, I need indexes on
only a handful.  I noticed the new sdk supports "indexed=False":
http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes

Is anybody using "indexed=False" on properties?  Is there a noticeable
benefit?

Sincerely,
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-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] deleting datastore items error

2009-05-10 Thread Matt Murphy
Hello,

I uploaded a lot of data into app engine, and I am now trying to delete it.

I have written a simple handler to delete a few items at a time.  The other
day I was able to set the limit at 100 items without any trouble, but today
it seems to have trouble deleting far fewe items (and starts returning a
500).

Now, even if I set the limit to 1 item, it still times out trying to
delete.  The code is as follows:

results = models.MyModel.all().fetch(limit=1)
db.delete(results)

Also, the dashboard is getting a server error when I try to look at the data
in the data viewer.

Any suggestions or insights would be most helpful.

--~--~-~--~~~---~--~~
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: Sign In: Server Error - when using Android/T-Mobile G1

2009-05-10 Thread baytiger


same error here on iphone. Spoofing the mobile useragent on a desktop
browser is enough to reproduce error. Doesnt matter what application
but try shell.appspot.com if you need to reproduce (to Google app
engine staff)
On May 9, 6:58 pm, mckoss  wrote:
> When I try to sign in to an AppEngine application OR even sign into
> Dashboard for my AppEngine app I get a 500 error.  This seems to be
> specific to mobile browsers (it is NOT happening using desktop
> browsers).
>
> The error page after entering your Google credentials says:
>
> Error: Server Error
>
> The server encountered an error and could not complete your request.
>
> I first noticed this about 8am on May 9, 2009 - but it is still
> happening as of 10am.
>
> There is NO indication on the AppEngine status page that there are any
> problems, and I am not getting errors logged in my application when
> this happens.
>
> Until this is fixed, my mobile users cannot log in to their AppEngine
> applications.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---