Re: [google-appengine] Processing payments using Paypal, python SDK

2014-01-06 Thread Andreas Schmid
paypal has a rest api and you don’t need to redirect the customers to paypal. 
but paypal is a pain to deal with in any case… and customer service is very bad.
i believe you need to be PCI compliant only if you store the credit card data, 
not if you just process the api call on server side.

another great service is www.braintreepayments.com which works all over the 
world.

On Jan 6, 2014, at 3:26 PM, Kaan Soral  wrote:

> I was set on Braintree last time I assessed the market, currently deciding on 
> how to incorporate locally, Braintree seems to have the widest coverage for a 
> simplistic/elegant solution similar to Stripe
> 
> I think Paypal is a major turn off from many aspects, I would use a layer 
> similar to Paymentwall to handle all-else payments other than credit cards
> 
> Spreedly is also extremely promising, it's not a payment gateway but rather a 
> PCI workaround that enables one to switch from one provider to another or use 
> multiple providers etc
> 
> (Paypal/Braintree acquisition was alarming, I hope they don't mess braintree 
> too :)
> 
> A beautiful reference for anyone who are interested: 
> https://spreedly.com/gateways
> 
> On Monday, January 6, 2014 10:16:56 PM UTC+2, Doug Anderson wrote:
> Stripe is working hard to expand their international support (add Canada to 
> your list along with 8 other countries currently in beta).  But I would agree 
> that PayPal has the best international/currency support.  With PayPal I can 
> be located in the U.S. and accept payments in a variety of currencies (as 
> long as I enable my account to allow it). But to my knowledge with PayPal you 
> either have to transfer customers to the PayPal site for a portion of the 
> processing OR deal with credit card numbers hitting your server and thus 
> having to deal with PCI compliance.  I don't even know if PCI compliance is 
> possible with App Engine so that may just leave option #1 (transfering 
> customers to PayPal for a portion of the processing... a perfectly viable 
> option... just less than ideal imo)
> 
> On Monday, January 6, 2014 2:41:42 PM UTC-5, Kaan Soral wrote:
> If you are inside US you probably didn't notice this, which is good for you, 
> however there is a HUGE barrier around payment services
> 
> It's extremely hard to accept payments, you have to be a company at least and 
> procedures after that are blurry
> 
> For example you can only use stripe from US/UK/Ireland - as far as I remember
> 
> On Saturday, January 4, 2014 9:51:13 PM UTC+2, Doug Anderson wrote:
> My advice would be to use Stripe.com for processing payments.  You'll be 
> amazed at how easy it is to get started AND customers don't have to leave 
> your site!
> (I'm not associated with Stripe in any way... just using it with App Engine 
> and can attest to its ease of use)
> 
> I may re-add PayPal at some point (in addition to Stripe) but it's a pita to 
> deal with the user leaving your site, processing the ipn notifications, and 
> then HOPING the user hits the button to return to your site when he's 
> finished on PayPal.  With PayPal there's no guarantee the user will return to 
> your site (although it's fairly likely).  I've also noticed that the initial 
> redirect to PayPal can take a while (for the page to load).  Just my 
> experience... I'm sure there are others that really like it.
> 
> 
> On Thursday, January 2, 2014 4:52:23 PM UTC-5, Robert Avram wrote:
> I'm trying to figure out how to process payments using paypal python sdk and 
> google app engine.
> the following code seems to work, but I can't figure out, based on the SDK, 
> how to handle the exceptions (wrong credit card number etc).
> I would like the customer to be able to see the error. I would appreciate any 
> input! thanks!!!
> 
> 
> class Buy(generichandler.MainHandler):
> def get(self):
> 
>api = paypalrestsdk.set_config(
> 
>  mode="sandbox",
> 
>  client_id="myclientid",
> 
>  client_secret="secret")
> 
>api.get_token()
> 
>paymentDic = {"intent": "sale",
> 
>  "payer": {
> 
>"payment_method": "credit_card",
> 
>"funding_instruments": [{
> 
> "credit_card": {
> 
>
> "type": "visa",
> 
>
> "number": "4417119669820331",
> 
>
> "expire_month": "11",
> 
>
> "expire_year": "2018",
> 
>
> "cvv2": "874",
> 
>
> "first_name": "Joe",
> 
>
> "last_name": "

Re: [google-appengine] Search quota

2013-05-31 Thread Andreas Schmid
just ask the team to increase you quota.

On May 31, 2013, at 7:28 AM, bFlood  wrote:

> yea, any word on this?
> 
> On Friday, May 31, 2013 1:58:51 AM UTC-4, Goran Popovic wrote:
> Any news on updating search quota?
> I mean, 3 years passed and we still have experimental quotas..
> 
> Goran Popovic
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

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




Re: [google-appengine] Important for Python developers - Updates to the Development Server in 1.7.6

2013-03-20 Thread Andreas Schmid
 - We’ve cleaned up many command line flags and arguments

i see. the --allow_skipped_files flag was removed. 
i this flag is/was REALLY important to me because i develop on 'normal' files 
but i deploy minified versions and zipped packages.  
without that flag its really hard to develop for me and i am sure for many 
others too.

please put that back! 

On Mar 20, 2013, at 10:27 AM, Shay Erlichmen  wrote:

> I worked with preview version of it and I was too embarrassed to ask, but now 
> that this is official quick question:
> How do you debug code now? in the old dev server (under eclipse + pydev) all 
> I have todo is set a breakpoint it seem now that this is no longer working 
> (latest pydev + juno).
> I imagine that I can attach to the process but please tell me that this is 
> not the optimal way. 
> 
> On Wednesday, March 20, 2013 2:57:02 AM UTC+2, Andrew Jessup wrote:
> In the 1.7.6 release of App Engine we’ve included a major upgrade to the 
> Development Server in the Python SDK, designed to make development faster and 
> more faithfully reproduce the production App Engine runtime environment. The 
> new version more faithfully simulates elements of the production App Engine 
> environment, such as concurrent requests and backends, and in most cases this 
> will also mean your apps run faster. We previously included this in the 1.7.5 
> release as dev_appserver2.py, in this release it has become the default 
> dev_appserver.py
> 
> While we're confident the improvements are substantial, as with any major 
> change, some things work a little differently with the new dev_appserver. 
> Here’s a few changes to watch out for:
> Your local development admin console will run on it’s own server and port, 
> rather than under /_ah/admin
> We’ve changed the defaults for new applications, such as using HRD rather 
> than Master/Slave, and using SQLlite to emulate the datastore.
> We’ve cleaned up many command line flags and arguments
> Python 2.5 applications are no longer officially supported on the new 
> Development Server in line with our deprecation announcement (although they 
> may still be run)
> We’ve provided a detailed summary of all the changes to the Development 
> Server in our documentation. 
> 
> The the legacy dev_appserver.py remains available in the Python SDK as 
> old_dev_appserver.py for those who still require it. However if you encounter 
> any issues with the new Development Server we strongly encourage you to 
> report them on our issue tracker.
> 
> We hope you like the new changes, and that you enjoy snappier app development 
> with fewer surprises on deployment. Keep on coding!
> 
> - Andrew Jessup, for the App Engine team
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

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




Re: [google-appengine] Writing an admin interface in webapp2

2013-02-20 Thread Andreas Schmid
you already asked this question on stackoverflow and it got closed. 
http://stackoverflow.com/questions/14884573/how-do-i-create-a-django-style-admin-interface-from-scratch-in-webapp2
 
it is not an easy task and from your question it does not look like you have 
the skills to do something like this.

consider an easier job to start with. 

On Feb 14, 2013, at 4:39 PM, Devon Campbell  wrote:

> I want to write a simple admin interface (something like django-admin but 
> much simpler) to add objects to my database through my app. I thought of 
> looking at django-admin, but that thing is spread out over tons of different 
> files and has a lot of moving parts. I don't even know where to start.
> 
> Trouble is, I'm not sure where to start writing it for myself. I know I need 
> to check that a user is logged in, but I don't know what to do next. I would 
> like to generalize this to allow me to register models, but I don't know how 
> that would work. Can anyone put me on the right track? Thanks!
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

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




Re: [google-appengine] API Search OverQuotaError

2013-01-25 Thread Andreas Schmid
did you index multiple documents simultaneously? 
i know there is a limit also on how many documents get indexed per second or 
some other time limit. 
this is not documented.

On Jan 25, 2013, at 9:19 AM, Aza Tek  wrote:

> On Fri, Jan 25, 2013 at 3:29 PM, Andreas Schmid  wrote:
> it means you reached the daily limit and have to wait until the quota resets 
> or request a higher quota.
> 
>  And the 3% is a percentage of?
> 
> -- 
> You 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.
> Visit this group at http://groups.google.com/group/google-appengine?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
You 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.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] API Search OverQuotaError

2013-01-25 Thread Andreas Schmid
it means you reached the daily limit and have to wait until the quota resets or 
request a higher quota.

On Jan 25, 2013, at 4:11 AM, Moises Belchin  wrote:

> Hi all,
> 
> We've getting this error:
> 
> OverQuotaError: The API call search.IndexDocument() required more quota than 
> is available.
> 
> However our Search API Quota is about 3%
> 
> Search
> Search API Calls  3%   149,105 of 4,320,000   Okay
> Search Stored Data 0%  0.04 of 100.00 GBytes   Okay
> What does it mean?
> 
> Thanks and regards.
> Moisés Belchín.
> 
> -- 
> You 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.
> Visit this group at http://groups.google.com/group/google-appengine?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
You 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.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Datastore write costs

2012-12-26 Thread Andreas Schmid
even if a property is not indexed is needs to be written to the datastore so it 
costs 1 write instead of 2 (one to the datastore and one to the index).
a list property adds 1 write per item for example + another one for each one if 
they are indexed.

vlad UNEXISTING props do not add any write cost ;)

On Dec 23, 2012, at 2:45 PM, vlad  wrote:

> My understanding is UNINDEXED properties add no write cost at all. See 
> https://developers.google.com/appengine/docs/python/datastore/entities#Understanding_Write_Costs
> 
> 
> On Friday, December 21, 2012 1:29:26 PM UTC-8, Ryan Chazen wrote:
> Hi - I find the following a bit confusing - is it correct?
> 
> Using unindexed properties only:
> 
> If I write 10 numbers in a list to the datastore, _ah/admin on the local dev 
> server shows 10 write operations.
> If I write 10 numbers inside an embedded entity (or comma delimited), the 
> local dev server shows 1 write operation.
> 
> Since billing is by write operations, is using the list 10x more expensive in 
> reality? If so, I need to make sure all of my unindexed properties get put 
> into an embedded entity first before writing as it will mean I only use 1 
> write op for all unindexed properties...
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-appengine/-/CGmpJvoIF_EJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



Re: [google-appengine] SDK 1.7.3 not detecting source file changes - ANNOYING!

2012-12-13 Thread Andreas Schmid
seems to work for me on OSX 10.8.2

On Dec 13, 2012, at 2:03 PM, vlad  wrote:

> Has anyone checked if 1.7.4 fixed this problem?
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-appengine/-/oEtxemVzCWMJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



Re: [google-appengine] Text Search not returning results

2012-11-28 Thread Andreas Schmid
ask this question on stackoverflow and add your code!

On Nov 28, 2012, at 10:07 AM, ellivlum  wrote:

> I have created at app which simply shows some adverts, users can add their 
> own, and search for key words and delete any results (this is for some 
> coursework, so is pretty simplistic)
> I had the text search fully implemented and it worked fine when on my local 
> machine, but when I upload it to the app engine, it doesn't seem to return 
> any results for my searches. This is weird, because I can still add items to 
> the index, but just not get results for queries.
> Any help would be appreciated!
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-appengine/-/OyllKBWkCqMJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



Re: [google-appengine] 500 Server Error - Need Help

2012-11-20 Thread Andreas Schmid
jennifer,

obviously your code is not right otherwise you would not get a 500 error code. 
what you need to do is learn how to debug your code by reading and 
understanding the log messages. 

go to your apps admin panel and look at the error logs, understand whats wrong 
and fix it.


On Nov 19, 2012, at 8:56 PM, Jennifer  wrote:

> I have made a Foursquare connected app written in Python. My favicon loads 
> but my app doesn't and it says to report it if it continues doing it. It's 
> still not fixed. My code is right because a Foursquare employee looked at my 
> code. Thanks for your help! If it's on my end what do I need to do to fix it??
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-appengine/-/aGrhJyrJh1UJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.


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



Re: [google-appengine] Re: Mistaken bill

2011-11-16 Thread andreas schmid
greg please tell us how to find out which app was charged from the google 
checkout receipt?!

On Nov 15, 2011, at 7:33 PM, Gregory D'alesandre wrote:

> Hi Tempy, I took the liberty of checking out your appid (since you asked :) 
> and there was no charge listed in your billing history which means you 
> shouldn't have been charged.  Is it possible that the $2.10 charge was for a 
> different appid?
> 
> Greg
> 
> On Tue, Nov 15, 2011 at 2:22 PM, tempy  wrote:
> Right you are! Sorry, my mistake.
> 
> Though I'm surprised that this isn't coming out of the credit that the
> account has.
> 
> On Nov 15, 11:18 pm, Joshua Smith  wrote:
> > $2.10 perhaps?
> >
> > That's the minimum weekly charge for "billing enabled" now.
> >
> > On Nov 15, 2011, at 5:07 PM, tempy wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Hello all,
> > > Not sure where to report this so I'm writing it here. Just got an
> > > email that I was billed two bucks for my under-quota app that has
> > > billing enabled. The app still has 48.35$ worth of credit from the
> > > free credit we got during the pricing change, and the last time it
> > > went over quota it was for 15 cents.
> >
> > > Obviously, I don't mind parting with 2 dollars, but its kind of
> > > worrisome that this charge seems to be totally out of the blue.
> >
> > > Appid: "hrkleio"
> >
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "Google App Engine" group.
> > > To post to this group, send email to google-appengine@googlegroups.com.
> > > To unsubscribe from this group, send email to 
> > > google-appengine+unsubscr...@googlegroups.com.
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/google-appengine?hl=en.
> 
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



Re: [google-appengine] URGENT: google checkout for usage i dont know where it comes from.

2011-11-16 Thread andreas schmid
storage yes. 
9$/month NO!!

On Nov 16, 2011, at 8:31 AM, Joshua Smith wrote:

> Well, they have a point about storage. I don't want my data to disappear if I 
> disable my app, and they deserve to get paid for the storage those disabled 
> apps are using.
> 
> On Nov 16, 2011, at 9:27 AM, andreas schmid wrote:
> 
>> are you kidding me??
>> disabled app and still charged?? this is a joke
>> 
>> c'mon google guys
>> 
>> On Nov 15, 2011, at 2:44 PM, Riley wrote:
>> 
>>> This happened to me, too - if you follow the links in the checkout receipt 
>>> for long enough you eventually get to something with the appid buried in a 
>>> description.
>>> 
>>> In my case, the app was disabled, but I hadn't disabled billing separately, 
>>> so I was still charged.  Whoops!
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "Google App Engine" group.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msg/google-appengine/-/fRmkmWeXCPcJ.
>>> To post to this group, send email to google-appengine@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> google-appengine+unsubscr...@googlegroups.com.
>>> For more options, visit this group at 
>>> http://groups.google.com/group/google-appengine?hl=en.
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



Re: [google-appengine] URGENT: google checkout for usage i dont know where it comes from.

2011-11-16 Thread andreas schmid
another very odd thing.

i have many apps runngin. some of them i created personally and i am the 
owner/creator others i was set as owner by the creator.
now i cant disable billing on my apps (i created) because it tells me that i 
already have too many free apps.

this does not seem right to me!! 

On Nov 16, 2011, at 8:27 AM, andreas schmid wrote:

> are you kidding me??
> disabled app and still charged?? this is a joke
> 
> c'mon google guys
> 
> On Nov 15, 2011, at 2:44 PM, Riley wrote:
> 
>> This happened to me, too - if you follow the links in the checkout receipt 
>> for long enough you eventually get to something with the appid buried in a 
>> description.
>> 
>> In my case, the app was disabled, but I hadn't disabled billing separately, 
>> so I was still charged.  Whoops!
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/google-appengine/-/fRmkmWeXCPcJ.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
> 

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



Re: [google-appengine] URGENT: google checkout for usage i dont know where it comes from.

2011-11-16 Thread andreas schmid
are you kidding me??
disabled app and still charged?? this is a joke

c'mon google guys

On Nov 15, 2011, at 2:44 PM, Riley wrote:

> This happened to me, too - if you follow the links in the checkout receipt 
> for long enough you eventually get to something with the appid buried in a 
> description.
> 
> In my case, the app was disabled, but I hadn't disabled billing separately, 
> so I was still charged.  Whoops!
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-appengine/-/fRmkmWeXCPcJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



Re: [google-appengine] Re: URGENT: google checkout for usage i dont know where it comes from.

2011-11-14 Thread andreas schmid
i figured that out right now.
anyway i enabled billing time ago for this appid bc i needed the blobstore. 
now the blobstore does not need the billing enabled anymore and this app was a 
'forgotten' one of mine. 

i actually really think its uncool from your side to charge for this app. 
and you should start adding an appid to the google checkout receipt bc there is 
no way to understand what you are charging for. 

thx for the reply.

On Nov 14, 2011, at 5:07 PM, Gregory D'alesandre wrote:

> Hi Andreas,
> 
> If you have billing enabled App Engine will now charge you $2.10/week as a 
> minimum spend.  Above $2.10 we will charge you for what you use.  If you 
> don't need to go beyond the free quota, it might make more sense to disable 
> billing on your application.  More information can be found here: 
> http://code.google.com/appengine/kb/billing.html#nine_dollar_month_fee_minimum_spend
> 
> Greg D'Alesandre
> Senior Product Manager, Google App Engine
> 
> On Mon, Nov 14, 2011 at 2:53 PM, andreas schmid  wrote:
> hey david,
> 
> are you working for google or did you just answer me bc u saw my post and 
> responded me privately instead of answering to the list??
> 
> if i set up a 2.10 amount it was for a max spend and never for a min spend!! 
> i use this app for testing some stuff sometimes and i really don't see where 
> it should charge me $2.10!
> 
> On Nov 14, 2011, at 4:47 PM, David wrote:
> 
>> If you enable billing, you have a minimum spend of 2.1$/week!
>> 
>> Am Montag, 14. November 2011 23:40:38 UTC+1 schrieb aschmid:
>> really dont get it. where do the $ 2.10 come from? 
>> 
>> 
>> On Nov 14, 2011, at 4:09 PM, andreas schmid wrote:
>> 
>>> dear google,
>>> 
>>> in the last few weeks you charged me for google app engine usage i don't 
>>> actually know where its coming from.
>>> i dont know which app is consuming this money and i actually think i don't 
>>> have any app shows usage for this amount.
>>> 
>>> please contact me asap to clear this situation!!
>>> Google order number: 363075622065800
>>> 
>>> thx
>> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] Re: URGENT: google checkout for usage i dont know where it comes from.

2011-11-14 Thread andreas schmid
hey david,

are you working for google or did you just answer me bc u saw my post and 
responded me privately instead of answering to the list??

if i set up a 2.10 amount it was for a max spend and never for a min spend!! 
i use this app for testing some stuff sometimes and i really don't see where it 
should charge me $2.10!

On Nov 14, 2011, at 4:47 PM, David wrote:

> If you enable billing, you have a minimum spend of 2.1$/week!
> 
> Am Montag, 14. November 2011 23:40:38 UTC+1 schrieb aschmid:
> really dont get it. where do the $ 2.10 come from? 
> 
> 
> On Nov 14, 2011, at 4:09 PM, andreas schmid wrote:
> 
>> dear google,
>> 
>> in the last few weeks you charged me for google app engine usage i don't 
>> actually know where its coming from.
>> i dont know which app is consuming this money and i actually think i don't 
>> have any app shows usage for this amount.
>> 
>> please contact me asap to clear this situation!!
>> Google order number: 363075622065800
>> 
>> thx
> 

-- 
You 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: URGENT: google checkout for usage i dont know where it comes from.

2011-11-14 Thread andreas schmid
and seriously... start adding an appid to the charges you send! 
its not acceptable that i cant figure out why i get charged for money.

thx

On Nov 14, 2011, at 4:09 PM, andreas schmid wrote:

> dear google,
> 
> in the last few weeks you charged me for google app engine usage i don't 
> actually know where its coming from.
> i dont know which app is consuming this money and i actually think i don't 
> have any app shows usage for this amount.
> 
> please contact me asap to clear this situation!!
> Google order number: 363075622065800
> 
> thx

-- 
You 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] URGENT: google checkout for usage i dont know where it comes from.

2011-11-14 Thread andreas schmid
dear google,

in the last few weeks you charged me for google app engine usage i don't 
actually know where its coming from.
i dont know which app is consuming this money and i actually think i don't have 
any app shows usage for this amount.

please contact me asap to clear this situation!!
Google order number: 363075622065800

thx

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



Re: [google-appengine] how to override skip_files on local dev server

2011-11-11 Thread andreas schmid
still think this should be mentioned in the docs for skip_files.

On Nov 10, 2011, at 8:01 PM, Nick Johnson wrote:

> Hi Andreas,
> 
> The dev_appserver attempts to emulate the production environment in every way 
> possible; we don't document each case explicitly because it's the default 
> behaviour.
> 
> -Nick Johnson
> 
> On Thu, Nov 10, 2011 at 12:51 PM, andreas schmid  wrote:
> nick i understand what you are trying to say but i still think such things 
> should be documented here 
> http://code.google.com/appengine/docs/python/config/appconfig.html#Skipping_Files
> 
> where the only thing said in the docs about the consequences of the 
> skip_files configuration is:
> 
> The skip_files element specifies which files in the application directory are 
> not to be uploaded to App Engine. The value is either a regular expression, 
> or a list of regular expressions. Any filename that matches any of the 
> regular expression is omitted from the list of files to upload when the 
> application is uploaded.
> 
> this could avoid developers to spend hours to figure out whats wrong in their 
> code.
> 
> andreas
> 
> On Nov 9, 2011, at 7:46 PM, Nick Johnson wrote:
> 
>> On Thu, Nov 10, 2011 at 2:53 AM, andreas schmid  wrote:
>> i know its not an issue but what is the reason for blocking access to local 
>> files?
>> in my case i have a dev environment and whats going to be deployed and i 
>> don't see the reason why i have to deploy those files too or switch back and 
>> forth in the skip_files section.
>> 
>> no docs say that adding stuff to the skip_files section will affect access 
>> to those files. 
>> 
>> The dev_appserver attempts to emulate the production environment as closely 
>> as possible. skipped files aren't available in production, so it makes them 
>> unavailable in dev. If you need access to files that aren't uploaded, you 
>> should write a script that runs outside the dev_appserver, rather than 
>> trying to work around the restrictions, which are designed to help you test 
>> your app in as realistic an environment as possible.
>> 
>> -Nick Johnson
>>  
>> 
>> 
>> On Nov 9, 2011, at 10:19 AM, Jacob Gur wrote:
>> 
>>> Now that GAE has increased file deployment limit from 3,000 to 10,000, this 
>>> should not be an issue for most people.
>>> 
>>> On Wed, Nov 9, 2011 at 10:16 AM, andreas schmid  
>>> wrote:
>>> have the same issue but i use different folders depending on local 
>>> development or deployed app.
>>> i think the sdk should not block access to files. skip files should be 
>>> there to avoid deploying those files and thats it.
>>> 
>>> On Jul 15, 2011, at 4:42 PM, Robert Kluin wrote:
>>> 
>>> > Hey Jscob,
>>> >  It sounds like you're either dangerously close to the limit or have
>>> > a frightening number of js files.  Perhaps you should write a build
>>> > script to handle making the mods you need or removing the files?
>>> >
>>> > Robert
>>> >
>>> >
>>> >
>>> > On Friday, July 15, 2011, Jacob G  wrote:
>>> >> To clarify, I don't want these file uploaded at all to GAE, because
>>> >> I'll go over 3000 file limit.
>>> >>
>>> >> On Jul 15, 3:17 pm, Jacob G  wrote:
>>> >>> skip_files seems to block access on local dev server. How do override
>>> >>> that? I need it for minifying javascript, but having access to
>>> >>> original files on dev server for debugging.
>>> >>
>>> >> --
>>> >> You 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.
>>> >>
>>> >>
>>> >
>>> > --
>>> > --
>>> > Robert Kluin
>>> > Ezox Systems, LLC
>>> >
>>> > --
>>> > You 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.
>>> >

Re: [google-appengine] how to override skip_files on local dev server

2011-11-09 Thread andreas schmid
nick i understand what you are trying to say but i still think such things 
should be documented here 
http://code.google.com/appengine/docs/python/config/appconfig.html#Skipping_Files

where the only thing said in the docs about the consequences of the skip_files 
configuration is:

The skip_files element specifies which files in the application directory are 
not to be uploaded to App Engine. The value is either a regular expression, or 
a list of regular expressions. Any filename that matches any of the regular 
expression is omitted from the list of files to upload when the application is 
uploaded.

this could avoid developers to spend hours to figure out whats wrong in their 
code.

andreas

On Nov 9, 2011, at 7:46 PM, Nick Johnson wrote:

> On Thu, Nov 10, 2011 at 2:53 AM, andreas schmid  wrote:
> i know its not an issue but what is the reason for blocking access to local 
> files?
> in my case i have a dev environment and whats going to be deployed and i 
> don't see the reason why i have to deploy those files too or switch back and 
> forth in the skip_files section.
> 
> no docs say that adding stuff to the skip_files section will affect access to 
> those files. 
> 
> The dev_appserver attempts to emulate the production environment as closely 
> as possible. skipped files aren't available in production, so it makes them 
> unavailable in dev. If you need access to files that aren't uploaded, you 
> should write a script that runs outside the dev_appserver, rather than trying 
> to work around the restrictions, which are designed to help you test your app 
> in as realistic an environment as possible.
> 
> -Nick Johnson
>  
> 
> 
> On Nov 9, 2011, at 10:19 AM, Jacob Gur wrote:
> 
>> Now that GAE has increased file deployment limit from 3,000 to 10,000, this 
>> should not be an issue for most people.
>> 
>> On Wed, Nov 9, 2011 at 10:16 AM, andreas schmid  wrote:
>> have the same issue but i use different folders depending on local 
>> development or deployed app.
>> i think the sdk should not block access to files. skip files should be there 
>> to avoid deploying those files and thats it.
>> 
>> On Jul 15, 2011, at 4:42 PM, Robert Kluin wrote:
>> 
>> > Hey Jscob,
>> >  It sounds like you're either dangerously close to the limit or have
>> > a frightening number of js files.  Perhaps you should write a build
>> > script to handle making the mods you need or removing the files?
>> >
>> > Robert
>> >
>> >
>> >
>> > On Friday, July 15, 2011, Jacob G  wrote:
>> >> To clarify, I don't want these file uploaded at all to GAE, because
>> >> I'll go over 3000 file limit.
>> >>
>> >> On Jul 15, 3:17 pm, Jacob G  wrote:
>> >>> skip_files seems to block access on local dev server. How do override
>> >>> that? I need it for minifying javascript, but having access to
>> >>> original files on dev server for debugging.
>> >>
>> >> --
>> >> You 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.
>> >>
>> >>
>> >
>> > --
>> > --
>> > Robert Kluin
>> > Ezox Systems, LLC
>> >
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "Google App Engine" group.
>> > To post to this group, send email to google-appengine@googlegroups.com.
>> > To unsubscribe from this group, send email to 
>> > google-appengine+unsubscr...@googlegroups.com.
>> > For more options, visit this group at 
>> > http://groups.google.com/group/google-appengine?hl=en.
>> >
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>> 
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google G

Re: [google-appengine] how to override skip_files on local dev server

2011-11-09 Thread andreas schmid
or even better start dev_appserver with --allow_skipped_files , did not test it 
yet...

On Nov 9, 2011, at 11:06 AM, andreas schmid wrote:

> this can be turned off by changing lines 519 and 525 in 
> google/appengine/tools/dev_appserver_import_hook.py
> 
> to: return True
> 
> ugly but works.
> 
> On Nov 9, 2011, at 10:53 AM, andreas schmid wrote:
> 
>> i know its not an issue but what is the reason for blocking access to local 
>> files?
>> in my case i have a dev environment and whats going to be deployed and i 
>> don't see the reason why i have to deploy those files too or switch back and 
>> forth in the skip_files section.
>> 
>> no docs say that adding stuff to the skip_files section will affect access 
>> to those files. 
>> 
>> 
>> On Nov 9, 2011, at 10:19 AM, Jacob Gur wrote:
>> 
>>> Now that GAE has increased file deployment limit from 3,000 to 10,000, this 
>>> should not be an issue for most people.
>>> 
>>> On Wed, Nov 9, 2011 at 10:16 AM, andreas schmid  
>>> wrote:
>>> have the same issue but i use different folders depending on local 
>>> development or deployed app.
>>> i think the sdk should not block access to files. skip files should be 
>>> there to avoid deploying those files and thats it.
>>> 
>>> On Jul 15, 2011, at 4:42 PM, Robert Kluin wrote:
>>> 
>>> > Hey Jscob,
>>> >  It sounds like you're either dangerously close to the limit or have
>>> > a frightening number of js files.  Perhaps you should write a build
>>> > script to handle making the mods you need or removing the files?
>>> >
>>> > Robert
>>> >
>>> >
>>> >
>>> > On Friday, July 15, 2011, Jacob G  wrote:
>>> >> To clarify, I don't want these file uploaded at all to GAE, because
>>> >> I'll go over 3000 file limit.
>>> >>
>>> >> On Jul 15, 3:17 pm, Jacob G  wrote:
>>> >>> skip_files seems to block access on local dev server. How do override
>>> >>> that? I need it for minifying javascript, but having access to
>>> >>> original files on dev server for debugging.
>>> >>
>>> >> --
>>> >> You 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.
>>> >>
>>> >>
>>> >
>>> > --
>>> > --
>>> > Robert Kluin
>>> > Ezox Systems, LLC
>>> >
>>> > --
>>> > You received this message because you are subscribed to the Google Groups 
>>> > "Google App Engine" group.
>>> > To post to this group, send email to google-appengine@googlegroups.com.
>>> > To unsubscribe from this group, send email to 
>>> > google-appengine+unsubscr...@googlegroups.com.
>>> > For more options, visit this group at 
>>> > http://groups.google.com/group/google-appengine?hl=en.
>>> >
>>> 
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "Google App Engine" group.
>>> To post to this group, send email to google-appengine@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> google-appengine+unsubscr...@googlegroups.com.
>>> For more options, visit this group at 
>>> http://groups.google.com/group/google-appengine?hl=en.
>>> 
>>> 
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "Google App Engine" group.
>>> To post to this group, send email to google-appengine@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> google-appengine+unsubscr...@googlegroups.com.
>>> For more options, visit this group at 
>>> http://groups.google.com/group/google-appengine?hl=en.
>> 
> 

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



Re: [google-appengine] app.yaml skip_files blocks access to local resources

2011-11-09 Thread andreas schmid
thx ill try this out.

On Nov 9, 2011, at 12:38 AM, Ugorji wrote:

> Run dev_appserver.py with parameter: --allow_skipped_files 
> 
> I think that should work. 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-appengine/-/8tlRK_o7vJMJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



Re: [google-appengine] how to override skip_files on local dev server

2011-11-09 Thread andreas schmid
this can be turned off by changing lines 519 and 525 in 
google/appengine/tools/dev_appserver_import_hook.py

to: return True

ugly but works.

On Nov 9, 2011, at 10:53 AM, andreas schmid wrote:

> i know its not an issue but what is the reason for blocking access to local 
> files?
> in my case i have a dev environment and whats going to be deployed and i 
> don't see the reason why i have to deploy those files too or switch back and 
> forth in the skip_files section.
> 
> no docs say that adding stuff to the skip_files section will affect access to 
> those files. 
> 
> 
> On Nov 9, 2011, at 10:19 AM, Jacob Gur wrote:
> 
>> Now that GAE has increased file deployment limit from 3,000 to 10,000, this 
>> should not be an issue for most people.
>> 
>> On Wed, Nov 9, 2011 at 10:16 AM, andreas schmid  wrote:
>> have the same issue but i use different folders depending on local 
>> development or deployed app.
>> i think the sdk should not block access to files. skip files should be there 
>> to avoid deploying those files and thats it.
>> 
>> On Jul 15, 2011, at 4:42 PM, Robert Kluin wrote:
>> 
>> > Hey Jscob,
>> >  It sounds like you're either dangerously close to the limit or have
>> > a frightening number of js files.  Perhaps you should write a build
>> > script to handle making the mods you need or removing the files?
>> >
>> > Robert
>> >
>> >
>> >
>> > On Friday, July 15, 2011, Jacob G  wrote:
>> >> To clarify, I don't want these file uploaded at all to GAE, because
>> >> I'll go over 3000 file limit.
>> >>
>> >> On Jul 15, 3:17 pm, Jacob G  wrote:
>> >>> skip_files seems to block access on local dev server. How do override
>> >>> that? I need it for minifying javascript, but having access to
>> >>> original files on dev server for debugging.
>> >>
>> >> --
>> >> You 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.
>> >>
>> >>
>> >
>> > --
>> > --
>> > Robert Kluin
>> > Ezox Systems, LLC
>> >
>> > --
>> > You received this message because you are subscribed to the Google Groups 
>> > "Google App Engine" group.
>> > To post to this group, send email to google-appengine@googlegroups.com.
>> > To unsubscribe from this group, send email to 
>> > google-appengine+unsubscr...@googlegroups.com.
>> > For more options, visit this group at 
>> > http://groups.google.com/group/google-appengine?hl=en.
>> >
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>> 
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
> 

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



Re: [google-appengine] how to override skip_files on local dev server

2011-11-09 Thread andreas schmid
i know its not an issue but what is the reason for blocking access to local 
files?
in my case i have a dev environment and whats going to be deployed and i don't 
see the reason why i have to deploy those files too or switch back and forth in 
the skip_files section.

no docs say that adding stuff to the skip_files section will affect access to 
those files. 


On Nov 9, 2011, at 10:19 AM, Jacob Gur wrote:

> Now that GAE has increased file deployment limit from 3,000 to 10,000, this 
> should not be an issue for most people.
> 
> On Wed, Nov 9, 2011 at 10:16 AM, andreas schmid  wrote:
> have the same issue but i use different folders depending on local 
> development or deployed app.
> i think the sdk should not block access to files. skip files should be there 
> to avoid deploying those files and thats it.
> 
> On Jul 15, 2011, at 4:42 PM, Robert Kluin wrote:
> 
> > Hey Jscob,
> >  It sounds like you're either dangerously close to the limit or have
> > a frightening number of js files.  Perhaps you should write a build
> > script to handle making the mods you need or removing the files?
> >
> > Robert
> >
> >
> >
> > On Friday, July 15, 2011, Jacob G  wrote:
> >> To clarify, I don't want these file uploaded at all to GAE, because
> >> I'll go over 3000 file limit.
> >>
> >> On Jul 15, 3:17 pm, Jacob G  wrote:
> >>> skip_files seems to block access on local dev server. How do override
> >>> that? I need it for minifying javascript, but having access to
> >>> original files on dev server for debugging.
> >>
> >> --
> >> You 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.
> >>
> >>
> >
> > --
> > --
> > Robert Kluin
> > Ezox Systems, LLC
> >
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google App Engine" group.
> > To post to this group, send email to google-appengine@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group at 
> > http://groups.google.com/group/google-appengine?hl=en.
> >
> 
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



Re: [google-appengine] how to override skip_files on local dev server

2011-11-09 Thread andreas schmid
have the same issue but i use different folders depending on local development 
or deployed app.
i think the sdk should not block access to files. skip files should be there to 
avoid deploying those files and thats it.

On Jul 15, 2011, at 4:42 PM, Robert Kluin wrote:

> Hey Jscob,
>  It sounds like you're either dangerously close to the limit or have
> a frightening number of js files.  Perhaps you should write a build
> script to handle making the mods you need or removing the files?
> 
> Robert
> 
> 
> 
> On Friday, July 15, 2011, Jacob G  wrote:
>> To clarify, I don't want these file uploaded at all to GAE, because
>> I'll go over 3000 file limit.
>> 
>> On Jul 15, 3:17 pm, Jacob G  wrote:
>>> skip_files seems to block access on local dev server. How do override
>>> that? I need it for minifying javascript, but having access to
>>> original files on dev server for debugging.
>> 
>> --
>> You 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.
>> 
>> 
> 
> -- 
> --
> Robert Kluin
> Ezox Systems, LLC
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



[google-appengine] app.yaml skip_files blocks access to local resources

2011-11-08 Thread andreas schmid
hi,

in my app i need local resources which i user only locally while developing and 
don't want to upload them on deploy.
thats why i have this specific folder listed in skip_files. 
but since now (probably one of the latest SDK releases) this makes the SDK 
ignore those files, which is pretty uncool.

skip_files should only avoid to upload those files, not block the access to it.

is there any reason why this is blocking access to those files?

thx

-- 
You 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] zipped packages and .pyc

2011-11-08 Thread andreas schmid
hi,

if i have some packages as .zip files how is GAE dealing with the .pyc files. 
would it have a better performance if .pyc files are included in the .zip?

thx

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



Re: [google-appengine] 6470ms for a memcache get and write out the result?

2011-10-15 Thread andreas schmid
you are right and i will do it but this is not what is causing that huge delay 
in the response.

On Oct 15, 2011, at 6:01 AM, djidjadji wrote:

>>page = CachedObject.all(keys_only=True).filter('appversion =', 
>> appversion) \
>>   .filter('uri =', uri).get()
>>if page:
>>p = db.get(str(page))
>>self.write(p.html)
>>memcache.set(cachekey, p.html, 
>> namespace='cachedpage|%s'%appversion)
>>return
>>else:
> 
> Why do you first check to see if the datastore object exist
> (keys_only=True) and then fetch if key is found. This adds an extra
> RPC roundtrip.
> Just fetch the object and test page for None
> 
>page = CachedObject.all().filter('appversion =', appversion) \
>  .filter('uri =', uri).get()
>if page:
>self.write(p.html)
>memcache.set(cachekey, p.html,
> namespace='cachedpage|%s'%appversion)
>return
>else:
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



[google-appengine] zipped python code in blobstore?

2011-10-13 Thread andreas schmid
hi,

i was wondering if it is  actually possible to store zipped python code in the 
blobstore and use it after getting it?

thx


-- 
You 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: 6470ms for a memcache get and write out the result?

2011-10-13 Thread andreas schmid
the same code on another app responds in 14ms



how can this be?

On Oct 13, 2011, at 10:34 AM, andreas schmid wrote:

> hi,
> 
> im having serious speed issues on a site. 
> my app is a python app and im using torndadoweb to serve requests.
> the actual rendered html is also store in the datastore and memcache.
> a decorator on the GET request checks first if there is a memcache entry if 
> it exists it writes the html out, 
> if there is no memcache entry it tries to get it from the datastore and only 
> if that doesnt exist too it executes the handler.
> 
> what i noticed is that the simple get from the memcache until the page 
> displays on the browser takes way too long and i actually dont understand how 
> this is possible.
> 
> here is my stats result:
> 
> 
> what is actually taking 6seconds here
> 
> my decorator looks like this:
> 
> def cache_page(with_keywords=False, keywords=None):
>def decorator(method):
>def wrapper(self, *args, **kwargs):
>uri = self.request.uri.strip()
>cachekey = '%s|%s' %(appversion, uri)
>cached = memcache.get(cachekey, 
> namespace='cachedpage|%s'%appversion)
>if cached:
>self.write(cached)
>return
>page = CachedObject.all(keys_only=True).filter('appversion =', 
> appversion) \
>   .filter('uri =', uri).get()
> 
>if page:
>p = db.get(str(page))
>self.write(p.html)
>memcache.set(cachekey, p.html, 
> namespace='cachedpage|%s'%appversion)
>return
>else:
>   ...
>return method(self, *args, **kwargs)
>return wrapper
>return decorator
> 
> 
> this shouldnt take that long right? 
> any thoughts?
> 
> thank you

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



[google-appengine] 6470ms for a memcache get and write out the result?

2011-10-13 Thread andreas schmid
hi,

im having serious speed issues on a site. 
my app is a python app and im using torndadoweb to serve requests.
the actual rendered html is also store in the datastore and memcache.
a decorator on the GET request checks first if there is a memcache entry if it 
exists it writes the html out, 
if there is no memcache entry it tries to get it from the datastore and only if 
that doesnt exist too it executes the handler.

what i noticed is that the simple get from the memcache until the page displays 
on the browser takes way too long and i actually dont understand how this is 
possible.

here is my stats result:
 

what is actually taking 6seconds here

my decorator looks like this:

def cache_page(with_keywords=False, keywords=None):
def decorator(method):
def wrapper(self, *args, **kwargs):
uri = self.request.uri.strip()
cachekey = '%s|%s' %(appversion, uri)
cached = memcache.get(cachekey, 
namespace='cachedpage|%s'%appversion)
if cached:
self.write(cached)
return
page = CachedObject.all(keys_only=True).filter('appversion =', 
appversion) \
   .filter('uri =', uri).get()

if page:
p = db.get(str(page))
self.write(p.html)
memcache.set(cachekey, p.html, 
namespace='cachedpage|%s'%appversion)
return
else:
...
return method(self, *args, **kwargs)
return wrapper
return decorator


this shouldnt take that long right? 
any thoughts?

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



Re: [google-appengine] ImageService API Privacy

2011-10-04 Thread andreas schmid
i would be interested too

On Oct 4, 2011, at 4:13 PM, Bruno Sandivilli wrote:

> Why, how can i save sensitive data(images) using the ImageService API, since 
> it provides an world wide visible url ?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



Re: [google-appengine] Re: send_blob() and Content-Length header?!

2011-10-02 Thread andreas schmid
filed an issue:
http://code.google.com/p/googleappengine/issues/detail?id=6020

On Oct 2, 2011, at 1:34 PM, Shedokan wrote:

> Either way you couldn't set the Content-Length header even if you
> wanted to.
> GAE automatically sets the Content-Length for all requests.
> 
> On Sep 30, 8:56 pm, andreas schmid  wrote:
>> hi,
>> 
>> im wondering if the send_blob() function sends out a Content-Length header 
>> value with the response.
>> wasn't able to figure it out. please let me know if this is the case and if 
>> it does not how can i set it manually?
>> 
>> thx
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



Re: [google-appengine] send_blob() and Content-Length header?!

2011-10-02 Thread andreas schmid
does anyone know why i don't get any content size header on this 'bigger' file?
could this be an GAE bug?

On Sep 30, 2011, at 3:44 PM, andreas schmid wrote:

> so i see the content lenght header on some files but some others do not 
> contain Content-Length Headers
> 
> this one for example:
> 
> HTTP/1.1 200 OK
> Cache-Control: no-cache
> Content-Type: application/octet-stream
> Expires: Fri, 01 Jan 1990 00:00:00 GMT
> Date: Fri, 30 Sep 2011 19:41:34 GMT
> Server: Google Frontend
> Transfer-Encoding: Identity
> Connection: close
> 
> why is that? 
> this is a 20mb file. and no content length.
> 
> 
> 
> On Sep 30, 2011, at 3:23 PM, Joshua Smith wrote:
> 
>> It does.  See the example in this issue: 
>> http://code.google.com/p/googleappengine/issues/detail?id=5956
>> 
>> curl -D is your friend.
>> 
>> On Sep 30, 2011, at 2:56 PM, andreas schmid wrote:
>> 
>>> hi,
>>> 
>>> im wondering if the send_blob() function sends out a Content-Length header 
>>> value with the response. 
>>> wasn't able to figure it out. please let me know if this is the case and if 
>>> it does not how can i set it manually?
>>> 
>>> thx 
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "Google App Engine" group.
>>> To post to this group, send email to google-appengine@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> google-appengine+unsubscr...@googlegroups.com.
>>> For more options, visit this group at 
>>> http://groups.google.com/group/google-appengine?hl=en.
>>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>> 
> 

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



Re: [google-appengine] send_blob() and Content-Length header?!

2011-09-30 Thread andreas schmid
so i see the content lenght header on some files but some others do not contain 
Content-Length Headers

this one for example:

HTTP/1.1 200 OK
Cache-Control: no-cache
Content-Type: application/octet-stream
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Date: Fri, 30 Sep 2011 19:41:34 GMT
Server: Google Frontend
Transfer-Encoding: Identity
Connection: close

why is that? 
this is a 20mb file. and no content length.



On Sep 30, 2011, at 3:23 PM, Joshua Smith wrote:

> It does.  See the example in this issue: 
> http://code.google.com/p/googleappengine/issues/detail?id=5956
> 
> curl -D is your friend.
> 
> On Sep 30, 2011, at 2:56 PM, andreas schmid wrote:
> 
>> hi,
>> 
>> im wondering if the send_blob() function sends out a Content-Length header 
>> value with the response. 
>> wasn't able to figure it out. please let me know if this is the case and if 
>> it does not how can i set it manually?
>> 
>> thx 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



[google-appengine] send_blob() and Content-Length header?!

2011-09-30 Thread andreas schmid
hi,

im wondering if the send_blob() function sends out a Content-Length header 
value with the response. 
wasn't able to figure it out. please let me know if this is the case and if it 
does not how can i set it manually?

thx 

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



Re: [google-appengine] Re: Cross Namespace Queries?

2011-09-14 Thread andreas schmid
i agree.

On Sep 14, 2011, at 7:35 PM, objectuser wrote:

> Well, I realize that almost all the time, you want your query to be within a 
> namespace.  That's the intent: prevent data leakage across namespaces.  Good 
> stuff there.
> 
> But sometimes, you want to query across them, like for administration, 
> analysis, whatever.
> 
> Thanks.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-appengine/-/VoVIZb3X-REJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] same app started on 2 different ports do not share same entities?!

