[google-appengine] Re: Web site completely down + appengine console not accessible

2012-10-26 Thread Santiago
All our apps are currently down! :( On Friday, October 26, 2012 12:37:48 PM UTC-2, Olivier Truemat wrote: > > Hi, > > Just had my web site totally not accessible. Also the appengine console is > not accessible anymore. > > appid is francecorentstudents.com > > Could someone from Google have a loo

[google-appengine] Re: webapp2 versus django on GAE

2012-12-06 Thread Santiago
Well. I was considering to migrate my Django app to webapp2. How are you using Django? Djangoappengine? Django-nonrel? which version? On Tuesday, December 4, 2012 6:35:24 PM UTC-2, Emmanuel Mayssat wrote: > > GAE can be used with webapp2 or django. > I have been using webapp2 for a short while. >

[google-appengine] Re: Channel API Javascript error Uncaught TypeError: Cannot call method 'ab' of null

2013-01-14 Thread Santiago
Can you show us your code to have a better explanation of the context? Thanks On Saturday, January 12, 2013 5:44:49 PM UTC-2, Paulo Daniel Taylor de Carvalho wrote: > > > It just loops forever and this it what I can see in the Javascript console. > This error happens after a reconnect when I try

[google-appengine] Task Queue - Transient Errors

2013-04-18 Thread Santiago
Hi everyone, In the last days I've been seeing on my application a lot of Transient Errors when I try to use task queues. is this happening to anyone else? do you know what actually happen when this error is raised? all i get from GAE documentation is "There was a transient error while accessing

[google-appengine] Re: Task Queue - Transient Errors

2013-04-24 Thread Santiago
Thanks Vinny, It's not happening anymore but to mitigate that next time it happens I will try with your strategy, On Friday, April 19, 2013 3:01:03 PM UTC-3, Vinny P wrote: > > Hello Santiago, > > Transient errors happen sometimes, there's not a whole lot you can do to &g

[google-appengine] any SOAP capable client for GAE/Python2.7?

2013-07-05 Thread Santiago
Hi guys, I have to integrate(consume) a SOAP XML API... :( Is any good client I can use from GAE/Python2.7 to do this work? Any good/bad experiences? I've looking for a client but I haven't seen anything concrete. Some people mention SUDS but still don't know if this works well on GAE. Any h

[google-appengine] Unwanted errors in my application's admin console

2014-01-21 Thread Santiago
Hi guys, I'm using digest authentication for my application in Python: This is after client's first request, the client gets back a nonce from the server with a 401 authentication request... I'm pretty sure these logs treat this 401 as an error and all I can see in my error admin console is t

[google-appengine] Index "serving" not true

2009-04-30 Thread Santiago
Hi, Yesterday I received this error in a function that queried the datastore Traceback (most recent call last): File "/base/python_lib/versions/1/google/appengine/ext/webapp/ __init__.py", line 501, in __call__ handler.get(*groups) File "/base/data/home/apps/taksee-2/1.333100565109818741

[google-appengine] Get datastore element by id

2011-04-20 Thread Santiago Poli
Hello everyone. I have a problem when trying to find a single element by id. The entity class is this: @PersistenceCapable(identityType = IdentityType.APPLICATION) public class Test{ @PrimaryKey private String name; ..and so on. In this case, the value "name" is acting like an id. I'm u

[google-appengine] Is Hierarchical database model coming back?

2011-06-26 Thread Santiago Basulto
After working with the DataStore for a while, for consiestency and transaction issues, i started to model all my entities within groups with all the "ancestors thing". It works well for now. I don't have a big data model. But, thinking a little about it, it clearly is similar to the well known

[google-appengine] Cannot add "Always on"

2011-07-11 Thread Santiago Lema
I have been waiting for a few days and I thought this would go away but I am unable to make billing changes to my app because of this message: "A charge has been issued to the billing administrator. (You will be able to make changes to your budget settings again once the outstanding payment is pro

[google-appengine] Re: GAE starting unnecessary instances

2011-07-26 Thread Santiago Lema
To keep things simple, is this issue worth worrying about before the new billing model becomes active ? Or will everything be so different that the stuff we see know will be different then ? My instances: https://skitch.com/smalltech/fcyfd/instances-smallte.ch Site: smallte.ch (on http://websmal

[google-appengine] Unable to Login

2011-07-27 Thread Kelvin Santiago
So today at 8:42 PM CST I'm trying to login into the appengine dashboard and I'm unable to do so. I loging and all I'm getting is an error saying " 302 Moved The document has moved here." Anyone having this same issue? I have tried Chrome, IE, Opera. Chrome says too many redirects, IE just s

[google-appengine] How to use __init__ with models?

2011-08-24 Thread Santiago Basulto
Hello, i want to do some validation before my models start. Something like class NegativeDoorNumber(BaseException): pass class Car(db.Model): doors = db.IntegerPropery(required=True,default=4) def __init__(self,doors=4,**kwds): if(doors<0): raise NegativeDoorNumber("Hey

Re: [google-appengine] How to use __init__ with models?

2011-08-24 Thread Santiago Basulto
Thank you for your answer Yanzheng. Are you saying something like this?: class CarFactory(): def getNewCar(self,doors=4): if doors<0: raise ... cf = CarFactory() car = cf.getNewCar(doors = -1) -- You received this message because you are subscribed to the Google Groups "Googl

Re: [google-appengine] How to use __init__ with models?

2011-08-24 Thread Santiago Basulto
I was doing that. But it seems weird. I'd like to have everything in one piece. I'd like to make my models "intelligent pieces" not just "data holders". You know what i mean? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To view this di

Re: [google-appengine] How to use __init__ with models?

2011-08-24 Thread Santiago Basulto
Thank you very much brother! -- 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/-/ZC9Bkael0JYJ. To post to this group, send email to google-appengine@go

Re: [google-appengine] How to use __init__ with models?

2011-08-24 Thread Santiago Basulto
google.com/d/msg/google-appengine/-/KqHkF0NXxhgJ. > To post to this group, send email to google-appengine@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.c

[google-appengine] Using AppEngine without a framework

2011-08-28 Thread Santiago Basulto
Hello People, i know this question might sound idiot, but i don't know where to start. When i use some kind of framework, it generally uses some kind of WSGI interface and in my actions i get requests, responses, and those kind of things. For example, with webapp framework: def sayHello(self):

Re: [google-appengine] Re: Using AppEngine without a framework

2011-08-28 Thread Santiago Basulto
Thank you Greg, but in the getting started guide it uses webapp framework. I'm trying to get information from the request without using any framework. 2011/8/29 Greg : > http://code.google.com/appengine/docs/python/gettingstarted/ > > On Aug 29, 12:33 pm, Santiago Basulto >

[google-appengine] put_async doesn't work (at least in the development server)

2011-08-30 Thread Santiago Basulto
Here is some code that can show you what i'm trying to do: e = Employee(key_name = 'some_key_name',name='John Bonham') db.put_async(e) If i do it, and after some time i try to get it e = Employee.get_by_key_name('some_key_name') # e is None It doesn't work. e is None! But, if i do this: e =

[google-appengine] New pricing will cost me over 500 $ monthly for my three sites... I am floored.

2011-08-31 Thread Santiago Lema
I have just seen the estimated for the new pricing model and to be honest: I am horrified. I have spent a lot of time learning python and the AppEngine platform because it seemed like a cheap and trustable solution. I agree it was almost too cheap but a 17x increase is really a bit much for me. My

[google-appengine] Re: New pricing will cost me over 500 $ monthly for my three sites... I am floored.

2011-08-31 Thread Santiago Lema
Update: I disabled "always on", set minimal latency to 60ms and now I seem to have much less instances. My three websites now seem to have each two instances. I am not sure if my changes have anything to do with this. My iPhone stats website (by *far* the one with more traffic) now seems to be st

[google-appengine] Re: New pricing will cost me over 500 $ monthly for my three sites... I am floored.

2011-08-31 Thread Santiago Lema
Actually I spoke/wrote too fast. My smallte.ch website now has closed its useless second instance. Also my 36$/month numbers were wrong since obviously the first instance is free. If it remains like that it could be tolerable but I am still baffled by the numbers I saw in my history. -- You rec

[google-appengine] Re: UNBELIEVABLE NEW BILLING!! Google Please respond...

2011-08-31 Thread Santiago Lema
As I posted in another thread I am seeing an enormous increase in the comparison in the billing history too. However it seems most of it was based on my numerous idle instances. Note that I disabled 'always' on to remove three mostly idle instances and increased tolerable latency to 60 ms. Accordi

[google-appengine] Re: New pricing will cost me over 500 $ monthly for my three sites... I am floored.

2011-08-31 Thread Santiago Lema
When I started learning about AppEngine Python was obviously the preferred language (features were being added to Python first)... so I learned Python. Now it seems I made the wrong choice (especially since I was already comfortable with Java). Instance-based pricing is really killing me here. I d

[google-appengine] Re: New pricing -- too soon.

2011-08-31 Thread Santiago Lema
What can I say? +1. I am not sure how we're supposed to rewrite our apps for Python concurrency (or what that implies). All I know is I probably won't have the time to do so. Anyway I think it'll always be cat and mouse with AppEngine. I rewrote my app to use a maximum of memcache in order to avoi

[google-appengine] Re: Keep it short: Who is forced to leave GAE?

2011-08-31 Thread Santiago Lema
Same here. Unless Python concurrency is so magical it cancels the instance billing effect I'll have to move everything I can move away. Or just turn it off because the indirect platform locking is rather efficient. I am not in the same league as those who pay thousands of dollars per month but rat

[google-appengine] Cost of AppEngine instances in new pricing as compared to hardware

2011-09-01 Thread Santiago Lema
Can anyone from Google explain the following? We're already paying for DataStore and Bandwidth separately so I think it's fair to say that an instance is the equivalent of a chunk of CPU+ RAM. That is fine to pay for them but why an instance is so incredibly expensive for 2011 ? At normal pricing

[google-appengine] How I reduced my AppEngine costs despite new pricing

2011-09-01 Thread Santiago Lema
I detailed on my blog how using simplificative optimization can compensate for the unbelievable price increase. As you can see there wasn't any good reason to worry. As usual we developers were stupid and Google in its almighty goodness was just misunderstood. Adapting the code appropriately will

[google-appengine] Re: Keep it short: Who is forced to leave GAE?

2011-09-01 Thread Santiago Lema
If anything this clearly shows one thing: most of us came here to avoid doing system admin but now we're just at the mercy of random policy changes and have to keep optimizing in a different way each way pricing rules changes (or pay heavily). I disabled all costly services (which thankfully weren

[google-appengine] Re: Estimated Charges Under New Pricing

2011-09-01 Thread Santiago Lema
That's vendor lock-in at work. We're seriously considering tolerating 200ms response time for a website in 2011 in order to keep the status- quo. Sad. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to goo

[google-appengine] Re: How I reduced my AppEngine costs despite new pricing

2011-09-01 Thread Santiago Lema
Joke aside removing "always on" instances (that were sitting idle) and upping the latency a bit to 60ms did move my public website (smallte.ch) from a ridiculous 6 instances to between 1 and 2, effectively making it acceptable. When it comes to my iPhone stats websites it seemed to reduce the numb

[google-appengine] Re: Googlebot Spawning New Instances

2011-09-01 Thread Santiago Lema
If they keep doing this often enough to keep the instances up it might be a worthy business model! 6 instances * 0.08 *24 hours *30 days = 345 USD / month. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email t

[google-appengine] Scheduler keeps making too many instances

2011-09-05 Thread Santiago Lema
Following the huge price increase I have been forced to immediately disable my iPhone stats website (details here: http://i.smte.ch/b/35001 ) . I set the pending latency to 300 ms. (yes three hundred ms) and the max idle instances to ONE. Yet when I look at my instances I see three instances: htt

[google-appengine] Re: Scheduler keeps making too many instances

2011-09-05 Thread Santiago Lema
PS: Just in case someone from Google looks at my app (smalltechads.appspot.com) I have just uploaded a new version that replaces the /log file with a static file. Does serving static files use instances as well or is this different? -- You received this message because you are subscribed to the

[google-appengine] Using memcache might be free, but it's costing you money with instance pricing! Use instance caches if possible.

2011-09-08 Thread Santiago Lema
I recently complained that the new pricing forced me to take down my own stats site. Also I noted that my minimalist app used to serve horoscopes to my iPhone app went from about 9 $ to about 177$ per month. Since this app basically serves semi-static content (it's updated once a day) I used AppEn

[google-appengine] Re: Using memcache might be free, but it's costing you money with instance pricing! Use instance caches if possible.

2011-09-09 Thread Santiago Lema
Thanks a lot! I'll definitely try this. On 9 sep, 03:40, Tammo Freese wrote: > HiSantiago, > > On Sep 8, 9:01 pm,SantiagoLema wrote: > > > Since this app basically serves semi-static content (it's updated once > > a day) I used AppEngine's memcache to serve every request. > [...] > > So I just ad

[google-appengine] Re: Using memcache might be free, but it's costing you money with instance pricing! Use instance caches if possible.

2011-09-09 Thread Santiago Lema
Tammo, I thought you might like to know I quoted you in my fresh blog post on this matter: http://www.smallte.ch/blog-read_fr_34003.html -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@

[google-appengine] Re: Using memcache might be free, but it's costing you money with instance pricing! Use instance caches if possible.

2011-09-09 Thread Santiago Lema
Ok, I have just tested it and it seems to work beautifully (at least for all the requests that didn't include a random value!). -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegrou

[google-appengine] Getting info on current front-end instance

2011-10-28 Thread Santiago Lema
I cannot find references to this anywhere so I don't know if it's possible. Is there a way to get basic info on the running instance? Typically: - the instance age - some sort of identifier -- You received this message because you are subscribed to the Google Groups "Google App Engine" group.

[google-appengine] Setting a deadline for requests on a particular URL

2012-10-26 Thread Santiago Lema
Today's downtime has totally exploded my budget limit. Because requests that currently loaded in 0.3 seconds now took over 6 minutes, the number of instances exploded and depleted my quota in minutes. Can I set a 10 second deadline for any request? If it takes more than that I would like it to

Re: [google-appengine] How to best detect Google downtime from within GAE app and how to handle it?

2012-10-26 Thread Santiago Lema
Any idea how you would handle requests staying in pending for 24 minutes? This happened to me today: https://www.evernote.com/shard/s8/sh/ad3b58bf-9338-4cf7-aa35-a255d96aebbc/4b90815ba1c8cd2080b157a54d714ae0 This server gets about 7 to 12 request per second and usually handles them in ~200ms. Bu

[google-appengine] Re: cannot run app engine

2013-01-31 Thread Joyce Santiago
WHERE I CAN FIND THE TERMINAL? HELP ME GUYS! THIS IS MY FIRST TO CREATE APPS. On Thursday, January 24, 2013 1:30:27 PM UTC-8, Fred Mort wrote: > > I am trying to create an app engine for an app I made in app inventor. > > i have googleappengine 1.7.4 and python 2.7.2.5 > > I can not run the comma

[google-appengine] AppEngine Image API : webP doesn't compress alpha enough

2014-06-07 Thread Santiago Lema
com.google.appengine.api.images.OutputSettings only has support for one setQuality parameter. This works for the RGB image quality but when you add an alpha channel it seems to always use lossless compression. So as soon as I add an alpha channel to a webp image the size explodes. https://devel

[google-appengine] How to simulate app engine environment for a python3 application locally

2019-02-12 Thread Santiago Del Valle
I'm creating a micro service that should run on a python 3 standard environment of Google App Engine. I want to run it in a simulated Google app engine environment. In the python2 standard environment you could do something like: dev_appserver.py [PATH_TO_YOUR_APP] > but as I understand this

[google-appengine] App Engine APIs recommended replacement for python 3

2019-04-22 Thread Santiago Del Valle
I was browsing the documentation about python 3 and python 2 standard environment differences, because we are migrating an app that uses python 2 and communicates with other services on python 2. https://cloud.google.com/appengine/docs/standard/python3/python-differences The documentation does

[google-appengine] X-Appengine-Inbound-Appid not being set in python3 standard environment

2019-06-04 Thread Santiago Del Valle
I did a migration of a python 2 app in the standard environment to python 3. One of the things that changed was how we communicated with other services. For instance we communicated to another service like this: urlfetch.create_rpc(deadline=60) urlfetch.make_fetch_call(rpc, url) And in the othe

[google-appengine] Header names after september 30 (Load balancers)

2019-08-13 Thread Santiago Del Valle
We got this email After September 30, HTTP(S) Load Balancers will convert HTTP/1.1 header names to lowercase in the request and response directions; header values will not be affected. As header names are case-insensitive, this change will not affect clients and servers that follow the HTTP/1.

[google-appengine] Cloud dataflow python3 job not solving dependencies

2019-09-03 Thread Santiago Del Valle
I have a simple apache beam project using python 3 to transform some data and write to big query, it uses a package called texstat, if I run locally everything works, but when I run on dataflow I get the following error: NameError: name 'textstat' is not defined [while running 'generatedPtr

[google-appengine] Cloud dataflow python3 job not solving dependencies

2019-09-03 Thread Santiago Del Valle
I have a simple apache beam project using python 3 to transform some data and write to big query, it uses a package called texstat, if I run locally everything works, but when I run on dataflow I get the following error: NameError: name 'textstat' is not defined [while running 'generatedPtr

[google-appengine] Re: Error 500s on deploy

2011-08-03 Thread Santiago López de Haro
+1 -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit