[google-appengine] Re: Extended db.Model providing access to ReferenceProperty key

2009-02-27 Thread Bill

It's fixed.  Just saw the Cookbook allows editing your recipes :)

On Feb 26, 11:06 pm, Ian Lewis  wrote:
> I think your get_key method needs a return in there.
>
> class DerefModel(db.Model):
> def get_key(self, prop_name):
> getattr(self.__class__, prop_name).get_value_for_datastore(self)
>
>
>
> On Fri, Feb 27, 2009 at 3:51 PM, Bill  wrote:
>
> > Alex,
> > Do you mean something like this:
>
> >http://appengine-cookbook.appspot.com/recipe/getting-dbreferenceprope...
> > If so, let me know if it doesn't work.
> > -Bill
>
> > On Feb 26, 5:32 pm, Alex Popescu 
> > wrote:
> > > Hi,
>
> > > I've read on the group that somebody has extended the db.Model to
> > > automatically provide access to the referenced entity key (i.e. if the
> > > model defines a ReferenceProperty then the Model will automatically
> > > provide access to the referenced entity key -- the value that is
> > > actually stored).
>
> > > While I do know how to write the code to get the referenced entity
> > > key, I have no idea how can I enhance db.Model to automatically
> > > provide this feature.
>
> > > I'd appreciate any hints on how to get this functionality (or even
> > > better the implementation). Many thanks in advance,
>
> > > ./alex
> > > --
> > > Cloud Now:http://The.DailyCloud.net
>
> --
> ===
> 株式会社ビープラウド  イアン・ルイス
> 〒150-0012
> 東京都渋谷区広尾1-11-2アイオス広尾ビル604
> email: ianmle...@beproud.jp
> TEL:03-5795-2707
> FAX:03-5795-2708http://www.beproud.jp/
> ===
--~--~-~--~~~---~--~~
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: Access remote MySQL database

2009-02-27 Thread Bastian Hoyer

not directly.. you can only use http requests on port 80 or 443 (ssl)

The only thing you can do is add a php script on your server that acts
as a proxy for your 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-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: Help regarding ajax on appengine

2009-02-27 Thread Brandon Thomson

Did you look in your error console? I can take a look if you post your
app's name. I wrote an app with jquery and it works fine in
production.

On Feb 27, 1:07 am, app engine dude  wrote:
> Hello.i have some problem when iam developing an application. i have
> some simple form that has to be submitted to database.i used jquery
> and ajax in jquery so that form gets submitted to database. i have
> some click functions that are being written in query for displaying
> other pages.Those pages are displayed when i use the app on localhost
> +appengine. but when i upload the app on server its not showing the
> pages that i click.some1 help me with this...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] DownloadError from urlfetch

2009-02-27 Thread Doug

Morning All,

When a call to urlfetch raises the DownloadError exception is there a
way to get more information about the exception?  The error that I see
in the log is below, but I was hoping to be able to get more
information about what the error was.

I probably get this error 10% of the time, so I would really like to
see if I can get more information about what went wrong so that I can
try to fix it.  I know about the timeout of ~3 seconds, but as you can
see in the message below the call is taking less then a second.

Thanks,
Doug


02-18 07:43PM 49.370 /echo?search=Care 500 3049ms 54ms-cpu 0kb
:
ApplicationError: 5
Traceback (most recent call last):
  File "/base/data/home/apps/appspotapplication23/1.331514919573996045/
echo.py", line 25, in 
'SOAPAction':'\"http://integrationuri.org/route\";'})
  File "/base/python_lib/versions/1/google/appengine/api/urlfetch.py",
line 273, in fetch
raise DownloadError(str(e))

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



[google-appengine] Re: DownloadError from urlfetch

2009-02-27 Thread Doug


I think that I "solved" my own problem.  Using tcpmon I can see that
the urlfetch is taking 20 - 40 seconds to get data back.

The headers that do come back in the response seem to indicate that
the response was sent within a second of when I sent the message, so
maybe there is a latency issue or something...

Doug

On Feb 27, 6:23 am, Doug  wrote:
> Morning All,
>
> When a call to urlfetch raises the DownloadError exception is there a
> way to get more information about the exception?  The error that I see
> in the log is below, but I was hoping to be able to get more
> information about what the error was.
>
> I probably get this error 10% of the time, so I would really like to
> see if I can get more information about what went wrong so that I can
> try to fix it.  I know about the timeout of ~3 seconds, but as you can
> see in the message below the call is taking less then a second.
>
> Thanks,
> Doug
>
> 02-18 07:43PM 49.370 /echo?search=Care 500 3049ms 54ms-cpu 0kb
> :
> ApplicationError: 5
> Traceback (most recent call last):
>   File "/base/data/home/apps/appspotapplication23/1.331514919573996045/
> echo.py", line 25, in 
>     'SOAPAction':'\"http://integrationuri.org/route\";'})
>   File "/base/python_lib/versions/1/google/appengine/api/urlfetch.py",
> line 273, in fetch
>     raise DownloadError(str(e))
--~--~-~--~~~---~--~~
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: DataStore : Unable to Delete Exploding Indexes

2009-02-27 Thread Alex Popescu

On Feb 26, 9:26 pm, DJB  wrote:
> I have several indexes based on searchable_text_index that I've been
> unable to delete for some time. When I vacuum, the status changes to
> "Deleting", that after about 40min changes back to error.
>
> Several people on the AppEngine team have offered advice, but the
> conclusion has always been that the indexes are exceeding DataStore
> thresholds.
>
> I'm unable to create new indexes until these are removed.
>
> Is there any way these can be removed by Google?
>
> thanks,
> David
>
> __searchable_text_index ▲ , __searchable_text_index ▲ ,
> __searchable_text_index ▲ , __searchable_text_index ▲ ,
> __searchable_text_index ▲ , __searchable_text_index ▲ , bookid ▲
> Error
> __searchable_text_index ▲ , __searchable_text_index ▲ ,
> __searchable_text_index ▲ , __searchable_text_index ▲ , bookid ▲
> Error
> __searchable_text_index ▲ , __searchable_text_index ▲ ,
> __searchable_text_index ▲ , bookid ▲
> Error
> __searchable_text_index ▲ , __searchable_text_index ▲ ,
> __searchable_text_index ▲ , translation ▲ , bookid ▲ , chapter ▲ ,
> verse ▲

While not directly related, I do see an old index on my Dashboard that
I cannot get rid of even if it doesn't appear in my index.yaml or in
any query. I was wondering what can I do to finally remove it (I have
read the articel "How Index Building Works" [1], but I still cannot
figure out how to remove this unnecessary index).

./alex

[1] http://code.google.com/appengine/articles/index_building.html
--~--~-~--~~~---~--~~
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: Can´t create new apps

2009-02-27 Thread Michael R. Bernstein



On Feb 26, 8:33 pm, Neves  wrote:
> To make sure that it was not an account problem, I create a new
> account,
> and create a new application with ID "e-mail4all"
> The creation was success, but again it doesn´t show on my dashboard
> and it says that the ID is not available anymore.

So, what happens if you try accessing the app's dashboard directly,
like this

http://appengine.google.com/dashboard?&app_id=e-mail4all

- Michael R. Bernstein
--~--~-~--~~~---~--~~
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] Question Regarding Zipserve

2009-02-27 Thread Arun Shanker Prasad

Hi All,

  I tried to include the TinyMCE scripts as a zip file and serve it
using zipserve. I included the URL config in the app.yaml,

- url: /tinyMCE/.*
  script: $PYTHON_LIB/google/appengine/ext/zipserve

But this needs the tinyMCE.zip to be in the root path of my App (which
is a Django app). So this makes the zip outside my project source. I
was wondering if I could move these to the "project/media/js" folder
along with all of my other scripts?

Thanks,
Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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: Access remote MySQL database

2009-02-27 Thread Wiiboy

But that would add to page load time, wouldn't it?

On Feb 27, 1:22 am, Bastian Hoyer  wrote:
> not directly.. you can only use http requests on port 80 or 443 (ssl)
>
> The only thing you can do is add a php script on your server that acts
> as a proxy for your 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-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: Should I migrate to App Engine?

2009-02-27 Thread Wiiboy

Well, darn.  Bastian Hoyer said
"not directly.. you can only use http requests on port 80 or 443 (ssl)

The only thing you can do is add a php script on your server that acts
as a proxy for your app. "
And since that will probably slow things down, and be hard to work
with, I think I'm going to have to hold off on the App Engine until I
make my own forum.

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



[google-appengine] Re: Question Regarding Zipserve

2009-02-27 Thread Iain Wade

you can specify the zip file when setup in python:

  def main():
app = webapp.WSGIApplication(
[('/', MainPage),
 ('/static/(.*)', zipserve.make_zip_handler('staticfiles.zip')),
])

--Iain

On Sat, Feb 28, 2009 at 1:07 AM, Arun Shanker Prasad
 wrote:
>
> Hi All,
>
>  I tried to include the TinyMCE scripts as a zip file and serve it
> using zipserve. I included the URL config in the app.yaml,
>
> - url: /tinyMCE/.*
>  script: $PYTHON_LIB/google/appengine/ext/zipserve
>
> But this needs the tinyMCE.zip to be in the root path of my App (which
> is a Django app). So this makes the zip outside my project source. I
> was wondering if I could move these to the "project/media/js" folder
> along with all of my other scripts?
>
> Thanks,
> Arun Shanker Prasad.
> >
>

--~--~-~--~~~---~--~~
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: Accomplishing a "Join" between Referenced Entities

2009-02-27 Thread Devel63

kind1 is really class Kind1(search.SearchableModel).  The query
against Kind1 is really query.search("keyword_string").  I alluded to
this at the bottom of my first post, but was hoping I could get a
generalized solution.

One approach may be to use username as the key for kind2, and thus my
query can be Kind1.all().search(keyword_string).filter
('collection_name >', key_constructed from username).filter
('collection_name <', key_constructed_from_usernameZ).fetch().  I'm
not sure it's going to work!  If there's a cleaner, more generalized
approach, I'd love to hear it!

On Feb 26, 9:58 pm, Tim Hoffman  wrote:
> So in your original posting you said
>
> kind1 where prop1 = specific_value.
>
> So what specific value would you be looking for the whole text or
> specific words or combinations of words (in a particular order )
>
> This is I think where you approach will be determined.
>
> T
>
> On Feb 27, 1:41 pm, Devel63  wrote:
>
> > It's a good idea, and it's what I've used elsewhere, but in this case
> > kind1_prop is really text (I'm using the searchable data model).
> > These are not tiny, and contain data from multiple fields.  It would
> > be expensive to duplicate all this in a third class, and multiply the
> > data storage by a factor of 1 million.  So ... is there another way?
>
> > On Feb 26, 7:20 pm, Tim Hoffman  wrote:
>
> > > I think you should create a new entity
> > > which has
> > >    kind1_key
> > >    kind1_prop
> > >    kind2_key
> > >    kind1_ref
> > >    kind2_ref
>
> > > Filter on kind2 key, kind 1 key , kind1 prop
> > > The use the refs to get the real objects when you need to.
>
> > > Or something like that
>
> > > T
>
> > > On Feb 27, 4:09 am, Devel63  wrote:
>
> > > > Until now, the lack of a SQL-like join capability has not been an
> > > > issue.  But...
>
> > > > I have 2 entity kinds:
> > > >     - kind1: prop1
> > > >     - kind2: username, reference_to_kind1
>
> > > > I want to find all kind2's where user=me and reference_to_kind1 is a
> > > > kind1 where prop1 = specific_value.
>
> > > > I can't figure out a way to do this except to start with either class,
> > > > do a fetch, then iterate over all references.  This is potentially A
> > > > LOT of individual queries.  The intersection/join is small, but each
> > > > kind can have large numbers of entities.
>
> > > > How is this done?
>
> > > > P.S. Please don't suggest denormalization, because the above is a
> > > > simplified example.  I am really doing this with text fields in kind1,
> > > > and keyword searchables.
--~--~-~--~~~---~--~~
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: Question Regarding Zipserve

2009-02-27 Thread Arun Shanker Prasad

Hi,

   This can be done if my application was written in the 'webapp'
framework, but as I mentioned earlier my project is done using
Django.

There is no
def main():
app = webapp.WSGIApplication()

URL mapping is done through the url.py.

Thanks,
Arun Shanker Prasad.

On Feb 27, 8:35 pm, Iain Wade  wrote:
> you can specify the zip file when setup in python:
>
>   def main():
>     app = webapp.WSGIApplication(
>             [('/', MainPage),
>              ('/static/(.*)', zipserve.make_zip_handler('staticfiles.zip')),
>             ])
>
> --Iain
>
> On Sat, Feb 28, 2009 at 1:07 AM, Arun Shanker Prasad
>
>  wrote:
>
> > Hi All,
>
> >  I tried to include the TinyMCE scripts as a zip file and serve it
> > using zipserve. I included the URL config in the app.yaml,
>
> > - url: /tinyMCE/.*
> >  script: $PYTHON_LIB/google/appengine/ext/zipserve
>
> > But this needs the tinyMCE.zip to be in the root path of my App (which
> > is a Django app). So this makes the zip outside my project source. I
> > was wondering if I could move these to the "project/media/js" folder
> > along with all of my other scripts?
>
> > Thanks,
> > Arun Shanker Prasad.
--~--~-~--~~~---~--~~
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: Annoucement: you may now purchase additional computing resources

2009-02-27 Thread Andy Freeman

Is there any way for an application to know that it's run into quota
problems or, better yet, where it is wrt usage.

This would be useful for applications that have some flexibility in
how they behave (some can adjust refresh rates) and could also be used
to trigger an e-mail to an administrator.

On Feb 24, 1:30 pm, Jeff S  wrote:
> Hi all,
>
> We've just announced that it is now possible to purchase additional
> quota for your application. To borrow from our blog post,
>
> """
> We're psyched to announce that developers can now purchase additional
> computing resources on App Engine, enabling apps to scale beyond our
> free quotas. This has been our most requested improvement to App
> Engine and we're thrilled to deliver it, as promised.
>
> You can now set a daily budget for your app that represents the
> maximum amount you're willing to pay for computing resources each day.
> You allocate this budget across CPU, bandwidth, storage, and email,
> and you pay for only what your app consumes beyond the free
> thresholds...
> """
>
> More details are available at the following locations:
>
> Blog 
> post:http://googleappengine.blogspot.com/2009/02/new-grow-your-app-beyond-...
>
> Updated quota documentation 
> page:http://code.google.com/appengine/docs/quotas.html
>
> Documentation on purchasing additional 
> quota:http://code.google.com/appengine/docs/billing.html
>
> Billing FAQs:http://code.google.com/appengine/kb/billing.html
>
> Questions? Comments? :-)
>
> Happy coding,
>
> 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
-~--~~~~--~~--~--~---



[google-appengine] Re: Annoucement: you may now purchase additional computing resources

2009-02-27 Thread Andy Freeman

The issue has already been raised as
http://code.google.com/p/googleappengine/issues/detail?id=655


On Feb 27, 8:12 am, Andy Freeman  wrote:
> Is there any way for an application to know that it's run into quota
> problems or, better yet, where it is wrt usage.
>
> This would be useful for applications that have some flexibility in
> how they behave (some can adjust refresh rates) and could also be used
> to trigger an e-mail to an administrator.
>
> On Feb 24, 1:30 pm, Jeff S  wrote:
>
>
>
> > Hi all,
>
> > We've just announced that it is now possible to purchase additional
> > quota for your application. To borrow from our blog post,
>
> > """
> > We're psyched to announce that developers can now purchase additional
> > computing resources on App Engine, enabling apps to scale beyond our
> > free quotas. This has been our most requested improvement to App
> > Engine and we're thrilled to deliver it, as promised.
>
> > You can now set a daily budget for your app that represents the
> > maximum amount you're willing to pay for computing resources each day.
> > You allocate this budget across CPU, bandwidth, storage, and email,
> > and you pay for only what your app consumes beyond the free
> > thresholds...
> > """
>
> > More details are available at the following locations:
>
> > Blog 
> > post:http://googleappengine.blogspot.com/2009/02/new-grow-your-app-beyond-...
>
> > Updated quota documentation 
> > page:http://code.google.com/appengine/docs/quotas.html
>
> > Documentation on purchasing additional 
> > quota:http://code.google.com/appengine/docs/billing.html
>
> > Billing FAQs:http://code.google.com/appengine/kb/billing.html
>
> > Questions? Comments? :-)
>
> > Happy coding,
>
> > Jeff- 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] Using Alternate Versions when Serving from Own Domain?

2009-02-27 Thread Devel63

When I was serving from appspot.com I could access multiple versions
of the app via http://version_number.latest.appname.appspot.com.

Now that I'm serving off my own domain, how can I access those
alternate versions?   When I click on the url in the Dashboard (which
references appspot.com), I get a NotAllowedError.

Do I need to create a CNAME entry for every version?  Will that work?
Is there a simpler way?

--~--~-~--~~~---~--~~
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] Using App Engine to resize and manipulate images (newbie)

2009-02-27 Thread Jonathan

Hi,

I'm new to both the App Engine and Python, so I may sound kind of
slow.

First, I'd like to use App Engine as an image store similar to S3.  My
website (running on a dedicated server) will let users upload images
to the App Engine via a Flash control.  After each image is uploaded,
JS will post a request to an App Engine page to resize the image and
otherwise manipulate the image.

I assume all of this should be fairly straightforward to do with App
Engine, is that right?

Seeing that I can run the Python Image Library on AE, why would I want
to call the AE Image API functions?  Doesn't PIL support may more
functions that I can also invoke from my web page?  For example, will
probably need to change the bit depth of each image to reduce the file
size.  Anyway, isn't the Image API redundant if you install PIL?

Thanks

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



[google-appengine] Safari/IE cannot display app engine output

2009-02-27 Thread AZ

I am running into an odd issue where the output from my appengine app
here:
http://azeckoski.appspot.com/
is displayed as a blank page in IE and Safari but appears fine in
firefox. I can't see anything odd in the headers which would make me
think that it should not work:
Response Headers
Cache-Controlno-cache
Content-Typetext/plain
Content-Encodinggzip
Date Fri, 27 Feb 2009 12:04:48 GMT
Server  Google Frontend
Content-Length  143

It is just a test app and is extremely simple so I am quite concerned
that this simple case is failing. Has anyone else experienced this?
The code is basically the code from the tutorial with some date and
time stuff added in.


--~--~-~--~~~---~--~~
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] number can't be verified

2009-02-27 Thread xavier.mot...@gmail.com

Your message was not delivered. 213-xxx- cannot be verified at
this time as a valid mobile number. Please check the number or try
again later.



I sent my friend an sms from google a long time ago.  They didn't know
who it was from and deleted it.  Gmail is now not allowing me to send
them an sms now that they know its me and wants to receive the sms
messages from gmail.  how do i send them the initial email that they
need to validate??

pls help.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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] GQL Query involving key string

2009-02-27 Thread Audrey M Roy

How do I write a GQL query that's something like this...

SELECT * FROM Pet WHERE __key__='mykeystring'

the above returns the error BadFilterError: invalid filter: __key__
filter value must be a Key; received mykeystring (a unicode).

Audrey

--~--~-~--~~~---~--~~
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] 500 error online (cannot find module) but no problem with dev_appserver

2009-02-27 Thread johntray

Well I am completely stumped. Since upgrading to the 1.1.9 SDK, my app
runs OK with dev_appserver, but when I upload and try to run online, I
get an import module error:

: No module named siterequesthandler
Traceback (most recent call last):
  File "/base/data/home/apps/jatnotes/1.331705598365864096/main.py",
line 7, in 
from site.siterequesthandler import SiteRequestHandler

Can anyone help me figure out what is wrong here? Since every other
post seems to blame 500 errors on the app.yaml file, I will paste mine
below. (I don't see the connection, but I've got nothing to lose...)

john


application: jatnotes
version: 1
runtime: python
api_version: 1

handlers:
- url: /site/images
  static_dir: site/images

- url: /site/stylesheets
  static_dir: site/stylesheets

- url: /javascript
  static_dir: html/javascript
  login: required

- url: /stylesheets
  static_dir: html/stylesheets
  login: required

- url: /test
  static_dir: test

- url: /.*
  script: main.py

skip_files:
- ^(.*/)?app\.yaml
- ^(.*/)?app\.yml
- ^(.*/)?index\.yaml
- ^(.*/)?index\.yml
- ^(.*/)?#.*#
- ^(.*/)?.*~
- ^(.*/)?.*\.py[co]
- ^(.*/)?.*/RCS/.*
- ^(.*/)?\..*
- ^(.*/)?test/.* # don't upload test directory (localhost
only)
- ^(.*/)?html/images/.*  # html/images directory not used


--~--~-~--~~~---~--~~
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] Problem with python module in directory named "site"

2009-02-27 Thread johntray

I have this unusual problem where the online server cannot find a
python module if it is in a directory named "site". When my main.py
tries to import site.module, the online server says it is not found
and kicks out a 500 error. This problem does not occur with the
development server. I think it is related to the fact that I am also
using some subdirectories of the "site" directory for static files.
But since I cannot repeat this behavior with the dev_appserver, I am
not going to spend any more time debugging it. It seems strange, but
simply renaming the directory makes the problem go away.

I know that you cannot use certain URLs with GAE ("/form" and "/
_ah/"). Is it possible there are some restricted directory names too?


--~--~-~--~~~---~--~~
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: What happened to minor version numbers?

2009-02-27 Thread Marzia Niccolai
Alex,

It should never have been the case that we displayed distinct minor version
numbers allowing you to switch between them.  The system was always designed
to make different major versions accessible through the admin console.

Previously, if you had, say, major version 1.3 and 2.5, you would have
accessed each version through:
1.3.app-id.appspot.com and 2.5.app-id.appspot.com

The problem with this is everytime you deployed a new minor version you
would have to iterate the number in the URL.  Now, however, with major
versions 1 and 2 you can always access the versions at the URL:
1.latest.app-id.appspot.com and 2.latest.app-id.appspot.com

The default version will also be the one deployed on
http://app-id.appspot.com.

-Marzia



On Thu, Feb 26, 2009 at 6:56 PM, Alex Epshteyn  wrote:

>
> Last summer, when I would upload my app with app_cfg without changing
> the version number in app.yaml, the admin console showed a minor
> version number.  Example:
>
> Say I upload version "3" twice - I would get roughly the following in
> the console:
>
> version 3.1 (default)
> version 3.2
>
> The subdomain 3.latest would have pointed to 3.2, but the default url
> still went to 3.1 until you change the default version.
>
> That system was very nice because it allowed you to rollback if you
> forgot to change the version number in app.yaml by accident.
>
> Now, however, uploading the same version number seems to clobber the
> previous version.
>
> Where did the minor versions go?
> >
>

--~--~-~--~~~---~--~~
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: Can´t create new apps

2009-02-27 Thread Marzia Niccolai
Hi,

I see what is happening here.

You are creating these applications with an account that is both a Google
Account and a Google Apps account.  You may be signed in to the account as a
Google Account, but the app gets created under the Google Apps account.
This is a known issue that is, unfortunately, very difficult to solve.  You
can access these apps, but only through your Google Apps account by signing
at at:

http://appengine.google.com/a/qi64.com

-Marzia

On Thu, Feb 26, 2009 at 7:33 PM, Neves  wrote:

>
> To make sure that it was not an account problem, I create a new
> account,
> and create a new application with ID "e-mail4all"
> The creation was success, but again it doesn´t show on my dashboard
> and it says that the ID is not available anymore.
> Please, it can´t be a local problem only with me. Try to create a
> fresh account to see what happens.
>
> On 26 fev, 21:57, Neves  wrote:
> > Marzia, it´s getting even more weird.
> > Now I created 6 applications without error, but it didn´t showup on my
> > dashboard and when I try to create it again, it says that it´s already
> > exists.
> > Here are the used ids:
> > gdlefj3osje943j2342kdl
> > sitenasnuvens
> > webnasnuvens
> > gigadados
> > host64
> > websitepronto
> >
> > When I try to deploy to any of them, I get an error "You do not have
> > permission to modify this app (app_id=u'websitepronto')."
> > I reset my ADSL modem IP but the problem still.
> >
> > On 26 fev, 17:29, Marzia Niccolai  wrote:
> >
> >
> >
> > > Hi,
> >
> > > The app id servicos is definitely not available, it would be easier if
> you
> > > could get the complete headers when using, for instance, the string
> > > gdlefj3osje943j2342kdl which we know is not available.
> >
> > > Are you trying both of these machines from the same location / IP
> addresses?
> >
> > > -Marzia
> >
> > > On Thu, Feb 26, 2009 at 12:19 PM, Neves 
> wrote:
> >
> > > > I´ve tried from 4 diferent browser on windows and firefox on Ubuntu.
> > > > I can update and use the application that already exists.
> > > > Here are the request and response headers from
> > > >http://appengine.google.com/start/createapp
> > > > tohttp://appengine.google.com/start/createapp.do(404)
> > > >http://gist.github.com/71082
> >
> > > > Have you tried if you got the same problem?
> >
> > > > On 26 fev, 16:13, Marzia Niccolai  wrote:
> > > > > Hi,
> >
> > > > > To narrow down this problem a bit, is this across computers or have
> you
> > > > only
> > > > > tried on one computer?  If it's only on one computer, what is the
> OS/
> > > > > Browser versions you are using? Do you know your IP address?  Can
> you
> > > > > provide screenshots of the error?
> >
> > > > > Do you have live http headers, or another program where we can see
> the
> > > > > request information why you try to register an application id?
>  This
> > > > would
> > > > > probably be the most useful information.
> >
> > > > > Can you still see your previously created applications when you
> sign in
> > > > tohttp://appengine.google.com?Canyou upload your app to those
> previously
> > > > > created app ids?
> >
> > > > > -Marzia
> >
> > > > > On Thu, Feb 26, 2009 at 11:06 AM, Neves 
> wrote:
> >
> > > > > > I always get this message "This application ID or version is
> already
> > > > > > in use" while creating a new app, even if I choose a random ID
> like
> > > > > > "gdlefj3osje943j2342kdl.appspot.com"
> >
>

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



[google-appengine] Re: Using Alternate Versions when Serving from Own Domain?

2009-02-27 Thread Marzia Niccolai
Hi,

The reason you are getting the NotAllowedError is that you are requiring
Google Apps login for your application, and currently such pages can't be
served off of an appspot domain, only your own domain.

The only option currently is to make login optional on the non-default
versions so they can still be accessed through appspot.

In the longer run we are working on a solution for this problem so that you
can use Google Apps login on appspot domains, but it is still secure.

-Marzia

On Fri, Feb 27, 2009 at 8:43 AM, Devel63  wrote:

>
> When I was serving from appspot.com I could access multiple versions
> of the app via http://version_number.latest.appname.appspot.com.
>
> Now that I'm serving off my own domain, how can I access those
> alternate versions?   When I click on the url in the Dashboard (which
> references appspot.com), I get a NotAllowedError.
>
> Do I need to create a CNAME entry for every version?  Will that work?
> Is there a simpler way?
>
> >
>

--~--~-~--~~~---~--~~
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: 500 error online (cannot find module) but no problem with dev_appserver

2009-02-27 Thread Marzia Niccolai
Hi,

My guess is that you are having issues because you have site/images, etc as
a static_dir, but it seems you also have program files in the site/
directory? It's treating the entire site/ directory as a static directory,
and thus it is not accessible in your application.

This is a known issue with the dev_appserver, where static_dir are
programmatically accessible through the dev_appserver, but this is not the
case in production.

The solution would be to separate out your static files and program files in
to completely different directories.

-Marzia

On Thu, Feb 26, 2009 at 6:14 PM, johntray  wrote:

>
> Well I am completely stumped. Since upgrading to the 1.1.9 SDK, my app
> runs OK with dev_appserver, but when I upload and try to run online, I
> get an import module error:
>
> : No module named siterequesthandler
> Traceback (most recent call last):
>  File "/base/data/home/apps/jatnotes/1.331705598365864096/main.py",
> line 7, in 
>from site.siterequesthandler import SiteRequestHandler
>
> Can anyone help me figure out what is wrong here? Since every other
> post seems to blame 500 errors on the app.yaml file, I will paste mine
> below. (I don't see the connection, but I've got nothing to lose...)
>
> john
>
>
> application: jatnotes
> version: 1
> runtime: python
> api_version: 1
>
> handlers:
> - url: /site/images
>  static_dir: site/images
>
> - url: /site/stylesheets
>  static_dir: site/stylesheets
>
> - url: /javascript
>  static_dir: html/javascript
>  login: required
>
> - url: /stylesheets
>  static_dir: html/stylesheets
>  login: required
>
> - url: /test
>  static_dir: test
>
> - url: /.*
>  script: main.py
>
> skip_files:
> - ^(.*/)?app\.yaml
> - ^(.*/)?app\.yml
> - ^(.*/)?index\.yaml
> - ^(.*/)?index\.yml
> - ^(.*/)?#.*#
> - ^(.*/)?.*~
> - ^(.*/)?.*\.py[co]
> - ^(.*/)?.*/RCS/.*
> - ^(.*/)?\..*
> - ^(.*/)?test/.* # don't upload test directory (localhost
> only)
> - ^(.*/)?html/images/.*  # html/images directory not used
>
>
> >
>

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



[google-appengine] Re: Using App Engine to resize and manipulate images (newbie)

2009-02-27 Thread Barry Hunter

I think you are mistaken, PIL is not supported on AppEngine.

Its slightly confusing that the local SDK requires PIL - but it just
uses it to implement the Images API. The production area doesnt have
PIL at all.

So you only have the functions that the Images makes available (or
that you can implment in Pure Python)

Maybe you can use the Flash client to do the image transformations
before sending to AppEngine.


On 27/02/2009, Jonathan  wrote:
>
>  Hi,
>
>  I'm new to both the App Engine and Python, so I may sound kind of
>  slow.
>
>  First, I'd like to use App Engine as an image store similar to S3.  My
>  website (running on a dedicated server) will let users upload images
>  to the App Engine via a Flash control.  After each image is uploaded,
>  JS will post a request to an App Engine page to resize the image and
>  otherwise manipulate the image.
>
>  I assume all of this should be fairly straightforward to do with App
>  Engine, is that right?
>
>  Seeing that I can run the Python Image Library on AE, why would I want
>  to call the AE Image API functions?  Doesn't PIL support may more
>  functions that I can also invoke from my web page?  For example, will
>  probably need to change the bit depth of each image to reduce the file
>  size.  Anyway, isn't the Image API redundant if you install PIL?
>
>  Thanks
>
>  >
>


-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