2011-09-12 Thread andreas schmid
hi,

if i start the same app at the same time on 2 different ports and create an 
entity on one of them. why does it not show up on the second?
this was working some time ago.

my workflow is:
- upload a binary to the blobstore.
- contact another web service with the necessary data to download the binary 
and process it
- reupload the processed binary to the app

to be able to test this locally i need(ed) to start 2 apps on different ports 
so one uploaded and the other was able to serve the binary while the other one 
was waiting for the processed data.
this does not work any  more... why?

thank you.

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



Re: [google-appengine] Blobstore v.s static file serving

2011-09-09 Thread andreas schmid
that still does not answer why an image retrieved form the blobstore should be 
faster than one served as a static file.

On Sep 9, 2011, at 5:43 PM, Barry Hunter wrote:

> On Fri, Sep 9, 2011 at 4:13 PM, andreas schmid  wrote:
>> why should the blobstore be faster?
> 
> http://code.google.com/appengine/docs/python/images/overview.html#Transforming_Images_from_the_Blobstore
> 
> and get_serving_url()
> 
> 
>> On Sep 9, 2011, at 5:02 PM, Ubaldo Huerta wrote:
>> 
>> I wonder what's the prescribed way to serve an asset image (say, a site
>> logo)
>> 1-The easy way, using static handlers specified in app.yaml
>> 2-Uploading them via the blobstore api
>> I realize that 1 is simpler to do but I wonder if the fact that doing it via
>> blobstore it would be served faster.  For one thing, it comes from a
>> different domain and the request comes back without cookies. Now, is there a
>> difference in cost?
> 
> You will have to pay a bit for storage in the blobstore, where in
> effect static storage is free.
> 
> Otherwise bandwidth usage is the same.
> 
> Another benefit of static is you can explicitly set caching headers -
> for both the edge-cache and the browser cache. The blobstore urls,
> have a default caching header I beleive - but you cant set a really
> long caching time.
> 
> Also static requests can follow you around on version automatically
> (ie different version so a app will get different files automatically)
> whereas that will have to be done manually with the blobstore.
> 
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/google-appengine/-/fVSpDS4gRBoJ.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>> 
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



Re: [google-appengine] Blobstore v.s static file serving

2011-09-09 Thread andreas schmid
why should the blobstore be faster?

On Sep 9, 2011, at 5:02 PM, Ubaldo Huerta wrote:

> I wonder what's the prescribed way to serve an asset image (say, a site logo)
> 
> 1-The easy way, using static handlers specified in app.yaml
> 2-Uploading them via the blobstore api
> 
> I realize that 1 is simpler to do but I wonder if the fact that doing it via 
> blobstore it would be served faster.  For one thing, it comes from a 
> different domain and the request comes back without cookies. Now, is there a 
> difference in cost?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/google-appengine/-/fVSpDS4gRBoJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] zipped modules and template folders

2011-08-23 Thread andreas schmid
hi,

im trying to use zipped modules for my app (python) because i have an app that 
is the same in the admin interface for all tenants but the frontend behaviour 
and templates are different.

what im trying to do is have a common logic (my app(s) like a blogapp and one 
to handle images) and then have different tennants using that logic.
then i have a 'frontends' module with different apps in it with a main.py and a 
templates directory all in zipped folders

i have a dispatcher.py that should dispatch the requests to the right frontend 
app. it works kind of right if the packages are simple folders. 
as soon as i zip those packages i have issues with the template rendering 
because in my case tornado does not see the zipped app as a folder and cant 
open the template file. 
is there a way to get this working?