--~--~-~--~~~---~--~~
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: Counting real storage roundtrips

2009-02-27 Thread Alex Popescu

On Feb 26, 5:27 pm, Alex Popescu 
wrote:
> Hi all,
>
> I've spent a lot of time lately profiling my app. Basically, I've been
> looking for spots where optimizations can be done so that I better
> understand its state and figure out how soon I might need to look at
> 'Billing'
>
> The thing I've noticed is that even if pluging in cProfile is a very
> easy job, figuring out what's going on is basically much more complex
> than I've imagined, due to the fact that there is no easy way to
> figure out the code execution path and due to the differences in the
> SDK sourcecode vs runtime.
>
> Anyways, there is one thing that I've learned: datastorage hits, even
> for reads, are not as cheap as advertised. So, now I'm trying to
> figure out what are the scenarios when a datastorage hit is required
> for reads.
>
> Here is my initial list:
>
> 1. Model.get(): 1 hit (even if multiple keys are provided)
> 2. db.get(): 1 hit (even if multiple keys are provided)
> 3. model.reference_property: 1 hit
> 4. Query.count(): 1 hit
>
> Are there any other scenarios that I need to account for?
>
> a. What happens for a Query.fetch()? I assume that is 1 hit too. I am
> wondering if iterating over the results will result in more
> roundtrips?
> b. Any other scenarios
>
> Many thanks in advance,
>
> ./alex
> --
> .w( the_mindstorm )p.
>   Alexandru Popescu

After some more digging, I've got the impression that Queries are in
fact hitting the datastore twice. Once when the fetch is called and
then upon the first iteration over the results. I'm basing this
observation on a series of profiling sessions that are showing some
constant numbers in the form:

140.0000.287  /base/python_lib/versions/1/google/appengine/api/
datastore.py:866(_Run)
140.0000.221  /base/python_lib/versions/1/google/appengine/api/
datastore.py:1487(_Next)

According to the documentation:

_Run: Runs this query, with an optional result limit and an optional
offset.
_Next: Returns the next result(s) of the query.

_Next is part of the datastore.Iterator class and while you'd think it
would work on an already fetched result set, it looks like it is
calling a

apiproxy_stub_map.MakeSyncCall('datastore_v3', 'Next', req, result)

which is a good sign that the datastore is hit once more.

./alex
--
.w( the_mindstorm )p.
  Alexandru Popescu

Cloud Now: http://The.DailyCloud.net
--~--~-~--~~~---~--~~
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: GQL Query involving key string

2009-02-27 Thread Bryan A. Pendleton

You don't actually need to use GQL, just use:

db.get('mykeystring')

On Feb 26, 9:21 pm, Audrey M Roy  wrote:
> How do I write a GQL query that's something like this...
>
> SELECT * FROM Pet WHERE __key__='mykeystring'
>
> the above returns the error BadFilterError: invalid filter: __key__
> filter value must be a Key; received mykeystring (a unicode).
>
> Audrey
--~--~-~--~~~---~--~~
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: 500 error online (cannot find module) but no problem with dev_appserver

2009-02-27 Thread johntray

OK thanks for the info.

Can I ask you to feed a suggestion back to the GAE documentation
folks? A sentence or two about not commingling handlers and static
dirs in 
http://code.google.com/appengine/docs/python/tools/configuration.html#Static_File_Handlers
would have saved me some grief.

My app has 3 major parts, so I organized it in 3 directories, each
containing a request handler (python) in the top-level directory, and
their respective images, javascript, and stylesheets in
subdirectories. Seems like the most natural layout, however it sounds
like I *should* have used 2 directories at the root level, one for
handlers and the other for static files.

Thanks again,
john


On Feb 27, 12:21 pm, Marzia Niccolai  wrote:
> Hi,
>
> My guess is that you are having issues because you have site/images, etc as
> a static_dir, but it seems you also have program files in the site/
> directory? It's treating the entire site/ directory as a static directory,
> and thus it is not accessible in your application.
>
> This is a known issue with the dev_appserver, where static_dir are
> programmatically accessible through the dev_appserver, but this is not the
> case in production.
>
> The solution would be to separate out your static files and program files in
> to completely different directories.
>
> -Marzia
>
> On Thu, Feb 26, 2009 at 6:14 PM, johntray  wrote:
>
> > Well I am completely stumped. Since upgrading to the 1.1.9 SDK, my app
> > runs OK with dev_appserver, but when I upload and try to run online, I
> > get an import module error:
>
> > : No module named siterequesthandler
> > Traceback (most recent call last):
> >  File "/base/data/home/apps/jatnotes/1.331705598365864096/main.py",
> > line 7, in 
> >    from site.siterequesthandler import SiteRequestHandler
>
> > Can anyone help me figure out what is wrong here? Since every other
> > post seems to blame 500 errors on the app.yaml file, I will paste mine
> > below. (I don't see the connection, but I've got nothing to lose...)
>
> > john
>
> > application: jatnotes
> > version: 1
> > runtime: python
> > api_version: 1
>
> > handlers:
> > - url: /site/images
> >  static_dir: site/images
>
> > - url: /site/stylesheets
> >  static_dir: site/stylesheets
>
> > - url: /javascript
> >  static_dir: html/javascript
> >  login: required
>
> > - url: /stylesheets
> >  static_dir: html/stylesheets
> >  login: required
>
> > - url: /test
> >  static_dir: test
>
> > - url: /.*
> >  script: main.py
>
> > skip_files:
> > - ^(.*/)?app\.yaml
> > - ^(.*/)?app\.yml
> > - ^(.*/)?index\.yaml
> > - ^(.*/)?index\.yml
> > - ^(.*/)?#.*#
> > - ^(.*/)?.*~
> > - ^(.*/)?.*\.py[co]
> > - ^(.*/)?.*/RCS/.*
> > - ^(.*/)?\..*
> > - ^(.*/)?test/.*         # don't upload test directory (localhost
> > only)
> > - ^(.*/)?html/images/.*  # html/images directory not used
--~--~-~--~~~---~--~~
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: DataStore : Unable to Delete Exploding Indexes

2009-02-27 Thread Marzia Niccolai
Hi,

Currently we don't have the ability to force delete these exploding indices,
however, this should not prevent you from uploading additional indexes.
These indices will simply stay in error and the new indexes should build
like normal.

Concerning removing indexes in the datastore in general, to do this you
should use the vacuum_index command.  Simply removing indexes from your
index.yaml will not cause them to be removed from App Engine.  They must be
explicitly vacuumed from the system.

-Marzia

On Fri, Feb 27, 2009 at 4:55 AM, Alex Popescu <
the.mindstorm.mailingl...@gmail.com> wrote:

>
> On Feb 26, 9:26 pm, DJB  wrote:
> > I have several indexes based on searchable_text_index that I've been
> > unable to delete for some time. When I vacuum, the status changes to
> > "Deleting", that after about 40min changes back to error.
> >
> > Several people on the AppEngine team have offered advice, but the
> > conclusion has always been that the indexes are exceeding DataStore
> > thresholds.
> >
> > I'm unable to create new indexes until these are removed.
> >
> > Is there any way these can be removed by Google?
> >
> > thanks,
> > David
> >
> > __searchable_text_index ▲ , __searchable_text_index ▲ ,
> > __searchable_text_index ▲ , __searchable_text_index ▲ ,
> > __searchable_text_index ▲ , __searchable_text_index ▲ , bookid ▲
> > Error
> > __searchable_text_index ▲ , __searchable_text_index ▲ ,
> > __searchable_text_index ▲ , __searchable_text_index ▲ , bookid ▲
> > Error
> > __searchable_text_index ▲ , __searchable_text_index ▲ ,
> > __searchable_text_index ▲ , bookid ▲
> > Error
> > __searchable_text_index ▲ , __searchable_text_index ▲ ,
> > __searchable_text_index ▲ , translation ▲ , bookid ▲ , chapter ▲ ,
> > verse ▲
>
> While not directly related, I do see an old index on my Dashboard that
> I cannot get rid of even if it doesn't appear in my index.yaml or in
> any query. I was wondering what can I do to finally remove it (I have
> read the articel "How Index Building Works" [1], but I still cannot
> figure out how to remove this unnecessary index).
>
> ./alex
>
> [1] http://code.google.com/appengine/articles/index_building.html
> >
>

--~--~-~--~~~---~--~~
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: MemCache/datastore failing

2009-02-27 Thread Marzia Niccolai
Hi,

I can confirm the issue with memcache and get_stats that happened with the
latest release. We are working on a fix for this issue.

-Marzia

On Thu, Feb 26, 2009 at 5:35 PM, DarkCoiote  wrote:

>
> The funny thing is that the code didnt change...
>
> that's why I imagined it could be something that change with engine
> itself.
>
> Is it possible that the app engine running in the server got
> corrupted
> or something like it?
>
> Thanks.
>
> On Feb 19, 10:05 pm, Marzia Niccolai  wrote:
> > Hi,
> >
> > It's difficult to see with only the stack traces, please post the code
> > causing this as well.  Also, the datastore deadline's remain the same,
> the
> > runtime request limit is now 30 second, not the datastore.
> >
> > I would say that the second stack trace seems like you may be trying to
> > fetch 1000 records, which is probably the cause of the deadline error,
> > depending on your data model.
> >
> > -Marzia
> >
> > On Thu, Feb 19, 2009 at 4:56 AM, DarkCoiote 
> wrote:
> >
> > > Hi,
> >
> > > somehow my app. can't use memcache anymore (it was working fine a week
> > > ago).
> >
> > > For instance, I clear the cache (memcache.flush_all()), use the app
> > > (almost every operation uses caching) and then call the cache stats
> > > page (stats = memcache.get_stats()) but the stats variable gets
> > > consistently 'none' value.
> >
> > > As a result, latency has increased a lot making responses exceed the
> > > 10sec. timeout (maybe other bug here, as now it should be 30s right?
> > > although the timeout can be from the 'gadgets.io.makeRequest' from the
> > > opensocial part of the app.)
> >
> > > The traceback of the problem I got with the datastore:
> >
> > > An error occurred for the API request datastore_v3.RunQuery().
> > > 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/date-review/2.331374829726725911/
> > > main.py", line 371, in post
> > >avgRating = get_avg_rating(friend)
> > >  File "/base/data/home/apps/date-review/2.331374829726725911/
> > > main.py", line 95, in get_avg_rating
> > >ratings = query.get()
> > >  File "/base/python_lib/versions/1/google/appengine/ext/db/
> > > __init__.py", line 1346, in get
> > >results = self.fetch(1)
> > >  File "/base/python_lib/versions/1/google/appengine/ext/db/
> > > __init__.py", line 1390, in fetch
> > >raw = self._get_query().Get(limit, offset)
> > >  File "/base/python_lib/versions/1/google/appengine/api/
> > > datastore.py", line 942, in Get
> > >return self._Run(limit, offset)._Next(limit)
> > >  File "/base/python_lib/versions/1/google/appengine/api/
> > > datastore.py", line 883, 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 183, in MakeSyncCall
> > >rpc.CheckSuccess()
> > >  File "/base/python_lib/versions/1/google/appengine/api/
> > > apiproxy_rpc.py", line 111, in CheckSuccess
> > >raise self.exception
> > > Error: An error occurred for the API request datastore_v3.RunQuery().
> >
> > > Some times I get this kind of traceback, which I'm sure is the
> > > deadline problem:
> >
> > > :
> > > Traceback (most recent call last):
> > >  File "/base/data/home/apps/date-review/2.331374829726725911/
> > > main.py", line 620, in main
> > >run_wsgi_app(application)
> > >  File "/base/python_lib/versions/1/google/appengine/ext/webapp/
> > > util.py", line 76, in run_wsgi_app
> > >result = application(env, _start_response)
> > >  File "/base/python_lib/versions/1/google/appengine/ext/webapp/
> > > __init__.py", line 503, in __call__
> > >handler.post(*groups)
> > >  File "/base/data/home/apps/date-review/2.331374829726725911/
> > > main.py", line 372, in post
> > >numVisit = get_num_visits(friend)
> > >  File "/base/data/home/apps/date-review/2.331374829726725911/
> > > main.py", line 487, in get_num_visits
> > >delete_old_visits(owner)
> > >  File "/base/data/home/apps/date-review/2.331374829726725911/
> > > main.py", line 492, in delete_old_visits
> > >results = query.fetch(1000)
> > >  File "/base/python_lib/versions/1/google/appengine/ext/db/
> > > __init__.py", line 1390, in fetch
> > >raw = self._get_query().Get(limit, offset)
> > >  File "/base/python_lib/versions/1/google/appengine/api/
> > > datastore.py", line 942, in Get
> > >return self._Run(limit, offset)._Next(limit)
> > >  File "/base/python_lib/versions/1/google/appengine/a

[google-appengine] need more apps please.

2009-02-27 Thread Ben Nevile

Hi - I have been using GAE for a few months now and really love it.  I
am porting my collection of Ruby apps over.

Of course I'm running up against the 10-application limit.  I have
transferred some of my apps over so that the only developer is now at
a different email account.  I seem to still be at my limit.  Perhaps
this will change after some period of time?

I can't enable another account to create apps because it won't accept
my phone number (has already been used).

Can someone on the GAE team please help me out here?  I'm sure people
are working on this feature.  Time is an important detail for me - if
I can't port these Ruby apps to GAE soon I'll probably instead have to
port them to another Ruby host due to an impending end of contract
with my current hosting provider.

Ben
--~--~-~--~~~---~--~~
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: MemCache/datastore failing

2009-02-27 Thread bradfitz

DarkCoiote,

I've fixed the memcache server bug.  It was an obscure case that could
happen when a delete-locked (delete with expiration time) item being
at the tail of the namespace LRU chain.  In other words, totally not
related to your code at all... this should've worked.

Thanks for the bug report!

I'm rolling up a new package of the memcacheg server now and then the
App Engine folks can deploy it whenever works best for them.

- Brad

On Feb 19, 4:56 am, DarkCoiote  wrote:
> Hi,
>
> somehow my app. can't use memcache anymore (it was working fine a week
> ago).
>
> For instance, I clear the cache (memcache.flush_all()), use the app
> (almost every operation uses caching) and then call the cache stats
> page (stats = memcache.get_stats()) but the stats variable gets
> consistently 'none' value.
>
> As a result, latency has increased a lot making responses exceed the
> 10sec. timeout (maybe other bug here, as now it should be 30s right?
> although the timeout can be from the 'gadgets.io.makeRequest' from the
> opensocial part of the app.)
>
> The traceback of the problem I got with the datastore:
>
> An error occurred for the API request datastore_v3.RunQuery().
> 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/date-review/2.331374829726725911/
> main.py", line 371, in post
>     avgRating = get_avg_rating(friend)
>   File "/base/data/home/apps/date-review/2.331374829726725911/
> main.py", line 95, in get_avg_rating
>     ratings = query.get()
>   File "/base/python_lib/versions/1/google/appengine/ext/db/
> __init__.py", line 1346, in get
>     results = self.fetch(1)
>   File "/base/python_lib/versions/1/google/appengine/ext/db/
> __init__.py", line 1390, in fetch
>     raw = self._get_query().Get(limit, offset)
>   File "/base/python_lib/versions/1/google/appengine/api/
> datastore.py", line 942, in Get
>     return self._Run(limit, offset)._Next(limit)
>   File "/base/python_lib/versions/1/google/appengine/api/
> datastore.py", line 883, 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 183, in MakeSyncCall
>     rpc.CheckSuccess()
>   File "/base/python_lib/versions/1/google/appengine/api/
> apiproxy_rpc.py", line 111, in CheckSuccess
>     raise self.exception
> Error: An error occurred for the API request datastore_v3.RunQuery().
>
> Some times I get this kind of traceback, which I'm sure is the
> deadline problem:
>
> :
> Traceback (most recent call last):
>   File "/base/data/home/apps/date-review/2.331374829726725911/
> main.py", line 620, in main
>     run_wsgi_app(application)
>   File "/base/python_lib/versions/1/google/appengine/ext/webapp/
> util.py", line 76, in run_wsgi_app
>     result = application(env, _start_response)
>   File "/base/python_lib/versions/1/google/appengine/ext/webapp/
> __init__.py", line 503, in __call__
>     handler.post(*groups)
>   File "/base/data/home/apps/date-review/2.331374829726725911/
> main.py", line 372, in post
>     numVisit = get_num_visits(friend)
>   File "/base/data/home/apps/date-review/2.331374829726725911/
> main.py", line 487, in get_num_visits
>     delete_old_visits(owner)
>   File "/base/data/home/apps/date-review/2.331374829726725911/
> main.py", line 492, in delete_old_visits
>     results = query.fetch(1000)
>   File "/base/python_lib/versions/1/google/appengine/ext/db/
> __init__.py", line 1390, in fetch
>     raw = self._get_query().Get(limit, offset)
>   File "/base/python_lib/versions/1/google/appengine/api/
> datastore.py", line 942, in Get
>     return self._Run(limit, offset)._Next(limit)
>   File "/base/python_lib/versions/1/google/appengine/api/
> datastore.py", line 1536, in _Next
>     apiproxy_stub_map.MakeSyncCall('datastore_v3', 'Next', req,
> 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 182, in MakeSyncCall
>     rpc.Wait()
>   File "/base/python_lib/versions/1/google/appengine/api/
> apiproxy_rpc.py", line 97, in Wait
>     rpc_completed = self._WaitImpl()
>   File "/base/python_lib/versions/1/google/appengine/runtime/
> apiproxy.py", lin

[google-appengine] New Terms of Service :-(

2009-02-27 Thread KillIEbrowser

Why I must accept the "New Terms of Service" ?
What is the delta? /\

--~--~-~--~~~---~--~~
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: GQL Query involving key string

2009-02-27 Thread Bill

Audrey,

If for some reason, you need to use GQL to lookup by key string
instead of using get() like Bryan suggested, you can use KEY
('mykeystring') instead of the raw string on the right-hand side of
your __key__ comparison.  Full documentation is here:
http://code.google.com/appengine/docs/python/datastore/gqlreference.html

While the above works in code and the shell, it doesn't seem to work
in the Data Viewer.  I have entered an issue for this here:
http://code.google.com/p/googleappengine/issues/detail?id=1105

-Bill

On Feb 26, 6:21 pm, Audrey M Roy  wrote:
> How do I write a GQL query that's something like this...
>
> SELECT * FROM Pet WHERE __key__='mykeystring'
>
> the above returns the error BadFilterError: invalid filter: __key__
> filter value must be a Key; received mykeystring (a unicode).
>
> Audrey
--~--~-~--~~~---~--~~
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 alternatives? :-)

2009-02-27 Thread KillIEbrowser

Do alternatives exist?
--~--~-~--~~~---~--~~
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] Why can I pay a beta service? (Where are the ads?)

2009-02-27 Thread KillIEbrowser

Issues:
http://code.google.com/p/googleappengine/issues/list