the structure is something like:

/app.yaml
/frontends/app1.zip
/frontends/app2.zip
/frontends-dispatcher.py -- the dispatcher which routes to the right app in 
/frontends
/blogapp
/imageapp
/tornado

any suggestions are highly appreciated! ...even if i have to restructure the 
whole thing.

thx


-- 
You 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: zipped modules and template folders

2011-08-23 Thread andreas schmid
hi,

im trying to use zipped modules for my app (python) because i have an app that 
is the same in the admin interface for all tenants but the frontend behaviour 
and templates are different.

what im trying to do is have a common logic (my app(s) like a blogapp and one 
to handle images) and then have different tennants using that logic.
then i have a 'frontends' module with different apps in it with a main.py and a 
templates directory all in zipped folders

i have a dispatcher.py that should dispatch the requests to the right frontend 
app. it works kind of right if the packages are simple folders. 
as soon as i zip those packages i have issues with the template rendering 
because in my case tornado does not see the zipped app as a folder and cant 
open the template file. 
is there a way to get this working?

the structure is something like:

/app.yaml
/frontends/app1.zip
/frontends/app2.zip
/frontends-dispatcher.py -- the dispatcher which routes to the right app in 
/frontends
/blogapp
/imageapp
/tornado

any suggestions are highly appreciated! ...even if i have to restructure the 
whole thing.

thx

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



Re: [google-appengine] import errors with sdk 1.5.3

2011-08-23 Thread andreas schmid
hi,

yes it still works on production, the file is fine and i can import other 
functions classes in that file but some of them not.
its really weird. 
where can i see if something got blacklisted?


On Aug 23, 2011, at 8:33 AM, Robert Kluin wrote:

> Hi Andreas,
>  Does it still work on production?  Have you checked that file to
> make sure there is nothing funky going on with it?  Have you tried
> importing that file  yourself?  You might also want to see if you
> can't figure out if it is trying to load something that has been
> blacklisted now (I don't remember the exact error that is raised in
> that case).
> 
> 
> Robert
> 
> 
> 
> 
> 
> 
> On Mon, Aug 22, 2011 at 12:17, andreas schmid  wrote:
>> hey,
>> 
>> since i upgraded to the new sdk i have issues importing modules
>> i have some older apps where i use whoosh appengine to index some stuff.
>> 
>> since sdk 1.5.3 i cant run those apps any more.
>> whoosh-appengine is in the root of the project and the function i want to 
>> import is there.
>> 
>> the import:
>> 
>> from whoosh.index import getdatastoreindex
>> 
>> ends in a:
>> 
>> File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 4143, in _HandleRequest
>>self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 4049, in _Dispatch
>>base_env_dict=env_dict)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 616, in Dispatch
>>base_env_dict=base_env_dict)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 3120, in Dispatch
>>self._module_dict)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 3024, in ExecuteCGI
>>reset_modules = exec_script(handler_path, cgi_path, hook)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 2887, in ExecuteOrImportScript
>>exec module_code in script_module.__dict__
>>  File "/Users/pepe/DEV/edelweissdentistry.project/app-runner.py", line 6, in 
>> 
>>from app.app import main
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 1538, in Decorate
>>return func(self, *args, **kwargs)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 2503, in load_module
>>return self.FindAndLoadModule(submodule, fullname, search_path)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 1538, in Decorate
>>return func(self, *args, **kwargs)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 2375, in FindAndLoadModule
>>description)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 1538, in Decorate
>>return func(self, *args, **kwargs)
>>  File 
>> "/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
>>  line 2318, in LoadModuleRestricted
>>description)
>>  File "/Users/pepe/DEV/edelweissdentistry.project/app/app.py", line 19, in 
>> 
>&g

[google-appengine] import errors with sdk 1.5.3

2011-08-22 Thread andreas schmid
hey,

since i upgraded to the new sdk i have issues importing modules
i have some older apps where i use whoosh appengine to index some stuff.

since sdk 1.5.3 i cant run those apps any more.
whoosh-appengine is in the root of the project and the function i want to 
import is there.

the import:

from whoosh.index import getdatastoreindex

ends in a:

File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
 line 4143, in _HandleRequest
self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
 line 4049, in _Dispatch
base_env_dict=env_dict)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
 line 616, in Dispatch
base_env_dict=base_env_dict)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
 line 3120, in Dispatch
self._module_dict)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
 line 3024, in ExecuteCGI
reset_modules = exec_script(handler_path, cgi_path, hook)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
 line 2887, in ExecuteOrImportScript
exec module_code in script_module.__dict__
  File "/Users/pepe/DEV/edelweissdentistry.project/app-runner.py", line 6, in 

from app.app import main
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
 line 1538, in Decorate
return func(self, *args, **kwargs)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
 line 2503, in load_module
return self.FindAndLoadModule(submodule, fullname, search_path)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
 line 1538, in Decorate
return func(self, *args, **kwargs)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
 line 2375, in FindAndLoadModule
description)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
 line 1538, in Decorate
return func(self, *args, **kwargs)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
 line 2318, in LoadModuleRestricted
description)
  File "/Users/pepe/DEV/edelweissdentistry.project/app/app.py", line 19, in 

from imageapp.handlers.tags import get_gallery, get_assets, get_collection
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
 line 1538, in Decorate
return func(self, *args, **kwargs)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
 line 2503, in load_module
return self.FindAndLoadModule(submodule, fullname, search_path)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
 line 1538, in Decorate
return func(self, *args, **kwargs)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
 line 2375, in FindAndLoadModule
description)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
 line 1538, in Decorate
return func(self, *args, **kwargs)
  File 
"/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver.py",
 line 2318, in Loa

Re: [google-appengine] Re: full text search and/or external search services

2011-08-19 Thread andreas schmid
ok after a while of using bill katzs full text search solution i switched to 
indextank.
and im really impressed how fast it is. ill be more than ok till GAEs full text 
search will be ready.
... and then we'll see if ill continue with indextank or GAEs solution.


On Aug 11, 2011, at 11:13 PM, PandaSuit wrote:

> From Ikai's post it sounds like we are a ways away from having
> Google's search on GAE and I need some features that are going to be
> annoying to add to Bill Katz solution so I decided to try out
> indextank.com as Jon Romero Vlachogiannis suggested.
> 
> I am really impressed. It is easy to integrate and runs fast. All your
> search and indexing processing is offloaded from your app and if you
> have less than 10 documents to index it is free.
> 
> I am in the process of converting my app over to using IndexTank right
> now.
> 
> 
> On Aug 3, 12:32 am, andreas schmid  wrote:
>> i tried whoosh-appengine and as i mentioned before it fails after indexing a 
>> few 1000 because the way it works and it exceeds the soft process limit size.
>> 
>> never tried it on a backend. right now i customized bill katz's simple full 
>> text search and im really surprised how simple it is implemented and how 
>> easy it is to modify it to your needs.
>> i think ill go on with this solution until gaes full text search will be 
>> released.
>> 
>> thx
>> 
>> On Aug 3, 2011, at 7:17 AM, Robert Kluin wrote:
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>> Have you tried running whoosh (not whoosh-appengine) on a backend?
>>> Backends are expensive, but might help you out a bit.
>> 
>>> Robert
>> 
>>> On Thu, Jul 28, 2011 at 11:19, andreas schmid  wrote:
>>>> hi guys,
>> 
>>>> i really need to have a full text search on my app and i wanted to know 
>>>> what kind of external services you are using on your apps. or how you 
>>>> implement such a service.
>>>> i tried whoosh-appengine but first its a really old version and second it 
>>>> has huge issues with 1000+ indexed entities.
>> 
>>>> we don't know when the full text search will be released for GAE right?
>> 
>>>> thx
>> 
>>>> --
>>>> You received this message because you are subscribed to the Google Groups 
>>>> "Google App Engine" group.
>>>> To post to this group, send email to google-appengine@googlegroups.com.
>>>> To unsubscribe from this group, send email to 
>>>> google-appengine+unsubscr...@googlegroups.com.
>>>> For more options, visit this group 
>>>> athttp://groups.google.com/group/google-appengine?hl=en.
>> 
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "Google App Engine" group.
>>> To post to this group, send email to google-appengine@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> google-appengine+unsubscr...@googlegroups.com.
>>> For more options, visit this group 
>>> athttp://groups.google.com/group/google-appengine?hl=en.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



Re: [google-appengine] Datastore Admin Console is blank

2011-08-10 Thread andreas schmid
it appears empty in safari as i know.

On Aug 10, 2011, at 5:11 AM, cloudy wrote:

> I turned on datastore admin in yaml file.
> But Datastore admin console is empty, there were no error
> 
> There are already much data in my app.
> My app address is "https://cloveronapp.appspot.com/";
> 
> Do you have any idea about this?
> 
> 
> ***
> builtins:
> - datastore_admin: on
> - remote_api: on
> ***
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



Re: [google-appengine] Much more efficient implementation of db.ListProperty(int) - created a lib

2011-08-03 Thread andreas schmid
is there a way to use this ArrayProperty to store a list of strings?

On Aug 3, 2011, at 10:15 AM, MiuMeet Support wrote:

> You can fit up to 131'072 elements in there, afterwards you hit the 1mb 
> entity limit (entity overhead aside, but 100'000 are def possible).
> 
> Put and Get performance are really fantastic, 10ms each, see the blog post.
> 
> -Andrin
> 
> On Wed, Aug 3, 2011 at 9:23 AM, andreas schmid  wrote:
> does this also mean that there is no 5000 objects limit on the list?
> is the get performance good as the put?
> 
> thx for sharing this.
> 
> On Aug 2, 2011, at 9:04 PM, Ikai Lan (Google) wrote:
> 
>> Thanks Andrin!
>> 
>> If anyone is wondering why this is, it's because the List property is 
>> serialized and deserialized using protocol buffers. Protocol buffers are 
>> very useful for things like validation and cross language compatibility, but 
>> you can sometimes gain some performance benefits by serializing and 
>> deserializing using native methods. The protocol buffer implementation for 
>> Python is noticeably slow, even via the native extension (if you can improve 
>> this - Google wants to hire you), so I'm not surprised techniques like this 
>> work.
>> 
>> --
>> Ikai Lan 
>> Developer Programs Engineer, Google App Engine
>> plus.ikailan.com | twitter.com/ikai
>> 
>> 
>> 
>> On Tue, Aug 2, 2011 at 9:18 AM, Andrin von Rechenberg  
>> wrote:
>> So you want to store a "very long list of numbers" in your AppEngine Model 
>> which doesn't need to be indexed.
>> 
>> Well, you could just do this:
>> 
>> class Foo(db.Model):
>>  numbers = db.ListProperty(int, indexed=False)
>> 
>> However, you will quickly notice that the performance and the memory 
>> consumption of this sucks if you add thousands of integers to this list.
>> 
>> Instead you should use the native python "array.array" type as the list and 
>> store it in a BlobProperty. It's up to 30x faster!
>> 
>> I created a library that does exactly this (free, apache 2.0 license):
>> http://devblog.miumeet.com/2011/08/much-more-efficient-implementation-of.html
>> 
>> Once you have the library, all you need to do is this to get a huge 
>> performance boost:
>> 
>> class Foo(db.Model):
>>  numbers = db.ArrayProperty()
>> 
>> The blogpost also has more details and an appstat comparison.
>> 
>> Cheers & hope you like it
>> -Andrin
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



Re: [google-appengine] full text search and/or external search services

2011-08-03 Thread andreas schmid
i got that you weren't suggesting that :)

On Aug 3, 2011, at 5:19 PM, Robert Kluin wrote:

> On Wed, Aug 3, 2011 at 03:32, andreas schmid  wrote:
>> i tried whoosh-appengine and as i mentioned before it fails after indexing a 
>> few 1000 because the way it works and it exceeds the soft process limit size.
> 
> Sorry, I was suggesting to *not* use whoosh-appengine -- rather try
> 'real' whoosh on a backend with more RAM.  I've seen an example of
> doing this before, though I don't recall where.  I think it was quite
> straightforward.
> 
> 
> 
>> 
>> never tried it on a backend. right now i customized bill katz's simple full 
>> text search and im really surprised how simple it is implemented and how 
>> easy it is to modify it to your needs.
>> i think ill go on with this solution until gaes full text search will be 
>> released.
>> 
>> thx
>> 
>> On Aug 3, 2011, at 7:17 AM, Robert Kluin wrote:
>> 
>>> Have you tried running whoosh (not whoosh-appengine) on a backend?
>>> Backends are expensive, but might help you out a bit.
>>> 
>>> 
>>> 
>>> Robert
>>> 
>>> 
>>> 
>>> 
>>> 
>>> On Thu, Jul 28, 2011 at 11:19, andreas schmid  wrote:
>>>> hi guys,
>>>> 
>>>> i really need to have a full text search on my app and i wanted to know 
>>>> what kind of external services you are using on your apps. or how you 
>>>> implement such a service.
>>>> i tried whoosh-appengine but first its a really old version and second it 
>>>> has huge issues with 1000+ indexed entities.
>>>> 
>>>> we don't know when the full text search will be released for GAE right?
>>>> 
>>>> thx
>>>> 
>>>> --
>>>> You received this message because you are subscribed to the Google Groups 
>>>> "Google App Engine" group.
>>>> To post to this group, send email to google-appengine@googlegroups.com.
>>>> To unsubscribe from this group, send email to 
>>>> google-appengine+unsubscr...@googlegroups.com.
>>>> For more options, visit this group at 
>>>> http://groups.google.com/group/google-appengine?hl=en.
>>>> 
>>>> 
>>> 
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "Google App Engine" group.
>>> To post to this group, send email to google-appengine@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> google-appengine+unsubscr...@googlegroups.com.
>>> For more options, visit this group at 
>>> http://groups.google.com/group/google-appengine?hl=en.
>>> 
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>> 
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



Re: [google-appengine] Much more efficient implementation of db.ListProperty(int) - created a lib

2011-08-03 Thread andreas schmid
cool! ill def use it!
thx

On Aug 3, 2011, at 10:15 AM, MiuMeet Support wrote:

> You can fit up to 131'072 elements in there, afterwards you hit the 1mb 
> entity limit (entity overhead aside, but 100'000 are def possible).
> 
> Put and Get performance are really fantastic, 10ms each, see the blog post.
> 
> -Andrin
> 
> On Wed, Aug 3, 2011 at 9:23 AM, andreas schmid  wrote:
> does this also mean that there is no 5000 objects limit on the list?
> is the get performance good as the put?
> 
> thx for sharing this.
> 
> On Aug 2, 2011, at 9:04 PM, Ikai Lan (Google) wrote:
> 
>> Thanks Andrin!
>> 
>> If anyone is wondering why this is, it's because the List property is 
>> serialized and deserialized using protocol buffers. Protocol buffers are 
>> very useful for things like validation and cross language compatibility, but 
>> you can sometimes gain some performance benefits by serializing and 
>> deserializing using native methods. The protocol buffer implementation for 
>> Python is noticeably slow, even via the native extension (if you can improve 
>> this - Google wants to hire you), so I'm not surprised techniques like this 
>> work.
>> 
>> --
>> Ikai Lan 
>> Developer Programs Engineer, Google App Engine
>> plus.ikailan.com | twitter.com/ikai
>> 
>> 
>> 
>> On Tue, Aug 2, 2011 at 9:18 AM, Andrin von Rechenberg  
>> wrote:
>> So you want to store a "very long list of numbers" in your AppEngine Model 
>> which doesn't need to be indexed.
>> 
>> Well, you could just do this:
>> 
>> class Foo(db.Model):
>>  numbers = db.ListProperty(int, indexed=False)
>> 
>> However, you will quickly notice that the performance and the memory 
>> consumption of this sucks if you add thousands of integers to this list.
>> 
>> Instead you should use the native python "array.array" type as the list and 
>> store it in a BlobProperty. It's up to 30x faster!
>> 
>> I created a library that does exactly this (free, apache 2.0 license):
>> http://devblog.miumeet.com/2011/08/much-more-efficient-implementation-of.html
>> 
>> Once you have the library, all you need to do is this to get a huge 
>> performance boost:
>> 
>> class Foo(db.Model):
>>  numbers = db.ArrayProperty()
>> 
>> The blogpost also has more details and an appstat comparison.
>> 
>> Cheers & hope you like it
>> -Andrin
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>> 
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



Re: [google-appengine] full text search and/or external search services

2011-08-03 Thread andreas schmid
i tried whoosh-appengine and as i mentioned before it fails after indexing a 
few 1000 because the way it works and it exceeds the soft process limit size.

never tried it on a backend. right now i customized bill katz's simple full 
text search and im really surprised how simple it is implemented and how easy 
it is to modify it to your needs. 
i think ill go on with this solution until gaes full text search will be 
released.

thx

On Aug 3, 2011, at 7:17 AM, Robert Kluin wrote:

> Have you tried running whoosh (not whoosh-appengine) on a backend?
> Backends are expensive, but might help you out a bit.
> 
> 
> 
> Robert
> 
> 
> 
> 
> 
> On Thu, Jul 28, 2011 at 11:19, andreas schmid  wrote:
>> hi guys,
>> 
>> i really need to have a full text search on my app and i wanted to know what 
>> kind of external services you are using on your apps. or how you implement 
>> such a service.
>> i tried whoosh-appengine but first its a really old version and second it 
>> has huge issues with 1000+ indexed entities.
>> 
>> we don't know when the full text search will be released for GAE right?
>> 
>> thx
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>> 
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



Re: [google-appengine] Much more efficient implementation of db.ListProperty(int) - created a lib

2011-08-03 Thread andreas schmid
does this also mean that there is no 5000 objects limit on the list?
is the get performance good as the put?

thx for sharing this.

On Aug 2, 2011, at 9:04 PM, Ikai Lan (Google) wrote:

> Thanks Andrin!
> 
> If anyone is wondering why this is, it's because the List property is 
> serialized and deserialized using protocol buffers. Protocol buffers are very 
> useful for things like validation and cross language compatibility, but you 
> can sometimes gain some performance benefits by serializing and deserializing 
> using native methods. The protocol buffer implementation for Python is 
> noticeably slow, even via the native extension (if you can improve this - 
> Google wants to hire you), so I'm not surprised techniques like this work.
> 
> --
> Ikai Lan 
> Developer Programs Engineer, Google App Engine
> plus.ikailan.com | twitter.com/ikai
> 
> 
> 
> On Tue, Aug 2, 2011 at 9:18 AM, Andrin von Rechenberg  
> wrote:
> So you want to store a "very long list of numbers" in your AppEngine Model 
> which doesn't need to be indexed.
> 
> Well, you could just do this:
> 
> class Foo(db.Model):
>  numbers = db.ListProperty(int, indexed=False)
> 
> However, you will quickly notice that the performance and the memory 
> consumption of this sucks if you add thousands of integers to this list.
> 
> Instead you should use the native python "array.array" type as the list and 
> store it in a BlobProperty. It's up to 30x faster!
> 
> I created a library that does exactly this (free, apache 2.0 license):
> http://devblog.miumeet.com/2011/08/much-more-efficient-implementation-of.html
> 
> Once you have the library, all you need to do is this to get a huge 
> performance boost:
> 
> class Foo(db.Model):
>  numbers = db.ArrayProperty()
> 
> The blogpost also has more details and an appstat comparison.
> 
> Cheers & hope you like it
> -Andrin
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



Re: [google-appengine] Re: full text search and/or external search services

2011-07-29 Thread andreas schmid
thanks for the hint but im my app is written in python and it looks like 
compass is for java

On Jul 28, 2011, at 9:38 PM, Pascal Voitot Dev wrote:

> compass

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



Re: [google-appengine] Re: 500 deployment errors, here we go again

2011-07-28 Thread andreas schmid
same here
On Jul 28, 2011, at 6:48 PM, Robert Lancer wrote:

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

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



[google-appengine] full text search and/or external search services

2011-07-28 Thread andreas schmid
hi guys,

i really need to have a full text search on my app and i wanted to know what 
kind of external services you are using on your apps. or how you implement such 
a service.
i tried whoosh-appengine but first its a really old version and second it has 
huge issues with 1000+ indexed entities.

we don't know when the full text search will be released for GAE right?

thx

-- 
You 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: redirect after upload returns NoneType even with check on the UploadHandler

2011-07-19 Thread andreas schmid
ok i found the issue. 
another process accesses and processes the uploaded binaries and deletes them. 
the js upload plugin does not access the redirect url i provide the moment i 
return it so it happens that with many assets
while the js is still uploading the other process starts working on the 
entities and when the js accesses the redirect url the entity is already gone.

On Jul 18, 2011, at 6:54 PM, andreas schmid wrote:

> hi,
> 
> im having issues when i upload many (50-100) files at on a web based upload 
> queue.
> i have 2 handlers. the FileUploadHandler saves the binary, checks if its 
> saved and redirects to the
> RedirectAfterUpload which creates a json dict for the uplaod js to tell that 
> the uplaod is done.
> 
> the issue is that sometimes i get a NoneType when i try to get the asset on 
> the second handler. 
> how is this possible if i checked that it was saved in the first handler and 
> it?
> i also use entity groups and i tried different ways of getting and putting 
> the binary by key.
> sometimes i also get a redirect to temporary-blobstore-error.appspot.com 
> which is really annoying.
> 
> here the 2 handlers:
> 
> class FileUploadHandler(blobstore_handlers.BlobstoreUploadHandler):
>def post(self, tags=None):
>uploads = self.get_uploads()
>if uploads:
>binary = uploads[0]
>bin = Binary(parent = imageapp_key,
>  blob = binary,
>  filename = binary.filename,
>  size= binary.size)
># put the entity
>bin.put()
># make a test get operation to see if the 
># asset is saved.
>testget = db.get(bin.key())
>if not testget or not bin.is_saved():
>import logging
>logging.warning('*** bin is not saved!')
>return self.error(500)
>key = str(bin.key())
>self.redirect('/assets/api/upload/%s.json' %key)
> 
> 
> class RedirectAfterUpload(RequestHandler):
>def get(self, key):
>asset = db.get(key)
># get the asset
>if not asset:
>asset = Binary.get(key)
># after the second get the get
># still returns a None
>if not asset:
>logging.warning('still no asset after second get')
>return self.error(500)
>data = dict(name = asset.filename,
>thumbnail = asset.serving_url,
>size = asset.size)
>self.response.headers["Content-Type"] = "application/x-javascript"
>self.response.out.write(jsonify(data))
> 
> i don't understand what it could be.
> 
> thx
> andreas

-- 
You 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: bulk removing blobs in blobstore?

2011-07-19 Thread andreas schmid
i see i can write a handler to do this operation which queries for BlobInfo 
objects and deletes them.

On Jul 19, 2011, at 10:37 AM, andreas schmid wrote:

> hi,
> is there a way to delete blobs in the blobstore in a bulk operation?
> while the datastore admin tool lets you delete all entities of a kind, after 
> those are deleted the related blobs are still in the blobstore and need to be 
> removed manually which is not that straight forward if you have multiple 
> thousand blobs in there.
> 
> even accessing those blobs via remote_api_shell would be nice...
> 
> is there a way to do an operation like this in bulk?
> 
> thx

-- 
You 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] bulk removing blobs in blobstore?

2011-07-19 Thread andreas schmid
hi,
is there a way to delete blobs in the blobstore in a bulk operation?
while the datastore admin tool lets you delete all entities of a kind, after 
those are deleted the related blobs are still in the blobstore and need to be 
removed manually which is not that straight forward if you have multiple 
thousand blobs in there.

even accessing those blobs via remote_api_shell would be nice...

is there a way to do an operation like this in bulk?

thx

-- 
You 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] redirect after upload returns NoneType even with check on the UploadHandler