- please add java or groovy support
- PHP support is a must
- Please add ruby support
- Add Perl support
- Scheduled background tasks
- OpenID support
- Full-text search api
- Please add the Python Image Library (PIL)
- Task Queue API
- Max number of files and blobs is 1000
- MapReduce support
- Please add jvm support, not just Java
- Support for uploading files larger than 1MB
- wildcard subdomains
- Secure the Python Interpreter
- Better visibility of where CPU cycles are being used
- Please add Javascript
- Expand Python framework support to Zope3, Turbogears, and Pylons
- Add SMS sending
- Please add c#
- Feature Request: tools/download_data.py and tools/upload_data.py
- Please add support to GWT
- Easy e-commerce payment integration
- Add unique=True/False to db.property constructor to ensure
uniqueness
- XMPP functionality
- lxml module (Feature Request)
- Please release the source to GoogleAppEngineLauncher (or make it
easier to find)
- Allow login via both Google Apps and Google Accounts in a single app
- High Amount CPU Quota should be removed
- Please add NumPy
- Mechanism for receiving email
- Officially Support Naked Domains for GAE Apps
- Support ColdFusion Markup Language (CFML)
- url fetching should have user supplied timeouts
- Google APIs Support
- Frequent timeouts on datastore write operations   1422598
- Firewall API to throttle or block requests
- Please add Python 2.6 support
- SSL/HTTPS Support on Google Apps domains
- Add support for Erlang
- Change the user agent of URL Fetch API
- Please add support for Common Lisp
- Please add Python 3 support
- Invited developer can delete the project "owner"
- Datastore archive
- Mobile Login UI support
- Simple Adsense integration
- Incompatible with pkg_resources
- Django 1.0 Support in App Engine
- non-ascii CSV data not handled by google.appengine.ext.bulkload
(Unicode errors)1329626
- Comet / Asynchronous / HTTP Streaming / Reverse AJAX / Long Polling
- Cannot query for nearby points or distance with GeoPt or other means
- There is no way to maintain a global conservation law.
- Slower response times for alias domains   1416736
- api to query quota statistics
- 500 Server Error - report goes to Google Help
- Link this bug tracker from the google app home page
- Mail API should allow sending UTF-8 / unicode messages
- I should be able to revert to previous (minor) deployed versions
- Add support for datastore schema migrations
- Enable authentication option change
- Google Apps domain alias won't work in Google App Engine
- Custom Error page handlers in the app.yaml file?
- Wanted: Count of a query (really)
- webapp doesn't use webob.Response
- Admin console includes datastore operations in mcycle consumption
statistics
- It is not possible to set a display name for sender email
- Please add ReportLab pdf library
- add original size metrics to image api
- Secure uploading of apps using HTTPS
- Please add Spring Framework support
- log admin enhancements
- Users should be able to authenticate user without knowing users's
email address
- Dev Appserver: request for Hardened Modules override
- Please add Hibernate support
- Please Add support to SQLAlchemy
- Google proxy should obey cache-control header
- Seems to be no support for proxy in appcfg.py 1227968
- Feature: DNS Lookup
- Public key encryption/decryption
- appcfg.py needs option to sync dev data with app engine datastore
- Please add Tcl support
- urlfetch.fetch() returns incomplete value for 'Set-Cookie' header
field.  1329653 Urlfetch
- URL Fetch API precludes incremental consumption
- [RFE] Cross App Queries
- Datastore viewer TypeError when trying to view an Entity  1160452
Adminconsole
- Collaboration Tools: Ability To Edit Source Code Online + Source
Control
- AppEngines always return 200 for static files, returning 302 for
cached items could decrease bandwidth usage...
- Add SDK support for alternate datastore backend
- Enable fetch from/to trusted domains on ports other than 80 / 443
- Add memcache flush to the admin dashboard
- Support the "login page" in many languages
- Request: protocol buffers
- ORDER BY changes the number of results in production server   1516951
Datastore
- Want better Google Account explanation and hyperlinks for our users
- appcfg.py upload progress
- Upload (ERROR appcfg.py:1334 An unexpected error occurred) Not
Recovering - Many versions created  1291192

[ CONTINUE ...]
http://code.google.com/p/googleappengine/issues/list

--~--~-~--~~~---~--~~
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: DataStore : Unable to Delete Exploding Indexes

2009-02-27 Thread DJB

Thank you, as long as I can work around the problem that's fine.

I have tried to vacuum. The status changes to "deleting", then reverts
back to error after ~40min.

I've been told by Ryan on the AppEngine team, that there's 1 entity in
the datastore that's causing the problem. I've tried to delete the
entity via the AppEngine Dashboard, and after about 10 seconds returns
"Server Error".

thanks for your help.
David

On Feb 27, 1:41 pm, Marzia Niccolai  wrote:
> Hi,
>
> Currently we don't have the ability to force delete these exploding indices,
> however, this should not prevent you from uploading additional indexes.
> These indices will simply stay in error and the new indexes should build
> like normal.
>
> Concerning removing indexes in the datastore in general, to do this you
> should use the vacuum_index command.  Simply removing indexes from your
> index.yaml will not cause them to be removed from App Engine.  They must be
> explicitly vacuumed from the system.
>
> -Marzia
>
> On Fri, Feb 27, 2009 at 4:55 AM, Alex Popescu <
>
> the.mindstorm.mailingl...@gmail.com> wrote:
>
> > On Feb 26, 9:26 pm, DJB  wrote:
> > > I have several indexes based on searchable_text_index that I've been
> > > unable to delete for some time. When I vacuum, the status changes to
> > > "Deleting", that after about 40min changes back to error.
>
> > > Several people on the AppEngine team have offered advice, but the
> > > conclusion has always been that the indexes are exceeding DataStore
> > > thresholds.
>
> > > I'm unable to create new indexes until these are removed.
>
> > > Is there any way these can be removed by Google?
>
> > > thanks,
> > > David
>
> > > __searchable_text_index ▲ , __searchable_text_index ▲ ,
> > > __searchable_text_index ▲ , __searchable_text_index ▲ ,
> > > __searchable_text_index ▲ , __searchable_text_index ▲ , bookid ▲
> > > Error
> > > __searchable_text_index ▲ , __searchable_text_index ▲ ,
> > > __searchable_text_index ▲ , __searchable_text_index ▲ , bookid ▲
> > > Error
> > > __searchable_text_index ▲ , __searchable_text_index ▲ ,
> > > __searchable_text_index ▲ , bookid ▲
> > > Error
> > > __searchable_text_index ▲ , __searchable_text_index ▲ ,
> > > __searchable_text_index ▲ , translation ▲ , bookid ▲ , chapter ▲ ,
> > > verse ▲
>
> > While not directly related, I do see an old index on my Dashboard that
> > I cannot get rid of even if it doesn't appear in my index.yaml or in
> > any query. I was wondering what can I do to finally remove it (I have
> > read the articel "How Index Building Works" [1], but I still cannot
> > figure out how to remove this unnecessary index).
>
> > ./alex
>
> > [1]http://code.google.com/appengine/articles/index_building.html
--~--~-~--~~~---~--~~
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: GAE alternatives? :-)

2009-02-27 Thread Wooble



On Feb 27, 3:03 pm, KillIEbrowser  wrote:
> Do alternatives exist?

letmegooglethatforyou.com/?q=web+hosting
--~--~-~--~~~---~--~~
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] django helper --datastore_path

2009-02-27 Thread Rit

how I can specify a different --datastore_path for the helper? I dont
want it to be at /tmp/django_someapp.datastore.

--~--~-~--~~~---~--~~
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: GAE alternatives? :-)

2009-02-27 Thread KillIEbrowser

:-D

On Feb 27, 9:56 pm, Wooble  wrote:
> On Feb 27, 3:03 pm, KillIEbrowser  wrote:
>
> > Do alternatives exist?
>
> letmegooglethatforyou.com/?q=web+hosting
--~--~-~--~~~---~--~~
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: Accomplishing a "Join" between Referenced Entities

2009-02-27 Thread Devel63

Well, that was a bust.  I guess you can't do a query on a reference
"collection" using the key.  I tried every variation I could think of,
and while the DataStore didn't complain, it never returned any
entities.

On Feb 27, 7:41 am, Devel63  wrote:
> kind1 is really class Kind1(search.SearchableModel).  The query
> against Kind1 is really query.search("keyword_string").  I alluded to
> this at the bottom of my first post, but was hoping I could get a
> generalized solution.
>
> One approach may be to use username as the key for kind2, and thus my
> query can be Kind1.all().search(keyword_string).filter
> ('collection_name >', key_constructed from username).filter
> ('collection_name <', key_constructed_from_usernameZ).fetch().  I'm
> not sure it's going to work!  If there's a cleaner, more generalized
> approach, I'd love to hear it!
>
> On Feb 26, 9:58 pm, Tim Hoffman  wrote:
>
> > So in your original posting you said
>
> > kind1 where prop1 = specific_value.
>
> > So what specific value would you be looking for the whole text or
> > specific words or combinations of words (in a particular order )
>
> > This is I think where you approach will be determined.
>
> > T
>
> > On Feb 27, 1:41 pm,Devel63 wrote:
>
> > > It's a good idea, and it's what I've used elsewhere, but in this case
> > > kind1_prop is really text (I'm using the searchable data model).
> > > These are not tiny, and contain data from multiple fields.  It would
> > > be expensive to duplicate all this in a third class, and multiply the
> > > data storage by a factor of 1 million.  So ... is there another way?
>
> > > On Feb 26, 7:20 pm, Tim Hoffman  wrote:
>
> > > > I think you should create a new entity
> > > > which has
> > > >    kind1_key
> > > >    kind1_prop
> > > >    kind2_key
> > > >    kind1_ref
> > > >    kind2_ref
>
> > > > Filter on kind2 key, kind 1 key , kind1 prop
> > > > The use the refs to get the real objects when you need to.
>
> > > > Or something like that
>
> > > > T
>
> > > > On Feb 27, 4:09 am,Devel63 wrote:
>
> > > > > Until now, the lack of a SQL-like join capability has not been an
> > > > > issue.  But...
>
> > > > > I have 2 entity kinds:
> > > > >     - kind1: prop1
> > > > >     - kind2: username, reference_to_kind1
>
> > > > > I want to find all kind2's where user=me and reference_to_kind1 is a
> > > > > kind1 where prop1 = specific_value.
>
> > > > > I can't figure out a way to do this except to start with either class,
> > > > > do a fetch, then iterate over all references.  This is potentially A
> > > > > LOT of individual queries.  The intersection/join is small, but each
> > > > > kind can have large numbers of entities.
>
> > > > > How is this done?
>
> > > > > P.S. Please don't suggest denormalization, because the above is a
> > > > > simplified example.  I am really doing this with text fields in kind1,
> > > > > and keyword searchables.
--~--~-~--~~~---~--~~
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] Billing Questions

2009-02-27 Thread MajorProgamming

Suppose I set up billing with a $1 budget/day (which is the minimum).
I understand that I will be billed $7/week.

What happens if I don't go over any of the free quotas the first week?
Will Google bill me again the next week?

What happens if I use $2 the first week? Will Google only charge me $2
[to get the balance back up to $7] or will Google bill me again $7 the
next week?

If my account has money in it, can I cancel billing, and allow GAE to
remain on the "paid version" until the remaining $ has been used up?

Thanks in advance for all your help,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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: GAE alternatives? :-)

2009-02-27 Thread phil jones

not to the whole package ... but you can get Django hosting in various
places ... eg. Webfaction


On Fri, Feb 27, 2009 at 8:03 PM, KillIEbrowser  wrote:
>
> Do alternatives exist?
> >
>

--~--~-~--~~~---~--~~
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: Billing Questions

2009-02-27 Thread Ross M Karchner
>From what I can tell, the $1 is a *budget*, you won't be charged anything if
you don't go over the free quotas.

On Fri, Feb 27, 2009 at 4:23 PM, MajorProgamming wrote:

>
> Suppose I set up billing with a $1 budget/day (which is the minimum).
> I understand that I will be billed $7/week.
>
> What happens if I don't go over any of the free quotas the first week?
> Will Google bill me again the next week?
>
> What happens if I use $2 the first week? Will Google only charge me $2
> [to get the balance back up to $7] or will Google bill me again $7 the
> next week?
>
> If my account has money in it, can I cancel billing, and allow GAE to
> remain on the "paid version" until the remaining $ has been used up?
>
> Thanks in advance for all your help,
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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: Billing Questions

2009-02-27 Thread Dan Sanderson
Ross is correct.  You only pay for what you use.  If your app doesn't go
over the free quotas, you pay nothing, regardless of how you set your
maximum daily budget.
When you set your budget for the first time, you go through the Google
Checkout process to authorize the maximum budget.  This process does *not*
charge you any money, it only authorizes the budget.

-- Dan

On Fri, Feb 27, 2009 at 1:50 PM, Ross M Karchner wrote:

> From what I can tell, the $1 is a *budget*, you won't be charged anything
> if you don't go over the free quotas.
>
>
> On Fri, Feb 27, 2009 at 4:23 PM, MajorProgamming wrote:
>
>>
>> Suppose I set up billing with a $1 budget/day (which is the minimum).
>> I understand that I will be billed $7/week.
>>
>> What happens if I don't go over any of the free quotas the first week?
>> Will Google bill me again the next week?
>>
>> What happens if I use $2 the first week? Will Google only charge me $2
>> [to get the balance back up to $7] or will Google bill me again $7 the
>> next week?
>>
>> If my account has money in it, can I cancel billing, and allow GAE to
>> remain on the "paid version" until the remaining $ has been used up?
>>
>> Thanks in advance for all your help,
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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: Why can I pay a beta service? (Where are the ads?)

2009-02-27 Thread Barry Hunter

What's your actual question?

Neither of your stated questions seem to make sence - certainly
without some elaboration...



On 27/02/2009, KillIEbrowser  wrote:
>
>  Issues:
>  http://code.google.com/p/googleappengine/issues/list
>
>  - please add java or groovy support
>  - PHP support is a must
>  - Please add ruby support
>  - Add Perl support
>  - Scheduled background tasks
>  - OpenID support
>  - Full-text search api
>  - Please add the Python Image Library (PIL)
>  - Task Queue API
>  - Max number of files and blobs is 1000
>  - MapReduce support
>  - Please add jvm support, not just Java
>  - Support for uploading files larger than 1MB
>  - wildcard subdomains
>  - Secure the Python Interpreter
>  - Better visibility of where CPU cycles are being used
>  - Please add Javascript
>  - Expand Python framework support to Zope3, Turbogears, and Pylons
>  - Add SMS sending
>  - Please add c#
>  - Feature Request: tools/download_data.py and tools/upload_data.py
>  - Please add support to GWT
>  - Easy e-commerce payment integration
>  - Add unique=True/False to db.property constructor to ensure
>  uniqueness
>  - XMPP functionality
>  - lxml module (Feature Request)
>  - Please release the source to GoogleAppEngineLauncher (or make it
>  easier to find)
>  - Allow login via both Google Apps and Google Accounts in a single app
>  - High Amount CPU Quota should be removed
>  - Please add NumPy
>  - Mechanism for receiving email
>  - Officially Support Naked Domains for GAE Apps
>  - Support ColdFusion Markup Language (CFML)
>  - url fetching should have user supplied timeouts
>  - Google APIs Support
>  - Frequent timeouts on datastore write operations   1422598
>  - Firewall API to throttle or block requests
>  - Please add Python 2.6 support
>  - SSL/HTTPS Support on Google Apps domains
>  - Add support for Erlang
>  - Change the user agent of URL Fetch API
>  - Please add support for Common Lisp
>  - Please add Python 3 support
>  - Invited developer can delete the project "owner"
>  - Datastore archive
>  - Mobile Login UI support
>  - Simple Adsense integration
>  - Incompatible with pkg_resources
>  - Django 1.0 Support in App Engine
>  - non-ascii CSV data not handled by google.appengine.ext.bulkload
>  (Unicode errors)1329626
>  - Comet / Asynchronous / HTTP Streaming / Reverse AJAX / Long Polling
>  - Cannot query for nearby points or distance with GeoPt or other means
>  - There is no way to maintain a global conservation law.
>  - Slower response times for alias domains   1416736
>  - api to query quota statistics
>  - 500 Server Error - report goes to Google Help
>  - Link this bug tracker from the google app home page
>  - Mail API should allow sending UTF-8 / unicode messages
>  - I should be able to revert to previous (minor) deployed versions
>  - Add support for datastore schema migrations
>  - Enable authentication option change
>  - Google Apps domain alias won't work in Google App Engine
>  - Custom Error page handlers in the app.yaml file?
>  - Wanted: Count of a query (really)
>  - webapp doesn't use webob.Response
>  - Admin console includes datastore operations in mcycle consumption
>  statistics
>  - It is not possible to set a display name for sender email
>  - Please add ReportLab pdf library
>  - add original size metrics to image api
>  - Secure uploading of apps using HTTPS
>  - Please add Spring Framework support
>  - log admin enhancements
>  - Users should be able to authenticate user without knowing users's
>  email address
>  - Dev Appserver: request for Hardened Modules override
>  - Please add Hibernate support
>  - Please Add support to SQLAlchemy
>  - Google proxy should obey cache-control header
>  - Seems to be no support for proxy in appcfg.py 1227968
>  - Feature: DNS Lookup
>  - Public key encryption/decryption
>  - appcfg.py needs option to sync dev data with app engine datastore
>  - Please add Tcl support
>  - urlfetch.fetch() returns incomplete value for 'Set-Cookie' header
>  field.  1329653 Urlfetch
>  - URL Fetch API precludes incremental consumption
>  - [RFE] Cross App Queries
>  - Datastore viewer TypeError when trying to view an Entity  1160452
>  Adminconsole
>  - Collaboration Tools: Ability To Edit Source Code Online + Source
>  Control
>  - AppEngines always return 200 for static files, returning 302 for
>  cached items could decrease bandwidth usage...
>  - Add SDK support for alternate datastore backend
>  - Enable fetch from/to trusted domains on ports other than 80 / 443
>  - Add memcache flush to the admin dashboard
>  - Support the "login page" in many languages
>  - Request: protocol buffers
>  - ORDER BY changes the number of results in production server   1516951
> Datastore
>  - Want better Google Account explanation and hyperlinks for our users
>  - appcfg.py upload progress
>  - Upload (ERROR appcfg.py:1334 An unexpected error occurred) Not
>  Recovering - Many versions created  1291192
>

[google-appengine] Re: need more apps please.

2009-02-27 Thread Barry Hunter

Couldnt hurt to try

http://code.google.com/support/bin/request.py?contact_type=AppEngineQuotaRequest

On 27/02/2009, Ben Nevile  wrote:
>
>  Hi - I have been using GAE for a few months now and really love it.  I
>  am porting my collection of Ruby apps over.
>
>  Of course I'm running up against the 10-application limit.  I have
>  transferred some of my apps over so that the only developer is now at
>  a different email account.  I seem to still be at my limit.  Perhaps
>  this will change after some period of time?
>
>  I can't enable another account to create apps because it won't accept
>  my phone number (has already been used).
>
>  Can someone on the GAE team please help me out here?  I'm sure people
>  are working on this feature.  Time is an important detail for me - if
>  I can't port these Ruby apps to GAE soon I'll probably instead have to
>  port them to another Ruby host due to an impending end of contract
>  with my current hosting provider.
>
>  Ben
>  >
>


-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

--~--~-~--~~~---~--~~
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: Billing Questions

2009-02-27 Thread MajorProgamming

Oh! Thanks a lot for all your help.

The wording on the billing page is a bit confusing. It makes it sound
as though the credit card is charged every week, regardless of usage.

On Feb 27, 5:01 pm, Dan Sanderson  wrote:
> Ross is correct.  You only pay for what you use.  If your app doesn't go
> over the free quotas, you pay nothing, regardless of how you set your
> maximum daily budget.
> When you set your budget for the first time, you go through the Google
> Checkout process to authorize the maximum budget.  This process does *not*
> charge you any money, it only authorizes the budget.
>
> -- Dan
>
> On Fri, Feb 27, 2009 at 1:50 PM, Ross M Karchner 
> wrote:
>
> > From what I can tell, the $1 is a *budget*, you won't be charged anything
> > if you don't go over the free quotas.
>
> > On Fri, Feb 27, 2009 at 4:23 PM, MajorProgamming wrote:
>
> >> Suppose I set up billing with a $1 budget/day (which is the minimum).
> >> I understand that I will be billed $7/week.
>
> >> What happens if I don't go over any of the free quotas the first week?
> >> Will Google bill me again the next week?
>
> >> What happens if I use $2 the first week? Will Google only charge me $2
> >> [to get the balance back up to $7] or will Google bill me again $7 the
> >> next week?
>
> >> If my account has money in it, can I cancel billing, and allow GAE to
> >> remain on the "paid version" until the remaining $ has been used up?
>
> >> Thanks in advance for all your help,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-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: why java

2009-02-27 Thread fvisticot

+1 for Java + GWT. I'm really waiting for that 

On Feb 11, 8:02 am, Shoutmeout  wrote:
> @Aramaki
>
> Its driving me crazy too.
>
> But I guess the real reason is multiple teams at google are working on
> supporting different languages and they don't have a clear timeline on
> which one is going to be ready on time as per their roadmap. Thus they
> want to keep it open for now.
>
> Most likely its going to be another scripting language such as Ruby
> for now. It could be PHP too. I doubt if its going to beJava/ GWT
> combination. But surely by end of 2009 we should seeJava+ GWT up and
> running on GAE.
>
> cheers..
--~--~-~--~~~---~--~~
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: Can´t create new apps

2009-02-27 Thread Neves

Now I can see, I have the same problem with google docs.
Many thanks for the help!