2011-07-18 Thread andreas schmid
hi,

im having issues when i upload many (50-100) files at on a web based upload 
queue.
i have 2 handlers. the FileUploadHandler saves the binary, checks if its saved 
and redirects to the
RedirectAfterUpload which creates a json dict for the uplaod js to tell that 
the uplaod is done.

the issue is that sometimes i get a NoneType when i try to get the asset on the 
second handler. 
how is this possible if i checked that it was saved in the first handler and it?
i also use entity groups and i tried different ways of getting and putting the 
binary by key.
sometimes i also get a redirect to temporary-blobstore-error.appspot.com which 
is really annoying.

here the 2 handlers:

class FileUploadHandler(blobstore_handlers.BlobstoreUploadHandler):
def post(self, tags=None):
uploads = self.get_uploads()
if uploads:
binary = uploads[0]
bin = Binary(parent = imageapp_key,
   blob = binary,
   filename = binary.filename,
   size= binary.size)
# put the entity
bin.put()
# make a test get operation to see if the 
# asset is saved.
testget = db.get(bin.key())
if not testget or not bin.is_saved():
import logging
logging.warning('*** bin is not saved!')
return self.error(500)
key = str(bin.key())
self.redirect('/assets/api/upload/%s.json' %key)


class RedirectAfterUpload(RequestHandler):
def get(self, key):
asset = db.get(key)
# get the asset
if not asset:
asset = Binary.get(key)
# after the second get the get
# still returns a None
if not asset:
logging.warning('still no asset after second get')
return self.error(500)
data = dict(name = asset.filename,
thumbnail = asset.serving_url,
size = asset.size)
self.response.headers["Content-Type"] = "application/x-javascript"
self.response.out.write(jsonify(data))

i don't understand what it could be.

thx
andreas

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



Re: [google-appengine] High replication dev server persitence

2011-07-14 Thread andreas schmid
http://code.google.com/p/googleappengine/issues/detail?id=5305

On Jul 14, 2011, at 6:09 PM, Mahron wrote:

> Hi,
> 
> I am having problems with the dev server when launched with the
> high_replication flag. The datastore is no persistent.
> 
> If I use high replication the data is gone if I restart. It displays
> again I remove the high_replication flag.
> 
> If I use it without high replication everything is fine. If I then use
> the HR flag, datastore is empty again.
> 
> I tried using datastore_path but I still get the problem.
> 
> Is it possible to only use in HR mode somehow ?
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



Re: [google-appengine] Loss of data from one day

2011-07-13 Thread andreas schmid
check this issue:
http://code.google.com/p/googleappengine/issues/detail?id=5305

if you restart without the -high_replication flag you should see all your data. 
only if you specified a custom datastore path with the --datastore_path of 
course


On Jul 13, 2011, at 12:09 AM, Scott wrote:

> I was working in my application all day yesterday on localhost using
> the HRD.  I always shut down my computer at night.  When I restarted
> the app, all of my work from yesterday is gone.  It's like yesterday
> it was writing to a different datastore or something.  Does anybody
> have suggestions?  I just downgraded from python 2.7 to 2.5.2
> yesterday... would that have done anything?  I am on Windows 7 Pro SP1
> 64-bit.
> 
> Thanks!
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



Re: [google-appengine] dev_appserver.py --high-replication --datastore_path=... does not restart with data

2011-07-08 Thread andreas schmid
here it is:
http://code.google.com/p/googleappengine/issues/detail?id=5305

On Jul 8, 2011, at 5:45 PM, Robert Schuppenies wrote:

> Hi Andreas.
> 
> Could you file a ticket for this? Makes it easier for us to track issues.
> 
> thanks a lot,
> robert
> 
> On Fri, Jul 8, 2011 at 3:54 AM, andreas schmid  wrote:
> hi,
> 
> i noticed today that starting the dev_appserver with the --high_replication 
> flag and by specifying a datastore path works with an empty path but if i 
> stop and restart the dev_appserver the data is not recognized and i have to 
> repopulate the datastore. restarting it without the --high_replication flag 
> works and the data is there.
> 
> anybody else noticed this issue?
> 
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] dev_appserver.py --high-replication --datastore_path=... does not restart with data

2011-07-08 Thread andreas schmid
hi,

i noticed today that starting the dev_appserver with the --high_replication 
flag and by specifying a datastore path works with an empty path but if i stop 
and restart the dev_appserver the data is not recognized and i have to 
repopulate the datastore. restarting it without the --high_replication flag 
works and the data is there.

anybody else noticed this issue? 

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



Re: [google-appengine] No more free lunch for poor people?

2011-07-07 Thread andreas schmid
no the always on option means that your app will always be 'warm' and wont 
start from scratch if it has no instances at the moment. that has nothing to do 
with having your app online or not.
im pretty sure nothing will change for your apps.


On Jul 7, 2011, at 10:40 PM, Visame wrote:

> Hi, I have just came across this article:
> http://blog.dantup.com/2011/05/google-app-engine-price-increases-bad-for-small-apps-and-no-more-free-scaling-o
> 
> I have several very SMALL sites on app engine, each of which has
> around 200 visitors per day. I havent paid a penny so far.
> 
> But according to this table:
> http://code.google.com/appengine/docs/billing.html#Billable_Quota_Unit_Cost
> 
> If has a "Always On" option which costs $0.30 per day, thats $9 per
> month.
> 
> Does that mean I have to pay at least $9 per month to keep my site
> online 24 hours a day?
> 
> If thats true, then here comes a disaster for poor people, Especially
> the poor Chinese people because Google Checkout refuses to accept
> credit card from China and Google Checkout is the only way to pay
> Google App Engine.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



Re: [google-appengine] filesystem like folder tree on appengine

2011-07-04 Thread andreas schmid
hey ravi,

sorry for the delay. i really need human readable paths so the using ids 
instead of names does not really work for my case and keeping all parents is 
also part of the app design so keeping only the direct parent does not work 
either.

thank you for your thoughts anyway!!

andreas
On Jul 2, 2011, at 3:49 PM, Ravi Sharma wrote:

> one last idea.make your http paths with keys
> instead of having
> /root/p1/p2/p3
> have something like this
> /1000/1001/1002/1003  (assuming root's id is 1000 and so on)
> 
> Now  you can query a folder using last node in this path 1003..forget about 
> who is his parent as 1003 can have only one parent, so even later you moved 
> into some other folder 1000/1001/1002/1004/1006/1007/1003, same query will 
> run and return same data with same amount of get (1 get)
> 
> Regardning previous suggestion:
> 
> I still wont keep all parents..i will just keep one parent above me  it 
> will make editing of my tree easier
> 
> Now its upto you  and your requiremtns and design..that how you will settle 
> between these constraint
> 1) Renaming/Copying/editing millions of file/directory problem
> 2) Traversing n levels for each request. 
> 
> you are creating  tree structure dont make each node know on which path it is 
> to make traversal faster.. if you do so editing of tree will be worst
> 
> and now i am out of ideas ..:)
> 
> Happy thinking..coding
> Ravi.
> 
> 
> On Sat, Jul 2, 2011 at 2:20 PM, andreas schmid  wrote:
> hi ravi,
> 
> i was not thinking to make the folder know about its children. files and 
> folders have a StringListProperty where i store all keys of the folders it 
> belongs to.
> 
> your approach is exactly what i wanted to avoid. i think its not the right 
> way to do this because the longer the path the longer the query and lets say 
> im at level 10, ill need to do 10 get() operations.
> 
> 
> On Jul 2, 2011, at 2:55 PM, Ravi Sharma wrote:
> 
>> One Suggestion
>> Instead of making a folder know his all child folder and files..may be try 
>> other way round by letting every folder/file know its parent...  also save 
>> depth of folder and files..
>> e.g.
>> Class File{
>> Key id,
>> String anme;
>> Key parentId,
>> int depth;
>> String type;//folder or file
>> }
>> 
>> and for path point of view i think you will show your folders like   
>> yoursite.com/root/parent1/parent2 
>> then on server for this request
>> 
>> first search a folder entry where name=root and depth =1
>> you will get only one record at this level you can not have more then one 
>> root folder
>> 
>> then search for folder entry where name=parent1 and depth =2 and parent 
>> id=
>> you will find only one entry at this depth with this parent
>> 
>> and same search for parent2
>> 
>> 
>> this way whenever you will have long path you will do few more queries... 
>> but renaming wont be a problem.. and copying content from one folder to 
>> another will be lot easier
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> On Sat, Jul 2, 2011 at 11:25 AM, andreas schmid  wrote:
>> hi,
>> 
>> I'm trying to build a filesystem like folder tree on appengine python but 
>> I'm not sure about the architecture of the app.
>> 
>> lets say i have folders and images. folders can contain other folders and 
>> images. building the relationship is not the problem
>> because every entity will have a StringListProperty with all the keys to the 
>> folders it belongs.
>> 
>> the folders will have a path which lets me know which folder contents to 
>> show on the site. like in a filesystem i would like to be
>> able to rename a folder. if i rename a folder all child folders of that 
>> folder will have to change path too.
>> 
>> is it possible to know a folders path based on its ancestors without writing 
>> the path into the folder entity and of course without fetching all folders 
>> in the path?
>> 
>> i would like to avoid this because if i change a folders name on the root 
>> level i will need to do an update operation on all subfolders to change
>> this path and if there will be for example 500+ subfolders in the tree it 
>> wont be an easy and quick operation.
>> 
>> would love to hear your suggestions.
>> 
>> thank you
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
&

Re: [google-appengine] filesystem like folder tree on appengine

2011-07-02 Thread andreas schmid
hi ravi,

i was not thinking to make the folder know about its children. files and 
folders have a StringListProperty where i store all keys of the folders it 
belongs to.

your approach is exactly what i wanted to avoid. i think its not the right way 
to do this because the longer the path the longer the query and lets say im at 
level 10, ill need to do 10 get() operations.


On Jul 2, 2011, at 2:55 PM, Ravi Sharma wrote:

> One Suggestion
> Instead of making a folder know his all child folder and files..may be try 
> other way round by letting every folder/file know its parent...  also save 
> depth of folder and files..
> e.g.
> Class File{
> Key id,
> String anme;
> Key parentId,
> int depth;
> String type;//folder or file
> }
> 
> and for path point of view i think you will show your folders like   
> yoursite.com/root/parent1/parent2 
> then on server for this request
> 
> first search a folder entry where name=root and depth =1
> you will get only one record at this level you can not have more then one 
> root folder
> 
> then search for folder entry where name=parent1 and depth =2 and parent 
> id=
> you will find only one entry at this depth with this parent
> 
> and same search for parent2
> 
> 
> this way whenever you will have long path you will do few more queries... but 
> renaming wont be a problem.. and copying content from one folder to 
> another will be lot easier
> 
> 
> 
> 
> 
> 
> 
> On Sat, Jul 2, 2011 at 11:25 AM, andreas schmid  wrote:
> hi,
> 
> I'm trying to build a filesystem like folder tree on appengine python but I'm 
> not sure about the architecture of the app.
> 
> lets say i have folders and images. folders can contain other folders and 
> images. building the relationship is not the problem
> because every entity will have a StringListProperty with all the keys to the 
> folders it belongs.
> 
> the folders will have a path which lets me know which folder contents to show 
> on the site. like in a filesystem i would like to be
> able to rename a folder. if i rename a folder all child folders of that 
> folder will have to change path too.
> 
> is it possible to know a folders path based on its ancestors without writing 
> the path into the folder entity and of course without fetching all folders in 
> the path?
> 
> i would like to avoid this because if i change a folders name on the root 
> level i will need to do an update operation on all subfolders to change
> this path and if there will be for example 500+ subfolders in the tree it 
> wont be an easy and quick operation.
> 
> would love to hear your suggestions.
> 
> thank you
> 
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

-- 
You 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] filesystem like folder tree on appengine

2011-07-02 Thread andreas schmid
hi,

I'm trying to build a filesystem like folder tree on appengine python but I'm 
not sure about the architecture of the app.

lets say i have folders and images. folders can contain other folders and 
images. building the relationship is not the problem
because every entity will have a StringListProperty with all the keys to the 
folders it belongs.

the folders will have a path which lets me know which folder contents to show 
on the site. like in a filesystem i would like to be
able to rename a folder. if i rename a folder all child folders of that folder 
will have to change path too.

is it possible to know a folders path based on its ancestors without writing 
the path into the folder entity and of course without fetching all folders in 
the path?

i would like to avoid this because if i change a folders name on the root level 
i will need to do an update operation on all subfolders to change 
this path and if there will be for example 500+ subfolders in the tree it wont 
be an easy and quick operation.

would love to hear your suggestions.

thank you

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



Re: [google-appengine] high replication datastore and 'old app' questions

2011-06-25 Thread andreas schmid
thank you robert for your answer.

my models looks something like this.

class BaseEntity(db.Polymodel)
# common properties among all other entities
# search function among all subclasses

class Document(BaseEntity)
# additional props and functions

class Asset(BaseEntity)
# additional props and functions

class Container(BaseEntity)
# container for Documents, Assets and Containers 

basically my app works as an Asset organizer lets say like a folder tree where 
a Container is the folder entity and contains Documents, Assets and other 
Containers based on hierarchical keywords/categories set on the Entities. that 
means the Containers do not (or at least not regularly) have references to the 
other entities it contains. so my queries absolutely need strong consitency. in 
this app there are also a lot of property changes within a short time so im a 
bit concerned about the 1 put() per second per entity group because it could 
happen that i might have more than one within a second. another thing is that i 
would like to make this app multitenant .

i would appreciate some hints for a high replication/multi tenant migration of 
my app.

andreas

On Jun 19, 2011, at 3:13 PM, Robert Kluin wrote:

> Hey Andreas,
>   It sounds like you're talking about the difference in your storage quota 
> used and the total size of entities in your datastore statistics. That 
> difference could be due to indexes, unfortunately indexes aren't included in 
> the datastore stats. Star issue 2740. 
> http://code.google.com/p/googleappengine/issues/detail?id=2740
> 
> Also, the counts and statistics aren't realtime. They may be delayed by a 
> day.  Your blobs and tasks also count against the stored data quota. 
> 
> The main spots you need to consider entity groups are queries.  By default, 
> db.gets by key are always strongly consistent.  You'll need to decide if your 
> queries need strong consistency or not. If you give us some details, I'm sure 
> someone will offer some design ideas. 
> 
> Robert
> 
> 
> 
> On Jun 18, 2011, at 6:28, andreas schmid  wrote:
> 
>> hi,
>> 
>> i wrote a python app before the high replication datastore was introduced 
>> and i don't use entity groups like in the tutorials for the hr datastore.
>> i deployed this app with some test data to a hr appid and i see that i have 
>> 1,5gb of stored data but only 0,4gb of high replication data. 
>> what does that exactly mean?
>> 
>> will it work as it did on the master slave but it will not use the hr 
>> datastore? will i have issues with inconsistent data?
>> 
>> thank you
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

-- 
You 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] issues if i switch to federated login

2011-06-18 Thread andreas schmid
hi,

if i switch to federated login i cant access my app with with the remote api 
shell and the datastore admin gives me a 404.
why is that?

thank you

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



[google-appengine] high replication datastore and 'old app' questions

2011-06-18 Thread andreas schmid
hi,

i wrote a python app before the high replication datastore was introduced and i 
don't use entity groups like in the tutorials for the hr datastore.
i deployed this app with some test data to a hr appid and i see that i have 
1,5gb of stored data but only 0,4gb of high replication data. 
what does that exactly mean?

will it work as it did on the master slave but it will not use the hr 
datastore? will i have issues with inconsistent data?

thank you

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



[google-appengine] oauth vs federated login

2011-06-09 Thread andreas schmid
hi,

after checking out the federated login way to authenticate users to my app i 
decided that its not the way i want to go because it does not really look 
trustful if people want for example log in with twitter and the log in page is 
the same as the google one with a google url and a twitter logo.

so now i want to try authorization via oauth. is there a generic oauth python 
package which supports twitter, google and facebook logins?

any suggestion or best practice is appreciated.

thank you

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



[google-appengine] how to differ between users logged in with federated login and users with a google cookie

2011-06-08 Thread andreas schmid
hi,

im wondering how i can differ between users that explicitly logged in into my 
app with federated login and users that for example have a google cookie in 
their browser.
users.get_current_user() is returning a user in both cases right?
or does a users.get_current_user() return only users logged into my app via 
federated identity ?

i need to create a user profile for users of my app but i don't want to create 
a profile for everybody that checks out my app and maybe has a cookie set.
how do i see if a user went through my apps login or not? 

thank you.

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



Re: [google-appengine] Re: Custom user authentication...

2011-06-08 Thread andreas schmid
hi,

atm Im implementing a custom authentication package based on tornado web 
server. 
i decided to write my own sessions class and include it into my authentication 
handlers and a few decorators to restrict some parts of my app.

i am still developing so im open to check out new stuff. 
tipfys auth package looks very nice but i would not like to use tipfy framework 
only for the auth part while all the rest is done with tornado web.

if anyone has some example of how to use these packages with webapp or tornado 
i would give it a shot. :)


On Jun 8, 2011, at 8:27 AM, Sylvain wrote:

> Hi,
> 
> Currently, I use an "old" Tipfy module auth :
> http://code.google.com/p/tipfy-ext-auth/source/browse/tipfy/ext/auth/model.py
> and protorpc for the JSON message.
> http://code.google.com/p/google-protorpc/
> 
> I've created a SessionMessage(session_id, user_id) that is sent in all
> JSON request/response.
> 
> For the auth part : tipfy is probably the best choice because it can
> use basic auth and FaceBook, Google,...
> 
> Sylvain
> 
> 
> On Jun 8, 1:26 pm, Felipe Meirelles  wrote:
>> Again, I use django+piston to serve Json with auth on Appengine. I'll take a
>> look at tipfy too (:
>> Anyway, what made me go for django is the fact that if I need to go out of
>> appengine for any reason I don't have to rewrite my app.
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> On Wed, Jun 8, 2011 at 8:20 AM, Pankaj Chawla  wrote:
>>> Thanks I will check it out. After I emailed, I was looking around and found
>>> tipfy(http://www.tipfy.org/). Its supposedly a framework specifically for
>>> GAE
>>> and it also supports multiple modes of authentication including datastore
>>> based.
>>> Anybody has used it and have good/bad things to say about it.
>> 
>>> BTW, my app on GAE will only be exposing a json based API that will be
>>> used by a custom client built in Qt for desktop and maybe later a native
>>> android/iPhone app. Are there any resources out there that talk about this
>>> especially with respect to authentication, sessions etc as the API
>>> should only respond to authenticated users within a specific session.
>>> I found a few pointers on stackoverflow.com but non that were extensive.
>> 
>>> Thanks
>>> Pankaj
>> 
>>> On Wed, Jun 8, 2011 at 4:38 PM, Felipe Meirelles  wrote:
>> 
 Actualy the django login system works realy fine on appengine.
>> 
 Take a look athttp://www.allbuttonspressed.com/and grab the
 djangoappengine project. They have "ported" both auth and admin module to
 appengine, as many other things in django.
 I use it on two commercial applications on appengine and it works great.
>> 
 On Wed, Jun 8, 2011 at 6:14 AM, Pankaj Chawla wrote:
>> 
> Hi
>> 
> I understand that google appengine supports user authentication using
> google
> accounts or openid or google app accounts. I am trying to build an
> application
> on appspot.com where the end user may not have google or openid accounts
> and
> hence need to support a custom user authentication with datastore based
> users.
> Before I decide to write one from scratch I was wondering if the user
> authentication
> of say Django or any other python framework can be leveraged.
>> 
> One option for me is to pick a google app account and then provide an
> interface to
> allow user creation for my custom domain like u...@example.com but I
> figured
> that beyond 10 users, Google Apps account charges $5 per user account.
> Thats
> seems to be a lot of money just for user creation as they wont be using
> the other
> add-ons that come with the Google App account.
>> 
> Thanks
> Pankaj
>> 
>>>  --
>>> You 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.
>> 
>> --
>> Att,
>> Felipe Meirelles.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



Re: [google-appengine] Multitenant Design and Indexes

2011-05-09 Thread andreas schmid
do i need to keep track of all the namespaces is there a way to check which 
namepaces are used in my datastore?

On May 9, 2011, at 9:25 AM, Robert Kluin wrote:

> Correct.  You'll have to run one query for every namespace.
> 
> 
> Robert
> 
> 
> 
> 
> 
> On Mon, May 9, 2011 at 09:24, andreas schmid  wrote:
>> does that mean that if i use namespaces i cant query over the whole 
>> datastore?
>> like if i want to do operations on all entities of a specific kind over all 
>> namespaces i can't do it?
>> 
>> On May 8, 2011, at 11:36 PM, Robert Kluin wrote:
>> 
>>> Hi Prateek,
>>>  Your app gets 200 indexes.  You can use as many namespaces as you'd
>>> like, any custom indexes defined are available to each namespace.
>>> Note that you can not query across namespaces, however.
>>> 
>>> 
>>> 
>>> Robert
>>> 
>>> 
>>> 
>>> 
>>> 
>>> On Sun, May 8, 2011 at 12:29, someone1  wrote:
>>>> Hello,
>>>> 
>>>> Are indexes between different namespaces shared or is a new index used
>>>> for each namespace? If it is the latter, then is the 200 maximum set
>>>> for the App or each namespace, or do separate indexes exists for each
>>>> namespace, but I am only billed for unique indexes?
>>>> 
>>>> 
>>>> Thanks,
>>>> Prateek
>>>> 
>>>> --
>>>> You received this message because you are subscribed to the Google Groups 
>>>> "Google App Engine" group.
>>>> To post to this group, send email to google-appengine@googlegroups.com.
>>>> To unsubscribe from this group, send email to 
>>>> google-appengine+unsubscr...@googlegroups.com.
>>>> For more options, visit this group at 
>>>> http://groups.google.com/group/google-appengine?hl=en.
>>>> 
>>>> 
>>> 
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "Google App Engine" group.
>>> To post to this group, send email to google-appengine@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> google-appengine+unsubscr...@googlegroups.com.
>>> For more options, visit this group at 
>>> http://groups.google.com/group/google-appengine?hl=en.
>>> 
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>> 
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



Re: [google-appengine] Multitenant Design and Indexes

2011-05-09 Thread andreas schmid
does that mean that if i use namespaces i cant query over the whole datastore?
like if i want to do operations on all entities of a specific kind over all 
namespaces i can't do it?

On May 8, 2011, at 11:36 PM, Robert Kluin wrote:

> Hi Prateek,
>  Your app gets 200 indexes.  You can use as many namespaces as you'd
> like, any custom indexes defined are available to each namespace.
> Note that you can not query across namespaces, however.
> 
> 
> 
> Robert
> 
> 
> 
> 
> 
> On Sun, May 8, 2011 at 12:29, someone1  wrote:
>> Hello,
>> 
>> Are indexes between different namespaces shared or is a new index used
>> for each namespace? If it is the latter, then is the 200 maximum set
>> for the App or each namespace, or do separate indexes exists for each
>> namespace, but I am only billed for unique indexes?
>> 
>> 
>> Thanks,
>> Prateek
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>> 
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



[google-appengine] Re: filter on missing properties ?!

2011-04-28 Thread andreas schmid
just found this but this was working for a while for me.
No Use of Filters That Match Entities Missing a Property
It is not possible to query for entities that are missing a given property. One 
alternative is to create a fixed (modeled) property with a default value of 
None, then create a filter for entities with None as the property value.

On Apr 28, 2011, at 3:45 PM, andreas schmid wrote:

> hi,
> 
> for a while i was able to filter on missing properties like:
> 
> MyModel.all().filter('title =', None).fetch(100)
> 
> but i just found out i cant any more... why? 
> is there another way to do 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] filter on missing properties ?!

2011-04-28 Thread andreas schmid
hi,

for a while i was able to filter on missing properties like:

MyModel.all().filter('title =', None).fetch(100)

but i just found out i cant any more... why? 
is there another way to do 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.



Re: [google-appengine] Re: communicate with channel over external python app?

2011-04-15 Thread andreas schmid
i see. thank you

On Apr 15, 2011, at 1:29 PM, Calvin wrote:

> Channel API is one-way, and currently only works when the recipient is a 
> JavaScript-capable web browser.
> 
> The XMPP api might be more what you're looking for:
> http://code.google.com/appengine/docs/python/xmpp/overview.html
> 
> Calvin
> p.s. Second person asking about using Channel API with a non-browser client 
> in a month.
> https://groups.google.com/forum/#!topic/google-appengine/fZeNkYIiKeU
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] communicate with channel over external python app?

2011-04-15 Thread andreas schmid
hi,

is it communicate with my gae app over the channel api with an other python 
app? both ways...

thx

-- 
You 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] channel api multiple connect to the same channel

2011-04-14 Thread andreas schmid
hi,

is it possible to connect multiple clients to the same channel and send an 
'updates message' to all of the connected clients with a single 
channel.send_message() call?
i would like to avoid to keep track of how many clients connect and i need to 
send messages only from the app to the client and not the other way around.

another thing...

in the docs it says: 
The Channel API creates a persistent connection between your application and 
Google servers, allowing your application to send messages to JavaScript 
clients in real time without the use of polling.

the browser makes a GET every 20ms to
http://localhost:8080/_ah/channel/dev?command=poll&channel=channel-1368834851-mychannel

isn't this polling too?

thank you

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



Re: [google-appengine] Re: The Image Service API needs help badly!

2011-03-24 Thread andreas schmid
ill use this topic to put some attention to this issue:
http://code.google.com/p/googleappengine/issues/detail?id=4775


On Mar 24, 2011, at 1:13 AM, Ikai Lan (Google) wrote:

> Hi Brandon,
> 
> Thanks for the feedback. We're not currently exploring many improvements to 
> the Images API. In the past, users have been pushing these sorts of jobs to a 
> VPS with a tool like ImageMagick. 
> 
> We'll be looking at ways to make it easier to integrate App Engine dynamic 
> instances/task queues with outside services (likely via REST).
> 
> Ikai Lan 
> Developer Programs Engineer, Google App Engine
> Blog: http://googleappengine.blogspot.com 
> Twitter: http://twitter.com/app_engine
> Reddit: http://www.reddit.com/r/appengine
> 
> 
> 
> On Mon, Mar 21, 2011 at 8:32 AM, Darien Caldwell  
> wrote:
> On Mar 20, 4:12 pm, "Brandon Wirtz"  wrote:
> > Your "issue" is mostly a rant.  You will get better results posting "I can't
> > figure out how to do X, I have Tried Y, but it return Z. Please help"
> 
> I guess one man's rant is another man's constructive feedback. All I
> see is someone listing the things they wish the service would do.
> That's hardly a rant.
> 
> IF you want to see a rant, just get me started on how people seem to
> think they need to control how others express themselves on message
> boards, that they don't even own or operate. :)
> 
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



Re: [google-appengine] how to undeploy my app

2011-03-18 Thread andreas schmid
what do you mean with undeploy?
if u dont need it you could delete it.
otherwise make an app that shows a static html page and make it the default app.


On Mar 18, 2011, at 3:20 PM, tubin gen wrote:

> I dont need my app for some time , so I want to undeploy the app
> please tell me how undeploy an 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.
> 

-- 
You 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: ApplicationError: 5 ??

2011-03-12 Thread andreas schmid
hi,

in my app i have to request content from itself and most of my errors are 
'DownloadError: ApplicationError: 5' 
what does that exactly mean? what caused he error? i cant imagine that my 
request needs more than 10 seconds to fetch the result so it has to be 
something else.

thanks

content = urlfetch.fetch(url, deadline=10).content
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/api/urlfetch.py", 
line 245, in fetch
return rpc.get_result()
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
 line 534, in get_result
return self.__get_result_hook(self)
  File 
"/base/python_runtime/python_lib/versions/1/google/appengine/api/urlfetch.py", 
line 338, in _get_fetch_result
raise DownloadError(str(err))
DownloadError: ApplicationError: 5

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



Re: [google-appengine] Re: Deleting Data Really Expensive!

2011-03-10 Thread andreas schmid
at this point i would delete the app and create a new one at no cost!

On Mar 10, 2011, at 3:25 AM, Robert Kluin wrote:

> I've tried using the datastore admin to delete some very large
> datasets as well.  The solution Bemmu is using will be *significantly*
> faster, and from my experience, should be more cost effective.
> 
> I'm also eager to hear what Bemmu thinks after the delete has ran for a while.
> 
> 
> 
> Robert
> 
> 
> 
> 
> 
> 
> On Wed, Mar 9, 2011 at 21:20, David Mora  wrote:
>> hmmm, well Wesley's option B was merely because the batch operations i
>> think. One nice feature about the map reduce is the mutation pool which
>> handles the logic of batching an operation while you yield thru iterations.
>> I guess in a big dataset like yours make sense (the model retrieval vs key
>> only). Anyways, interested case - i'll love to see where it ends :)
>> 
>> On 9 March 2011 19:26, Simon Knott  wrote:
>>> 
>>> I've been given the impression from these forums that the datastore admin
>>> tool is so expensive for exactly the reason you've stated David - it loads
>>> each entity by key before deletion, whereas deleting purely on keys is much
>>> cheaper CPU-wise as you don't need to bother with the retrieval of the
>>> entire entity to carry out the delete.
>>> 
>>> --
>>> You 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.
>> 
>> 
>> 
>> --
>> http://about.me/david.mora
>> 
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



Re: [google-appengine] fetch limit?

2011-03-10 Thread andreas schmid
hey robert,

thank you for the clarification.

On Mar 10, 2011, at 3:16 AM, Robert Kluin wrote:

> Hey Andreas,
>  I can easily fetch several thousand entities (over 5,000) in a
> single batch -- within a script.  The issue is probably because you're
> doing the fetch from the remote api, all of the entities have to be
> transferred to the client.
> 
>  You might want fetch smaller batches and use cursors.
>
> http://code.google.com/appengine/docs/python/datastore/queryclass.html#Query_cursor
> 
> 
> Robert
> 
> 
> 
> 
> 
> On Wed, Mar 9, 2011 at 12:23, andreas schmid  wrote:
>> hi,
>> 
>> is there still a fetch limit somewhere?
>> i cant really fetch more than 2100 items... if i try to do that i dont get 
>> any result in the remote api and i have to kill the query.
>> why is that?
>> ... 2100 is a pretty random number but im seeing this issue on all my apps.
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>> 
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



[google-appengine] fetch limit?

2011-03-09 Thread andreas schmid
hi,

is there still a fetch limit somewhere?
i cant really fetch more than 2100 items... if i try to do that i dont get any 
result in the remote api and i have to kill the query. 
why is that? 
... 2100 is a pretty random number but im seeing this issue on all my apps.

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



Re: [google-appengine] Error in importing blobstore

2011-03-08 Thread andreas schmid
these random import issues are related to the latest issues. some of my apps 
are back to normal while others are still having weird import problems.
there is nothing else to do than wait and hope right now

On Mar 8, 2011, at 4:17 PM, jay wrote:

> Hi 
> 
> An application that has been running fine .. is suddenly giving me a server 
> 500 error.
> No change has been made to the application. When I look at the logs - it is 
> pointing to
> a line which is importing the blobstore.
> 
> from google.appengine.ext import blobstore
> 
> 1) Can you please tell me what is happening to my app? 
> http://rzoozx.appspot.com?
> 2) Is this related to a runtime issue that is being worked on now? or Is this 
> my 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.

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



Re: [google-appengine] Re: Is app engine down?

2011-03-08 Thread andreas schmid
its really not cool.
clients are getting angry...

On Mar 8, 2011, at 3:21 PM, Ludvig Ericson wrote:

> On Mar 8, 3:03 pm, Scott  wrote:
>> The email recently sent out said things were going normally for the
>> past half hour, but my app is still generating instances throwing
>> these ImportErrors. Application: skrit
> 
> Also not fixed for my application, :
> cannot import name blobstore
> 
> appid: din-skolmat
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



[google-appengine] datastore inconsistency on quick consecutive puts?

2011-03-07 Thread andreas schmid
hi,

im experiencing some unexpected results with the datastore. ill try to simplify 
my problem:

im using the python sdk.
lets say i have a model with a uuid as the unique identifier which is a 
uuid.uuid1()

with a script on my machine i push entities to my app on GAE which creates or 
updates the entity based on what i push.
it can happen that some entities are pushed twice in a short period of time 
(less than a second) but my problem is that sometimes it creates it twice. 

my model looks something like this:

class MyEntity(db.Model):
   uuid = db.StringProperty()
   

@classmethod
def by_uuid(cls, uuid):
   myentity = cls.all().filter('uuid =', uuid).fetch(5)
   return myentity

in the post function of my handler i first check if the entity already exists 
with the by_uuid() function so i update the properties otherwise i create a new 
one.
is it possible that because of more than one post to the same url (the same 
uuid) the datastore is not synched between all datacenters and by hitting 
another machine this one does not know about the entity yet?

thx

-- 
You 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] timeouts, timeouts and more timeouts!!!

2011-02-25 Thread andreas schmid
hey guys,

whats going on right now? its since a few hours that i have huge issues with 
even with a simple datastore operation like deleting an entity...
any explaination for that?


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



Re: [google-appengine] Re: remote api and deferred handler mapping in yaml file

2011-02-04 Thread andreas schmid
what i would like is to put my 'lib' in my  project into the sys.path when i 
log into remote_api. 
right now im doing it manually. 

On Feb 3, 2011, at 9:24 PM, Tim Hoffman wrote:

> Oops my previous email should have read deferred handler not the remote_api.
> 
> You shouldn't need to manipulate sys.path for remote_api but it is very 
> likely you will need to for 
> app.yaml entry and deferred handler.
> 
> 
> - url: /_ah/queue/deferred
>   script: qtrack_deferred_handler.py
>   login: admin
> 
> 
> 
> import logging
> logging.getLogger().setLevel(logging.INFO)
> 
> from google.appengine.ext import deferred
> from google.appengine.ext.webapp.util import run_wsgi_app
> import site
> 
> # Add each new site-packages directory.
> 
> site.addsitedir('lib')
> 
> def main():
>   import qtrack.models
>   qtrack.models.initialise()
>   run_wsgi_app(deferred.application)
> 
> 
> if __name__ == "__main__":
>   main()
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] Re: remote api and deferred handler mapping in yaml file

2011-02-03 Thread andreas schmid
ok thank you that makes sense.
how can i customize the the remote api to put a subdirectory in sys.path 
automatically. or better which file do i have to customize?
i tried with google/appengine/ext/remote_api/handler.py but it did not work as 
expected

On Feb 1, 2011, at 11:34 AM, andreas schmid wrote:

> hi,
> 
> do i still need these entries in my app.yaml?
> 
> - url: /remote_api
>  script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
>  login: admin
> 
> - url: /_ah/queue/deferred
>  script: $PYTHON_LIB/google/appengine/ext/deferred/handler.py
>  login: admin
> 
> 
> im uring the remote_api: on in the builtins definition. so i guess i dont 
> need the first entry any more. 
> but what about the deferred handler?

-- 
You 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] remote api and deferred handler mapping in yaml file

2011-02-01 Thread andreas schmid
hi,

do i still need these entries in my app.yaml?

- url: /remote_api
  script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
  login: admin

- url: /_ah/queue/deferred
  script: $PYTHON_LIB/google/appengine/ext/deferred/handler.py
  login: admin


im uring the remote_api: on in the builtins definition. so i guess i dont need 
the first entry any more. 
but what about the deferred handler?

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



Re: [google-appengine] BlobInfo objects and unittests

2010-12-09 Thread andreas schmid
hi ikai,

thx for the link. im using python but i guess its the same. ill try it out 
tomorrow.


On Dec 9, 2010, at 6:16 PM, Ikai Lan (Google) wrote:

> You should be able to. Here's the Javadoc for BlobInfo:
> 
> http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/blobstore/BlobInfo.html
> 
> Just use the standard constructor.
> 
> --
> Ikai Lan 
> Developer Programs Engineer, Google App Engine
> Blogger: http://googleappengine.blogspot.com
> Reddit: http://www.reddit.com/r/appengine
> Twitter: http://twitter.com/app_engine
> 
> 
> 
> On Thu, Dec 9, 2010 at 1:07 PM, andreas schmid  wrote:
> hi,
> 
> i need to test my app and i need to have BlobInfo objects to test my 
> functions.
> is it possible to create a BlobInfo object 'manually' to add it to attach it 
> to my entity with the BlobReferenceProperty()?
> 
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] BlobInfo objects and unittests

2010-12-09 Thread andreas schmid
hi,

i need to test my app and i need to have BlobInfo objects to test my functions. 
is it possible to create a BlobInfo object 'manually' to add it to attach it to 
my entity with the BlobReferenceProperty()?

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



[google-appengine] nosegae and blobstore?

2010-12-07 Thread andreas schmid
hi,

does anyone know if the blobstore is supported by nosegae?
do i need to encode the file in some way to store it as a blob?

thank you

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



[google-appengine] deleting the blobstore

2010-11-08 Thread andreas schmid
hi,

is there a way to delete all blobs in the blobstore without the need to do it 
manually batch by batch?

it would be a nice feature on the side of the datastore_admin.

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



Re: [google-appengine] Two equality filters on the same property + others equalities failing

2010-11-07 Thread andreas schmid
as long as you filter on the same property you don't need an explicit index 
because it uses the automatic indexes.
if you filter on 2+ different properties you need a custom index.

if you make this query on you dev environment it should add it to the 
index.yaml and after redeploying your app it get's build and you can make this 
query online too.
 
On Nov 7, 2010, at 2:13 AM, ZS wrote:

> I have a query like
> a=x AND a=y AND b=z AND c=t
> and it is failing saying there is no suitable index. I thought all
> equalities is always allowed? Does that not apply if there are two
> equalities on the same property? Yet a=x AND a=y AND b=z  works ok so
> what is the rule?
> 
> Thanks
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



Re: [google-appengine] queues and unique task names

2010-11-05 Thread andreas schmid
hi robert,

even with your approach i would need to keep track of what already is in the 
queue.

lets say the tasks are deleting (or even updating) the cache on the occurrence 
of a specific event because the cached values wouldnt
reflect the actual datastore situation.  

if 50 events happen within one minute without naming them i would need to add 
50 tasks which are doing exacltly the same stuff.
the events are independent from each other and not regular in time. maybe for 
10h no event happens and then there are 10 concurrent within a second.

setting a value in the datastore is too expensive and not worth. doing it in 
memcache would be fast but not reliable enough.


On Nov 5, 2010, at 12:03 AM, Robert Kluin wrote:

> Hi Andreas,
>  So you are trying to keep a task from simultaneously executing
> multiple times?  One thing to note is that, even with names, it is
> possible for a task to simultaneously run more than once.
> 
>  If possible I would suggest 'keying' the task names.  So if you are
> currently trying to start a task named 'do-some-stuff', the next run
> would be 'do-some-stuff-2', and so on.  You can tell if a task is
> sitting in the queue versus already run by the exception raised:
> TaskAlreadyExists indicates it is on the queue, TombstonedTask
> indicates it has already run.
> http://code.google.com/appengine/docs/python/taskqueue/exceptions.html
> 
>  Without knowing what / how the tasks are generated it is hard to
> suggest much more.
> 
> 
> 
> 
> Robert
> 
> 
> 
> 
> On Wed, Nov 3, 2010 at 08:11, andreas schmid  wrote:
>> my usecase is:
>> - add a task in the queue, its not in there yet so it gets added
>> - another process needs to add a task with the same logic, it finds the task 
>> (which didnt run) already in queue and returns.
>> - the task runs.
>> - another process adds this task again
>> 
>> what i want to achieve is to avoid having a task twice in a queue. i tried 
>> setting names based on datetime objects but but the only thing i get is that 
>> i cant add a task the same task the same minute or another time period.
>> 
>> 
>> On Nov 2, 2010, at 11:38 PM, Robert Kluin wrote:
>> 
>>> It is good that it is not possible.  Otherwise you could not use this
>>> feature to prevent fork bombs and you would need to implement the same
>>> thing yourself.
>>> 
>>> If you do not need that feature, do not name the task.  Or, name the
>>> task but if you get a tomb-stoned task error, increment the task's
>>> name and try to enqueue it again.
>>> 
>>> 
>>> 
>>> Robert
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> On Tue, Nov 2, 2010 at 10:49, andreas schmid  wrote:
>>>> hi,
>>>> 
>>>> 
>>>> i don't really understand why a task name has to be unique forever on my 
>>>> app.
>>>> i think it would be a lot better if a task can be add to a queue if its 
>>>> not already in there and as soon as the task is done another process could 
>>>> add it again with the same name.
>>>> 
>>>> or am i doing something wrong in my app and this is possible?
>>>> 
>>>> --
>>>> You received this message because you are subscribed to the Google Groups 
>>>> "Google App Engine" group.
>>>> To post to this group, send email to google-appeng...@googlegroups.com.
>>>> To unsubscribe from this group, send email to 
>>>> google-appengine+unsubscr...@googlegroups.com.
>>>> For more options, visit this group at 
>>>> http://groups.google.com/group/google-appengine?hl=en.
>>>> 
>>>> 
>>> 
>>> --
>>> You received this message because you are subscribed to the Google Groups 
>>> "Google App Engine" group.
>>> To post to this group, send email to google-appeng...@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> google-appengine+unsubscr...@googlegroups.com.
>>> For more options, visit this group at 
>>> http://groups.google.com/group/google-appengine?hl=en.
>>> 
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appeng...@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>> 
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



Re: [google-appengine] queues and unique task names

2010-11-03 Thread andreas schmid
my usecase is:
- add a task in the queue, its not in there yet so it gets added
- another process needs to add a task with the same logic, it finds the task 
(which didnt run) already in queue and returns.
- the task runs.
- another process adds this task again

what i want to achieve is to avoid having a task twice in a queue. i tried 
setting names based on datetime objects but but the only thing i get is that i 
cant add a task the same task the same minute or another time period.


On Nov 2, 2010, at 11:38 PM, Robert Kluin wrote:

> It is good that it is not possible.  Otherwise you could not use this
> feature to prevent fork bombs and you would need to implement the same
> thing yourself.
> 
> If you do not need that feature, do not name the task.  Or, name the
> task but if you get a tomb-stoned task error, increment the task's
> name and try to enqueue it again.
> 
> 
> 
> Robert
> 
> 
> 
> 
> 
> 
> On Tue, Nov 2, 2010 at 10:49, andreas schmid  wrote:
>> hi,
>> 
>> 
>> i don't really understand why a task name has to be unique forever on my app.
>> i think it would be a lot better if a task can be add to a queue if its not 
>> already in there and as soon as the task is done another process could add 
>> it again with the same name.
>> 
>> or am i doing something wrong in my app and this is possible?
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To post to this group, send email to google-appeng...@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>> 
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
> 

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



[google-appengine] queues and unique task names

2010-11-02 Thread andreas schmid
hi,


i don't really understand why a task name has to be unique forever on my app.
i think it would be a lot better if a task can be add to a queue if its not 
already in there and as soon as the task is done another process could add it 
again with the same name. 

or am i doing something wrong in my app and this is possible?

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



  1   2   >