On 27 fev, 14:13, Marzia Niccolai  wrote:
> Hi,
>
> I see what is happening here.
>
> You are creating these applications with an account that is both a Google
> Account and a Google Apps account.  You may be signed in to the account as a
> Google Account, but the app gets created under the Google Apps account.
> This is a known issue that is, unfortunately, very difficult to solve.  You
> can access these apps, but only through your Google Apps account by signing
> at at:
>
> http://appengine.google.com/a/qi64.com
>
> -Marzia
>
>
>
> On Thu, Feb 26, 2009 at 7:33 PM, Neves  wrote:
>
> > To make sure that it was not an account problem, I create a new
> > account,
> > and create a new application with ID "e-mail4all"
> > The creation was success, but again it doesn´t show on my dashboard
> > and it says that the ID is not available anymore.
> > Please, it can´t be a local problem only with me. Try to create a
> > fresh account to see what happens.
>
> > On 26 fev, 21:57, Neves  wrote:
> > > Marzia, it´s getting even more weird.
> > > Now I created 6 applications without error, but it didn´t showup on my
> > > dashboard and when I try to create it again, it says that it´s already
> > > exists.
> > > Here are the used ids:
> > > gdlefj3osje943j2342kdl
> > > sitenasnuvens
> > > webnasnuvens
> > > gigadados
> > > host64
> > > websitepronto
>
> > > When I try to deploy to any of them, I get an error "You do not have
> > > permission to modify this app (app_id=u'websitepronto')."
> > > I reset my ADSL modem IP but the problem still.
>
> > > On 26 fev, 17:29, Marzia Niccolai  wrote:
>
> > > > Hi,
>
> > > > The app id servicos is definitely not available, it would be easier if
> > you
> > > > could get the complete headers when using, for instance, the string
> > > > gdlefj3osje943j2342kdl which we know is not available.
>
> > > > Are you trying both of these machines from the same location / IP
> > addresses?
>
> > > > -Marzia
>
> > > > On Thu, Feb 26, 2009 at 12:19 PM, Neves 
> > wrote:
>
> > > > > I´ve tried from 4 diferent browser on windows and firefox on Ubuntu.
> > > > > I can update and use the application that already exists.
> > > > > Here are the request and response headers from
> > > > >http://appengine.google.com/start/createapp
> > > > > tohttp://appengine.google.com/start/createapp.do(404)
> > > > >http://gist.github.com/71082
>
> > > > > Have you tried if you got the same problem?
>
> > > > > On 26 fev, 16:13, Marzia Niccolai  wrote:
> > > > > > Hi,
>
> > > > > > To narrow down this problem a bit, is this across computers or have
> > you
> > > > > only
> > > > > > tried on one computer?  If it's only on one computer, what is the
> > OS/
> > > > > > Browser versions you are using? Do you know your IP address?  Can
> > you
> > > > > > provide screenshots of the error?
>
> > > > > > Do you have live http headers, or another program where we can see
> > the
> > > > > > request information why you try to register an application id?
> >  This
> > > > > would
> > > > > > probably be the most useful information.
>
> > > > > > Can you still see your previously created applications when you
> > sign in
> > > > > tohttp://appengine.google.com?Canyouupload your app to those
> > previously
> > > > > > created app ids?
>
> > > > > > -Marzia
>
> > > > > > On Thu, Feb 26, 2009 at 11:06 AM, Neves 
> > wrote:
>
> > > > > > > I always get this message "This application ID or version is
> > already
> > > > > > > in use" while creating a new app, even if I choose a random ID
> > like
> > > > > > > "gdlefj3osje943j2342kdl.appspot.com"
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] A searchable DictProperty

2009-02-27 Thread Alex Popescu

Hi,

I'd like to suggest the following DictProperty implementation. It
allows keys and values of all the types accepted by the ListProperty.
The DictProperty is searchable, but doesn't allow yet to search for
keys only or values only.

Please let me know what do you think and if you see ways to improve
it.

from google.appengine.ext import db

class DictProperty(db.Property):
  """A property that stores a dict of things. """

  def __init__(self, verbose_name=None, default=None, **kwds):
"""Construct ListProperty.

Args:
  item_type: Type for the list items; must be one of the allowed
property
types.
  verbose_name: Optional verbose name.
  default: Optional default value; if omitted, an empty list is
used.
  **kwds: Optional additional keyword arguments, passed to base
class.

Note that the only permissible value for 'required' is True.
"""
if 'required' in kwds and kwds['required'] is not True:
  raise ValueError('Dict values must be required')
if default is None:
  default = {}
super(DictProperty, self).__init__(verbose_name,
   required=True,
   default=default,
   **kwds)
  def validate(self, value):
"""Validate dict.

Returns:
  A valid value.

Raises:
  BadValueError if property is not a dict whose items are
instances of
  the allowed types.
"""
value = super(DictProperty, self).validate(value)
if value is not None:
  if not isinstance(value, dict):
raise BadValueError('Property %s must be a dict' % self.name)

  value = self.validate_dict_contents(value)
return value

  def validate_dict_contents(self, value):
"""Validates that all items in the list are of supported type.

Returns:
  The validated list.

Raises:
  BadValueError if the list has items are not instances of the
  supported type.
"""
for k in value:
  if not isinstance(k, db._ALLOWED_PROPERTY_TYPES):
raise BadValueError('Keys in the %s dict must be of allowed
type' % self.name)
  if not isinstance(value[k], db._ALLOWED_PROPERTY_TYPES):
raise BadValueError('Items in the %s dict must be of an
allowed type' % self.name)
return value

  def empty(self, value):
"""Is dict property empty.

{} is not an empty value.

Returns:
  True if value is None, else false.
"""
return value is None

  data_type = dict

  def default_value(self):
"""Default value for dict.

Because the property supplied to 'default' is a static value,
that value must be shallow copied to prevent all fields with
default values from sharing the same instance.

Returns:
  Copy of the default value.
"""
return dict(super(DictProperty, self).default_value())

  def get_value_for_datastore(self, model_instance):
"""Get value from property to send to datastore.

Returns:
  validated list appropriate to save in the datastore.
"""
value = self.validate(super(DictProperty,
self).get_value_for_datastore(model_instance))
result = []
for k in value:
  result.append(k)
  result.append(value[k])
return result

  def make_value_from_datastore(self, value):
if value is None:
  return None
result = {}
for i in xrange(0, len(value), 2):
  result[value[i]] = value[i+1]
return result

Basically, I'd be interested to figure out ways to:

1. be able to perform searches by key or by value (even if this
implies prefixing the searched value with a keyword)

I have also posted the code to the issue tracker:
http://code.google.com/p/googleappengine/issues/detail?id=1106 so if
you find it useful and correct please vote it there.

tia,

./alex
--
.w( the_mindstorm )p.
  Alexandru Popescu


--~--~-~--~~~---~--~~
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: Should I migrate to App Engine?

2009-02-27 Thread Wiiboy

Ok, last post wasn't very clear: I was referring to connecting to a
remote MySQL Database.


--~--~-~--~~~---~--~~
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: datetime.strptime works in python but fails in app engine

2009-02-27 Thread lenza

It turns out the answer to this is that strptime in python does not
really support timezones: "datetime.datetime.strptime('PDT', '%Z')"
will throw ValueError whenever locale time is not PDT (or PST).  "UTC"
and "GMT" don't throw an exception, but are not actually taken into
consideration.  So, any python gurus out there know a reliable way to
convert from a string that contains a timezone to a UTC datetime?

Lenza
blog.lenza.org

On Feb 24, 11:47 am, lenza  wrote:
> I am trying to parse dates in an App Engine app.
> datetime.datetime.strptime is failing with a format error in the
> development environment with the following error:
>
> ERROR    2009-02-24 7:37:03,909 __init__.py]timedata did not match
> format:  data=2009-02-24, 11:28AM PST  fmt=%Y-%m-%d, %I:%M%p %Z
>
> However, this works fine in Python:
>
> >>> import datetime
> >>> datetime.datetime.strptime("2009-02-24, 11:28AM PST", "%Y-%m-%d, %I:%M%p 
> >>> %Z")
>
> datetime.datetime(2009, 2, 24, 11, 28)
>
> This issue was previously reported 
> here:http://groups.google.com/group/google-appengine/browse_frm/thread/b36...
>
> As Mariza suggests there, everything works fine when the timezone is
> left out of the parsing.  The same occurs fortime.strptime.  Anyone
> know what is causing this or have a good workaround?
--~--~-~--~~~---~--~~
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: Error Trying To Create New Account

2009-02-27 Thread interactivecl...@gmail.com

You know, its odd how no one seems to know how to correct this error.
Just look it up and see that others have this error and that IF you
get an reply, its some wild goose chase into the unknown.   Just
calling it as it seems.  Makes me go hmmm..   Too bad, it may have
been a neat thing to try out.  Microsoft, here I come.

On Feb 26, 4:35 pm, "interactivecl...@gmail.com"
 wrote:
> I can not get past the initial screen.  I receive error:
>
> "The phone number has been sent too many messages or has already been
> used to confirm an account."
>
> I do not believe that I've tried to create App Engine account with my
> phone number, nor have I already confirmed an account..  Is there a
> way to reset my phone number so that I may begin?
--~--~-~--~~~---~--~~
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] Can't deploy anymore?!

2009-02-27 Thread Nick Bauman

I'm using the Apple version of the SDK GoogleAppEngineLauncher

When I do a deploy, the SDK console prompts for my password, which it
pulls from the OS keychain. I submit this and I get:

HTTPError: HTTP Error 403: Forbidden
Error 403: --- begin server output ---
You do not have permission to modify this app (app_id=u'cirrusmachina').

I didn't change anything and I couldn't remember my password (my
keychain handled it for me in the past, waaah!)

What recourse do I have?

--~--~-~--~~~---~--~~
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] Datastore in java

2009-02-27 Thread Spencer

I'm sure everyone has heard of Hadoop[1], an open source
implementation of google's gfs[2].  There is also an implementation of
bigtable[3], called HBase[4] (as well as others).  What's missing is
(and what I want) is an implementation of google app engines's
datastore.  So I've started it.

http://code.google.com/p/datastore/source/browse

Let me know what you think about it.

[1] http://hadoop.apache.org/core/
[2] http://labs.google.com/papers/gfs.html
[3] http://labs.google.com/papers/bigtable.html
[4] http://hadoop.apache.org/hbase
--
Spencer

--~--~-~--~~~---~--~~
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: appcfg errno 13: Permission Denied

2009-02-27 Thread

I'm also have such situations. I had removed Python and Google App
engine. but this problem could also not solved.
I had try uninstall python 2.6.1 and downgrade to 2.5.4. it also not
works.

So, anyone have ideas on this problem. thanks.

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