[appengine-java] Re: Any GqlQuery example for Java?
Hello Peter, the reason for this is that the standard Google API does not provide runtime library for parsing GQL in Java. But you can try 3rd party library for parsing GQL in Java: http://audao.spoledge.com/doc-gae-features.html#gqlparser or you can even use extended GQL parser allowing also INSERT/UPDATE/ DELETE statements and nested queries: http://audao.spoledge.com/doc-gae-features.html#gqlext Best regards, Vaclav On Apr 13, 12:14 am, Peter ptr...@gmail.com wrote: Folks, I found quite a few Python examples for GqlQuery but couldn't find any for Java. Can someone point me in the right direction? For starters, what is the namespace to import? Thank you in advance for your help. Regards, Peter -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: How to read large files from the Blobstore using the file API ?
Could maybe someone from Google help with this ? 5MB is not so much - it shouldn't really take 30s !! Thanks ! Daniel On Apr 7, 3:09 pm, DanielP daniel.pasca...@gmail.com wrote: Hi, I am trying to read some 5MB XML files I have saved into the Blobstorevia the new APIs introduced in Version 1.4.3. The problem is that the read is so slow that I get a DeadlineExceededException :( I'm folowing the example provided in the docs here:http://code.google.com/appengine/docs/java/blobstore/overview.html#Wr... Here is my code: AppEngineFile aeFile = fileService.getBlobFile(key); FileReadChannel readChannel = fileService.openReadChannel(aeFile, false); BufferedReader reader = new BufferedReader(Channels.newReader(readChannel, UTF8)); StringBuffer sBuffer = new StringBuffer(); String line = null; while ((line = reader.readLine()) != null) sBuffer.append(line); So the question is: What is a fast way to read large files from the Blobstore? Many thanks for the help ! Daniel -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Datastore Stats for High Replication
I get datastore stats on my HR apps. They are updated every 5 or 6 hours - is your app new? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Server error when deleting a version
Do RollBack. On Fri, Apr 8, 2011 at 4:57 PM, thangavel s thangaveln...@gmail.com wrote: check it out it could not default version 2011/3/12 Ronoaldo José de Lana Pereira ronoa...@gmail.com I'm facing the same issue with my app, when deleting a specific version. Any updates? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- Thanks Regards R.Prabakaran -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] What are you opinions about yesterdays announced opensource Cloudcoundry PaaS
What are you opinions about yesterdays announced opensource Cloudcoundry PaaS compared to Google App Engine? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] What are you opinions about yesterdays announced opensource Cloudcoundry PaaS
I think it's still a mystery so far. They seem to want to follow App Engine's philosophy and free the developer from all the sys-admin work, yet they provide implementation details (MySQL, Redis, and MongoDB are listed on their site). This means that the developer will still need to do some sys-admin work based on the implementation of data-storage they choose, unless they provide APIs that work for all those different implementations - I doubt it since data is stored very differently in MySQL compared to MongoDB. So I think it's just another cloud-hosting provider (think of RackSpace), and I have no idea how they're going to scale MySQL :). On Wed, Apr 13, 2011 at 12:40 PM, Marcel Overdijk marceloverd...@gmail.com wrote: What are you opinions about yesterdays announced opensource Cloudcoundry PaaS compared to Google App Engine? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Datastore Stats for High Replication
Hi Simon, Do your All Entities statistics actually resemble what's in your datastore. For example, about 6 days ago I deleted all entities from my HR datastore (everything). After 24 hours the datastore usage went to zero as it should since there's a typical lag of about 24 hours from what I've seen but the datastore statistics for All Entities still show 3,246 entities and 38 MBytes. I then added last night about 50 small entities to see if not having anything in datastore was somehow causing it to not update but it still shows 3,246 entities and 38 MBytes even though it says it was last updated 3 hours ago. Thanks, Stephen On Apr 13, 2:16 am, Simon Knott knott.si...@gmail.com wrote: I get datastore stats on my HR apps. They are updated every 5 or 6 hours - is your app new? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Re: Datastore Stats for High Replication
Hi Simon, Thanks for checking. I think they've been stuck for a while now. I don't know if you've noticed this either (and I'm curious to see if anyone else has or if it's just me) but I think this illustrates the difference with how Master/Slave works and HR because on never saw it on Master/Slave and others may want to check this out for illustrative purposes, but if you have an entity kind with say a few entities, I can go and delete them all using the datastore viewer and some of the time the page will return with a few of them still showing up. If I just refresh the page a few times they usually eventually disappear. So either I'm seeing things or this is because of the way HR works which I think it is or something else is going on. Have you seen this behavior? Thanks. On Wed, Apr 13, 2011 at 8:44 AM, Simon Knott knott.si...@gmail.com wrote: Hi Stephen, Now that you mention it, my data also seems to be stuck - my entity count and storage used hasn't changed, despite the stats supposedly being updated twice today... Cheers, Simon -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Using JDO to detach Long
I have a class with its key of type Long when i using jdo query to select the key and want to detach a copy, an error occur that Long is not persistable. The class The class java.lang.Long is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data/annotations for the class are not found. is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASSPATH (or is hidden by an unenhanced version), or the Meta-Data for the class is not found. Is anyone has some idea? -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] Is there an option to update only appengine-web.xml to already deployed application
No. You have to do a full upload. The good news is that if nothing else changed, only the changed files will be uploaded. 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 Wed, Apr 13, 2011 at 9:34 AM, Jags jagadish.puttasw...@uspto.gov wrote: Hi, I have a to remove the below session enabling tag from appengine-web.xml file. sessions-enabledtrue/sessions-enabled By mistake I have this tag, due to which the new users of the application will see a blank page when the data store is put into read only mode. I observed this during Google last time maintenance mode on April 5th. I know there is one upcoming on April 20th. Please let me know at the earliest or else I have to go for a full application re-deployment. Thank you in advance. ~Jags -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
Re: [appengine-java] User service - getCurrentUser always returns null
Being logged into other Google services doesn't guarantee that you'll be logged into the App Engine app. Users need to individually log into your application with their Google Account. You'll need to call createLoginUrl. Take a look at the docs here: http://code.google.com/appengine/docs/java/gettingstarted/usingusers.html 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 Tue, Apr 12, 2011 at 10:48 PM, Fabrizio Accatino fht...@gmail.comwrote: Have you activated Security Authentication in the web.xml? http://code.google.com/appengine/docs/java/config/webxml.html#Security_and_Authentication http://code.google.com/appengine/docs/java/config/webxml.html#Security_and_Authentication fabrizio On Wed, Apr 13, 2011 at 7:44 AM, Peter ptr...@gmail.com wrote: Folks, I am a bit confused on how to use user services correctly. Here is the relevant code snippet: public class GreetingServiceImple extends RemoteServiceServlet implements GreetingService { public string greetServer() { UserService us = UserServiceFactory.getUserService(); User user = us.getCurrentUser(); ... } } The problem is, the value returned by getCurrentUser is always null, irrespective of whether I deploy locally or at appspot. I am using Firefox as the client. I have two tabs open. On one tab, I am signed into Google mail using my gmail account. On the other tab, I am trying to run the app that I am working on. What is it that I am missing? Thank you in advance for your help. Regards, Peter -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Is there an option to update only appengine-web.xml to already deployed application
Hi, I have a to remove the below session enabling tag from appengine-web.xml file. sessions-enabledtrue/sessions-enabled By mistake I have this tag, due to which the new users of the application will see a blank page when the data store is put into read only mode. I observed this during Google last time maintenance mode on April 5th. I know there is one upcoming on April 20th. Please let me know at the earliest or else I have to go for a full application re-deployment. Thank you in advance. ~Jags -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Using Concurrent Requests and java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.reflect)
Hi, I searched the list but did not find anything related to this, I saw that gae java sdk 1.4.3 supports Using Concurrent Requests http://code.google.com/appengine/docs/java/config/appconfig.html#Concurrent_Requests So I tried to run an example Scala application (using Lift) and I get the error: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.reflect) when I go to 127.0.0.1:8080 I added debug information and it seems that the problem is related to this jar: lib/lift-actor_2.8.1-2.3.jar So, does GAE now support starting new threads (which the actor jar does) or is the concurrent request implemented in a different way? Let me know if you need any more information. Thanks Diego the log is too long tost here, I'll send it on a diff email -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Application ID not available (ever).
I am following the instructions at http://code.google.com/webtoolkit/usingeclipse.html#deploying, Deploy to App Engine… This directs you to the app engine dam console, https://appengine.google.com/, to create an application ID. I tried myname (my gmail i used to log in is the same myname@Gmail), and while check availability said it was available, after checking the create application button, I was told it was not. Can you have a application id same as your gmail address? I assume yes. By definition, it should be available. I then tried uniquenamexx endlessly changing the x's for various numbers, and the check availability always says they are not available. What gives? Not every conceivable number combination could be in use. Finally, I got myfullformalnamex to work (x =1), so I jumped on it, and it works fine. But this wasted a lot of time trying to figure out how to get the application ID to work. Can someone explain how this works? thanks bob -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Google Plugin for Eclipse beta available
Hey guys, GPE 2.3 (beta now available) adds some major new features such as integration with Google APIs and Google project hosting. Read about it on the GWT blog: http://googlewebtoolkit.blogspot.com/2011/04/gwtgpe-23-cloud-connecting-eclipse.html I've played a bit with this myself. If you're doing anything that calls Google APIs, this can greatly simplify the process of including the appropriate dependencies. David Chandler, one of my team members, will be looking for feedback both in this group and in the GWT groups ( http://groups.google.com/group/Google-Web-Toolkit). Give it a try! -- 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 -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Using Concurrent Requests and java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.reflect)
On Wed, Apr 13, 2011 at 3:21 PM, Simon Knott knott.si...@gmail.com wrote: Hi, The concurrent requests setting doesn't allow you to spawn your own threads. It merely declares that your application can handle multiple incoming requests, on different threads, within the same JVM - previously all Java applications have been handling requests in a single-threaded manner. Cheers, Simon Thanks for the answer Simon Diego -- Diego Medina Web Developer http://www.fmpwizard.com -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] local dev server flag to have the same sandbox as the prod server
Hi, I have an application that uses htmlparser.jar from here: http://about.validator.nu/htmlparser/ well, it works fine on my local server, but in production says it cannot be loaded: JavaException: java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader) I understand is fine, i can switch to other libs. my question is: Is there a flag or a config parameter, so that the local dev server behaves like the prod one? I mean, now I will try first in production to see what lib works there, but the dev server is here on my machine, this is the one I should be using to test and develop. cheers Gabi -- You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[google-appengine] Question about Appengine and realtime handling of edits around the world
Hello, I'm trying to wrap my head around the Appengine and its cloud architecture. So if I have a program based on this large database where a multitude of users around the world edit and update lets say a city map. As I understand it right now peoples actions are applied not to the database itself (as in being the sole one) but to clones of it distributed around the world and which are synchronized realitively quickely. So taking my example, what happens if a person in France adds a building on the map while an other edits its color and someone else changes its name all of this while an other group of people in Australia (thus working on an other clone of the DB) at the very same time edit different information on the very same grid coordinates, and then imagine 5 other groups around the world doing the same thing. What would actually happen ? I'm asking this as I've read in other threads about the Appengine that even it has a strong integrity of its information it comes at a cost of its real time handling of events. So is this true and how much so ? Thanks for any answers ;) -- You 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] Text files bulk upload : any advice ?
Hi there, I've read * how to upload one text file - that's ok. * how to bulk upload data (csv) - that's ok also. But this doesn't help with for this problem: = I need to upload a few dozen of small text files (a few kbytes each). I need to refresh them sometimes. They will be stored in datastore with a few metadata (filename and a release no). I've been thinking to merge them into one big file to split then later in GAE. But I would rather not do it this way, unless you have a nice technique to handle that. They all have special characters of all kinds and unicode... Do you have any suggestion ? 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] Clarification on appengine-mapreduce
If you can filter the subset based on the key_name values (some kind of prefix) you can use the method described in http://djidjadji.appspot.com/2011-02-24-Near-optimal-key-ranges-for-GAE-mapreduce It uses a custom _split_input_from_namespace() method in a mapreduce.input_readers.DatastoreInputReader subclass 2011/4/8 Dan Dubois uvico...@gmail.com: OK thanks for letting me know. I am certainly looking forward to being able to map over a subset of entities. It'll make my implementation of broadcasting using the Channel API much nicer! -- You 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] Question about Appengine and realtime handling of edits around the world
http://code.google.com/appengine/docs/python/datastore/hr/overview.html see: However, in the High Replication datastore, queries across entity groups (in other words, non-ancestor queries) may return stale results. In order to return strongly consistent query results in the High Replication environment, you need to query over a single entity group. This type of query is called an ancestor queryhttp://code.google.com/appengine/docs/python/datastore/queries.html#Ancestor_Queries . Ancestor queries work because entity groups are a unit of consistency: all operations are applied to the entire group. Ancestor queries won't return data until the entire entity group is up to date. Thus, the data returned from ancestor queries on entity groups is strongly consistent. 2011/4/13 PT pechetru...@gmail.com Hello, I'm trying to wrap my head around the Appengine and its cloud architecture. So if I have a program based on this large database where a multitude of users around the world edit and update lets say a city map. As I understand it right now peoples actions are applied not to the database itself (as in being the sole one) but to clones of it distributed around the world and which are synchronized realitively quickely. So taking my example, what happens if a person in France adds a building on the map while an other edits its color and someone else changes its name all of this while an other group of people in Australia (thus working on an other clone of the DB) at the very same time edit different information on the very same grid coordinates, and then imagine 5 other groups around the world doing the same thing. What would actually happen ? I'm asking this as I've read in other threads about the Appengine that even it has a strong integrity of its information it comes at a cost of its real time handling of events. So is this true and how much so ? Thanks for any answers ;) -- You 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. -- Gr, Wim den Ouden https://profiles.google.com/wdenouden, Offline web application developer based on Javascripthttps://developer.mozilla.org/en/javascript , Html http://en.wikipedia.org/wiki/HTML5, Csshttp://en.wikipedia.org/wiki/CSS, Python http://www.python.org/, Google app enginehttp://code.google.com/intl/nl/appengine/ , Buuring http://buuring.appspot.com, developer tipshttp://code.google.com/p/relat/wiki/gaetips -- You 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] AppEngine IPs in SpamHaus
Anybody notice that GAE IPs are in SpamHaus? Because of this, OpenDNS is labeling GAE URLs as a phishing risk. * http://www.spamhaus.org/SBL/sbl.lasso?query=SBL104178 Sincerely, Kyle -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: urlfetch - deadline clarification + two issues
One more urlfetch question: Unless I'm mistaken, it's not possible to begin streaming a urlfetch response to the client until it's finished downloading. So in the worst case, you have to wait for up to 32MB to be downloaded into memory before you can begin streaming it. Would you consider an API that allows us to just pipe the socket to response.out, which would significantly reduce latency and lower memory requirements for this use case? Thanks for your consideration! -- You 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: urlfetch - deadline clarification + two issues
Hi, response.out is still also buffered before being sent to the client. http://code.google.com/appengine/docs/python/runtime.html#Responses Robert On Thu, Apr 14, 2011 at 01:11, Joshua Bronson jabron...@gmail.com wrote: One more urlfetch question: Unless I'm mistaken, it's not possible to begin streaming a urlfetch response to the client until it's finished downloading. So in the worst case, you have to wait for up to 32MB to be downloaded into memory before you can begin streaming it. Would you consider an API that allows us to just pipe the socket to response.out, which would significantly reduce latency and lower memory requirements for this use case? Thanks for your consideration! -- You 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: urlfetch - deadline clarification + two issues
On Wednesday, April 13, 2011 12:32:18 PM UTC-4, Robert Kluin wrote: response.out is still also buffered before being sent to the client. http://code.google.com/appengine/docs/python/runtime.html#Responses Right, just realized that too, thanks. I also found an existing issuehttp://code.google.com/p/googleappengine/issues/detail?id=1903requesting urlfetch streaming, which has been acknowledged (and which I've starred:). Sorry I didn't find this before asking. -- You 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] AppEngine IPs in SpamHaus
Kyle, We're hard at work getting this fixed. We've been reaching out to folks building URL shorteners on App Engine to more aggressively police their content, because a large bulk of the reports from SpamHaus come from URL shorteners being used by spammers to mask the final URL. On another note: does the world really need more URL shorteners? 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 Wed, Apr 13, 2011 at 8:26 AM, Kyle Jensen kljen...@gmail.com wrote: Anybody notice that GAE IPs are in SpamHaus? Because of this, OpenDNS is labeling GAE URLs as a phishing risk. * http://www.spamhaus.org/SBL/sbl.lasso?query=SBL104178 Sincerely, Kyle -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You 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] AppEngine IPs in SpamHaus
I guess so, judging by the fact that everybody and their brother are building one :) On Wed, Apr 13, 2011 at 12:50 PM, Ikai Lan (Google) ika...@google.com wrote: On another note: does the world really need more URL shorteners? -- Omnem crede diem tibi diluxisse supremum. -- You 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: Problem with built in indices and lists of properties
So there were 2 different tables with different field structures and the error appeared on exactly the same queries ? On Apr 12, 2:54 pm, Alexandru Farcas alexfarca...@gmail.com wrote: Hello, i have a problem with default indexes when executing a query with equality filters on a list of properties. When querying a table with about 3 entities I get the response without errors, but after the table reaches 9 entities the query returns the error The built-in indices are not efficient enough for this query and your data. The entities have a list of about 30-40 keywords, and the queries have about 3-4 eq filters. For example: SELECT __key__ FROM MyKeywords WHERE keyWordsList = 'leg' AND keyWordsList = '53' AND keyWordsList = 'cod' AND entityName = Law I migrated from Master/Slave to HR. The error still appeared on the SAME queries. I created another table for the keywords (where i introduced the entityName field inside the list of properties): exactly the same behaviour... Can someone tell me what i'm doing wrong ? -- You 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 files bulk upload : any advice ?
Hi David, If you just want to upload a single file, and they are all pretty small, why don't you just zip them? Or, maybe I don't understand what you are asking...? Robert On Wed, Apr 13, 2011 at 19:53, davidgm david.guyonmar...@gmail.com wrote: Hi there, I've read * how to upload one text file - that's ok. * how to bulk upload data (csv) - that's ok also. But this doesn't help with for this problem: = I need to upload a few dozen of small text files (a few kbytes each). I need to refresh them sometimes. They will be stored in datastore with a few metadata (filename and a release no). I've been thinking to merge them into one big file to split then later in GAE. But I would rather not do it this way, unless you have a nice technique to handle that. They all have special characters of all kinds and unicode... Do you have any suggestion ? 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.
Re: RE: [google-appengine] Re: urlfetch - deadline clarification + two issues
On Wednesday, April 13, 2011 12:59:12 PM UTC-4, Brandon Wirtz wrote: It’s barely an issue if your source can take Google’s Request. Fetch from Google often clocks at 400 Mbps. That's nice, but if streaming support were added, it would still be a better choice for my use case. Why have something count against my memory usage quota needlessly? :) -- You 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: urlfetch - deadline clarification + two issues
It's barely an issue if your source can take Google's Request. Fetch from Google often clocks at 400 Mbps. (I do 6M fetches a day) From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Joshua Bronson Sent: Wednesday, April 13, 2011 9:12 AM To: google-appengine@googlegroups.com Subject: [google-appengine] Re: urlfetch - deadline clarification + two issues One more urlfetch question: Unless I'm mistaken, it's not possible to begin streaming a urlfetch response to the client until it's finished downloading. So in the worst case, you have to wait for up to 32MB to be downloaded into memory before you can begin streaming it. Would you consider an API that allows us to just pipe the socket to response.out, which would significantly reduce latency and lower memory requirements for this use case? Thanks for your consideration! -- You 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] Question about Appengine and realtime handling of edits around the world
The master/slave datastore has a single master, so there are not consistency issues like you would have with multi-master replication. The high-replication datastore is based on PAXOS; basically it requires a 'majority' of the masters receive and accept a write. That effectively makes it possible to detect conflicts at write (and read) time at the expense of higher write (read) latencies. Robert On Wed, Apr 13, 2011 at 19:09, PT pechetru...@gmail.com wrote: Hello, I'm trying to wrap my head around the Appengine and its cloud architecture. So if I have a program based on this large database where a multitude of users around the world edit and update lets say a city map. As I understand it right now peoples actions are applied not to the database itself (as in being the sole one) but to clones of it distributed around the world and which are synchronized realitively quickely. So taking my example, what happens if a person in France adds a building on the map while an other edits its color and someone else changes its name all of this while an other group of people in Australia (thus working on an other clone of the DB) at the very same time edit different information on the very same grid coordinates, and then imagine 5 other groups around the world doing the same thing. What would actually happen ? I'm asking this as I've read in other threads about the Appengine that even it has a strong integrity of its information it comes at a cost of its real time handling of events. So is this true and how much so ? Thanks for any answers ;) -- You 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] Problem with built in indices and lists of properties
Hi Alexandru, I suspect some of those key_words are common across many entities. You do not have an explicit index defined, so queries are done using merge-join. That means a lot of records need returned and processed to fullfil your query. You're storing a lot of keywords on each entity, so adding an explicit index is going to result in an 'explosion' of index rows, and would likely noticeably impact your write performance. I have no idea if you could make it work, but perhaps you could keep track of the frequency of your tags, select the most restrictive ones in a particular query, use those to execute the query, then filter the returned rows in memory with the 'common' search terms. Since you know your data and use-cases, perhaps you could optimize this process further with some clever 'index' entities of your own. Robert On Tue, Apr 12, 2011 at 20:54, Alexandru Farcas alexfarca...@gmail.com wrote: Hello, i have a problem with default indexes when executing a query with equality filters on a list of properties. When querying a table with about 3 entities I get the response without errors, but after the table reaches 9 entities the query returns the error The built-in indices are not efficient enough for this query and your data. The entities have a list of about 30-40 keywords, and the queries have about 3-4 eq filters. For example: SELECT __key__ FROM MyKeywords WHERE keyWordsList = 'leg' AND keyWordsList = '53' AND keyWordsList = 'cod' AND entityName = Law I migrated from Master/Slave to HR. The error still appeared on the SAME queries. I created another table for the keywords (where i introduced the entityName field inside the list of properties): exactly the same behaviour... Can someone tell me what i'm doing wrong ? -- You 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] AppEngine IPs in SpamHaus
On 13 April 2011 17:50, Ikai Lan (Google) ika...@google.com wrote: On another note: does the world really need more URL shorteners? Does the world need *any* URL shorteners? 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 Wed, Apr 13, 2011 at 8:26 AM, Kyle Jensen kljen...@gmail.com wrote: Anybody notice that GAE IPs are in SpamHaus? Because of this, OpenDNS is labeling GAE URLs as a phishing risk. * http://www.spamhaus.org/SBL/sbl.lasso?query=SBL104178 Sincerely, Kyle -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You 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: RE: [google-appengine] Re: urlfetch - deadline clarification + two issues
You don't have a memory Quota if you don't store the variable containing the Fetch, you can got Fetch - byte-string - out And it only costs incoming and outgoing bandwidth and API CPU Time I assume that if it streamed the numbers would be the same, only likely API CPU Time would be higher for the premium feature and the difference in QoS requirements. I'd bet if you spent $1000 a day on AppEngine they'd introduce the feature for you.. but I make 4 megabyte Fetches, write them to Mem-cache, and spit them out to the User often in under 300ms. I don't think I can feel the difference between this and Streaming. From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Joshua Bronson Sent: Wednesday, April 13, 2011 10:08 AM To: google-appengine@googlegroups.com Subject: Re: RE: [google-appengine] Re: urlfetch - deadline clarification + two issues On Wednesday, April 13, 2011 12:59:12 PM UTC-4, Brandon Wirtz wrote: It's barely an issue if your source can take Google's Request. Fetch from Google often clocks at 400 Mbps. That's nice, but if streaming support were added, it would still be a better choice for my use case. Why have something count against my memory usage quota needlessly? :) -- You 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: RE: [google-appengine] Re: urlfetch - deadline clarification + two issues
On Wed, Apr 13, 2011 at 1:37 PM, Brandon Wirtz drak...@digerat.com wrote: I make 4 megabyte Fetches, write them to Mem-cache, and spit them out to the User often in under 300ms. Thanks for reporting your experience. Definitely helpful to know, as long as streaming is unavailable anyway. -- You 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: AppEngine IPs in SpamHaus
Thanks Ikai -- I really appreciate the fast response. * Curious -- Is there any standard way shared hosting / cloud providers deal with these situations? Sincerely, Kyle On Apr 13, 12:50 pm, Ikai Lan (Google) ika...@google.com wrote: Kyle, We're hard at work getting this fixed. We've been reaching out to folks building URL shorteners on App Engine to more aggressively police their content, because a large bulk of the reports from SpamHaus come from URL shorteners being used by spammers to mask the final URL. On another note: does the world really need more URL shorteners? 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 Wed, Apr 13, 2011 at 8:26 AM, Kyle Jensen kljen...@gmail.com wrote: Anybody notice that GAE IPs are in SpamHaus? Because of this, OpenDNS is labeling GAE URLs as a phishing risk. *http://www.spamhaus.org/SBL/sbl.lasso?query=SBL104178 Sincerely, Kyle -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You 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] AppEngine IPs in SpamHaus
On Thu, Apr 14, 2011 at 02:35, Barry Hunter barrybhun...@gmail.com wrote: On 13 April 2011 17:50, Ikai Lan (Google) ika...@google.com wrote: On another note: does the world really need more URL shorteners? Does the world need *any* URL shorteners? Completely agree. 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 Wed, Apr 13, 2011 at 8:26 AM, Kyle Jensen kljen...@gmail.com wrote: Anybody notice that GAE IPs are in SpamHaus? Because of this, OpenDNS is labeling GAE URLs as a phishing risk. * http://www.spamhaus.org/SBL/sbl.lasso?query=SBL104178 Sincerely, Kyle -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You 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] AppEngine IPs in SpamHaus
Yeah, I also am suspect that Google Search is using it in their Ranking calculation. After migrating a large client to GAE we've seen traffic go the wrong way, which shouldn't have happened considering that by every metric the migration made the pages faster, (bonus in rankings). While it is possible that what we are seeing is that with a deeper index that Google found more things to Dislike about the site. Bing/Yahoo Traffic is through the roof since the move... Apparently in their scoring we are served BY Google equates to Made by Google. And we have 10x'd our traffic from them, which off sets the 30% drop in traffic from Google Search. But since Google Traffic seems to monetize better, revenue is off about 10%. Matt C is way more tight lipped about what things may or may not be changing results than he used to be so I haven't asked if this might be the case. -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Robert Kluin Sent: Wednesday, April 13, 2011 10:53 AM To: google-appengine@googlegroups.com Subject: Re: [google-appengine] AppEngine IPs in SpamHaus On Thu, Apr 14, 2011 at 02:35, Barry Hunter barrybhun...@gmail.com wrote: On 13 April 2011 17:50, Ikai Lan (Google) ika...@google.com wrote: On another note: does the world really need more URL shorteners? Does the world need *any* URL shorteners? Completely agree. 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 Wed, Apr 13, 2011 at 8:26 AM, Kyle Jensen kljen...@gmail.com wrote: Anybody notice that GAE IPs are in SpamHaus? Because of this, OpenDNS is labeling GAE URLs as a phishing risk. * http://www.spamhaus.org/SBL/sbl.lasso?query=SBL104178 Sincerely, Kyle -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You 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.
[google-appengine] images.get_serving_url() getting a ImagesServiceError.UNSPECIFIED_ERROR on real server
I'm trying to call images.get_serving_url() on a blob I just created using the (experimental) blobstore write features. Its raising an anonymous error, and was 10 hours ago too. The underlying API error is ImagesServiceError.UNSPECIFIED_ERROR. Everything works great on the local dev server. Here's what I'm doing: file_name = files.blobstore.create(mime_type=images/jpeg, _blobinfo_uploaded_filename=local_filename) with files.open(file_name, 'a') as f: f.write(my_image_blob) files.finalize(file_name) blob_key = files.blobstore.get_blob_key(file_name) serving_url = my_get_serving_url(blob_key) # ERROR -Seth -- You 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] images.get_serving_url() getting a ImagesServiceError.UNSPECIFIED_ERROR on real server
More expensive, crap-tacular method I use. No image can be more than 4MB. Byte String = Image Substring the image in 1MB chunks Write 4 chunks to Data Store On request read Chunks 1-4 append and out. (this is clearly not code but both the python and java people can read the logic) This method has the advantage of also working with Mem-Cache if you are doing a tiered /read/write system based on content popularity. From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Seth Nickell Sent: Wednesday, April 13, 2011 11:26 AM To: google-appengine@googlegroups.com Subject: [google-appengine] images.get_serving_url() getting a ImagesServiceError.UNSPECIFIED_ERROR on real server I'm trying to call images.get_serving_url() on a blob I just created using the (experimental) blobstore write features. Its raising an anonymous error, and was 10 hours ago too. The underlying API error is ImagesServiceError.UNSPECIFIED_ERROR. Everything works great on the local dev server. Here's what I'm doing: file_name = files.blobstore.create(mime_type=images/jpeg, _blobinfo_uploaded_filename=local_filename) with files.open(file_name, 'a') as f: f.write(my_image_blob) files.finalize(file_name) blob_key = files.blobstore.get_blob_key(file_name) serving_url = my_get_serving_url(blob_key) # ERROR -Seth -- You 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: RE: [google-appengine] images.get_serving_url() getting a ImagesServiceError.UNSPECIFIED_ERROR on real server
Hi Brandon, I get this error even if the blob contents I write are a short string like TEST + the error seems to occur on the call to get_serving_url(), which seems strange. I think this problem is related to the write support somehow? Or maybe I misunderstood the problem you are working around with that approach? thanks -Seth -- You 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: Startup Weekend and Google App Engine
Frankly this whole argument is silly. Apple started with something they cobbled together themselves from spare parts. Google started with their own proprietary software, BackRub, which was written in Java and Python and ran on Linux. They didn't have anyone to help them, and they succeeded. Anyone using GAE, AWS, or anything period, has just as much a chance to succeed, or fail, based on the merit of their *idea*. It's the destination that is important, quibbling over how you get there is non-productive. -- You 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: RE: [google-appengine] images.get_serving_url() getting a ImagesServiceError.UNSPECIFIED_ERROR on real server
I don't use Blob, I use DataStore. I break the image in to 1 MB chunks so that I don't have to use Blob. From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Seth Nickell Sent: Wednesday, April 13, 2011 11:45 AM To: google-appengine@googlegroups.com Subject: Re: RE: [google-appengine] images.get_serving_url() getting a ImagesServiceError.UNSPECIFIED_ERROR on real server Hi Brandon, I get this error even if the blob contents I write are a short string like TEST + the error seems to occur on the call to get_serving_url(), which seems strange. I think this problem is related to the write support somehow? Or maybe I misunderstood the problem you are working around with that approach? thanks -Seth -- You 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: RE: [google-appengine] images.get_serving_url() getting a ImagesServiceError.UNSPECIFIED_ERROR on real server
I am curious. Why? We haven't found anything Blog does better than managing our own data in 1meg chunks. And several things we can do better. -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Seth Nickell Sent: Wednesday, April 13, 2011 12:11 PM To: google-appengine@googlegroups.com Subject: Re: RE: [google-appengine] images.get_serving_url() getting a ImagesServiceError.UNSPECIFIED_ERROR on real server Ah. I specifically need to use the blobstore for this. On Wed, Apr 13, 2011 at 12:08 PM, Brandon Wirtz drak...@digerat.com wrote: I don’t use Blob, I use DataStore. I break the image in to 1 MB chunks so that I don’t have to use Blob. From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Seth Nickell Sent: Wednesday, April 13, 2011 11:45 AM To: google-appengine@googlegroups.com Subject: Re: RE: [google-appengine] images.get_serving_url() getting a ImagesServiceError.UNSPECIFIED_ERROR on real server Hi Brandon, I get this error even if the blob contents I write are a short string like TEST + the error seems to occur on the call to get_serving_url(), which seems strange. I think this problem is related to the write support somehow? Or maybe I misunderstood the problem you are working around with that approach? thanks -Seth -- You 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] Question about Appengine and realtime handling of edits around the world
Ok, Thanks for all this information I know have a better understanding of how to approach 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: Startup Weekend and Google App Engine
At risk of dragging this on... Ask any VC what they think about the relative merits of Idea and Execution. Or ask Google: http://www.google.com/search?q=idea+vs+execution Jeff On Wed, Apr 13, 2011 at 11:54 AM, Darien Caldwell darien.caldw...@gmail.com wrote: Frankly this whole argument is silly. Apple started with something they cobbled together themselves from spare parts. Google started with their own proprietary software, BackRub, which was written in Java and Python and ran on Linux. They didn't have anyone to help them, and they succeeded. Anyone using GAE, AWS, or anything period, has just as much a chance to succeed, or fail, based on the merit of their *idea*. It's the destination that is important, quibbling over how you get there is non-productive. -- You 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: Startup Weekend and Google App Engine
Spoken like a true Engineer. It's not if you build it, they will come It's if you build it, market it, and a meteor doesn't rain down the next apocalypse, you may be profitable. For an investor it is risk assessment. Not having to buy hardware = Less Risk. + in the GAE/Cloud Column Down Time Avoidance = Less Risk.But where do you put GAE on that is that a + or a Minus? Depends who you ask. (HR is treating me well, but that didn't exist all that long ago, and changed the budget from MS, listen to the whining on this thread. The best product rarely wins, the most innovative product rarely wins. Twitter is just IRC, only more poorly written, and with a prettier logo. Facebook is just MySpace with a better educated userbase (initially). -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Darien Caldwell Sent: Wednesday, April 13, 2011 11:55 AM To: Google App Engine Subject: [google-appengine] Re: Startup Weekend and Google App Engine Frankly this whole argument is silly. Apple started with something they cobbled together themselves from spare parts. Google started with their own proprietary software, BackRub, which was written in Java and Python and ran on Linux. They didn't have anyone to help them, and they succeeded. Anyone using GAE, AWS, or anything period, has just as much a chance to succeed, or fail, based on the merit of their *idea*. It's the destination that is important, quibbling over how you get there is non-productive. -- You 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] Sending Email without Viewer rights Request for a Email Sender privilege in the appengine admin panel
Hi, First of all thanks a lot for app engine. Is there a way to send email as an authorized user (with their permission of course) WITHOUT giving them viewing rights to the application? I'd like to set the user in the administration panel as email sender rather than viewer and they will have no other right except being an authorized email sender. I can't use the appspotmail.com option because the users want to use their own email address. The use case is I'm sending out confirmation letters to the payer on behalf of the event organization after an event registration. Thanks, Ralph -- You 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: Startup Weekend and Google App Engine
Aren't you strengthening the argument that GAE gets in the way of execution by its beta/uncertain nature and its innumerable gotchas (which is what I think some are contending)? saidimu PS I'm surprised Wave hasn't been mentioned in this discussion. It always comes up in such discussions. On Wed, Apr 13, 2011 at 4:39 PM, Jeff Schnitzer j...@infohazard.org wrote: At risk of dragging this on... Ask any VC what they think about the relative merits of Idea and Execution. Or ask Google: http://www.google.com/search?q=idea+vs+execution Jeff On Wed, Apr 13, 2011 at 11:54 AM, Darien Caldwell darien.caldw...@gmail.com wrote: Frankly this whole argument is silly. Apple started with something they cobbled together themselves from spare parts. Google started with their own proprietary software, BackRub, which was written in Java and Python and ran on Linux. They didn't have anyone to help them, and they succeeded. Anyone using GAE, AWS, or anything period, has just as much a chance to succeed, or fail, based on the merit of their *idea*. It's the destination that is important, quibbling over how you get there is non-productive. -- You 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: Startup Weekend and Google App Engine
I don't know anyone who Bet on wave and lost. Most of us said. Wave, Yeah what would I do with that. This is more along the lines of: Dodgeball Mashup Editor Video (specifically the DRM'd Market place) Notebook Catalog HotPot Maps Real Estate Google Ads For Print Google Ads For Radio Google Ads For TV Jaiku From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of saidimu apale Sent: Wednesday, April 13, 2011 2:01 PM To: google-appengine@googlegroups.com Cc: Jeff Schnitzer Subject: Re: [google-appengine] Re: Startup Weekend and Google App Engine Aren't you strengthening the argument that GAE gets in the way of execution by its beta/uncertain nature and its innumerable gotchas (which is what I think some are contending)? saidimu PS I'm surprised Wave hasn't been mentioned in this discussion. It always comes up in such discussions. On Wed, Apr 13, 2011 at 4:39 PM, Jeff Schnitzer j...@infohazard.org wrote: At risk of dragging this on... Ask any VC what they think about the relative merits of Idea and Execution. Or ask Google: http://www.google.com/search?q=idea+vs+execution Jeff On Wed, Apr 13, 2011 at 11:54 AM, Darien Caldwell darien.caldw...@gmail.com wrote: Frankly this whole argument is silly. Apple started with something they cobbled together themselves from spare parts. Google started with their own proprietary software, BackRub, which was written in Java and Python and ran on Linux. They didn't have anyone to help them, and they succeeded. Anyone using GAE, AWS, or anything period, has just as much a chance to succeed, or fail, based on the merit of their *idea*. It's the destination that is important, quibbling over how you get there is non-productive. -- You 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 mailto:google-appengine%2bunsubscr...@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 mailto:google-appengine%2bunsubscr...@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] Unable to retrieve entities with OpenID User objects, need a workaround
Hi, It seems that it is not possible to associate an entity to a User instance if the user authenticated with OpenID and did not provide an email. From the docs, it seems to be possible to create a User instance without an email using federated_identity: users.User(federated_identity=http://example.com/id/ajohnson;) http://code.google.com/appengine/docs/python/users/userobjects.html So basically I can log in using OpenID, put something in the datastore that references the user from users.get_current_user(), and be left with a broken instance. This is discussed in an old thread here: http://groups.google.com/group/google-appengine/browse_thread/thread/3cd765b4b3644161/fa0a3abc376a870e?#fa0a3abc376a870e It was suggested that if the user object does not contain an email, one should ask the user from that. But can the email provided by user input be used to associate him with the current user object? I haven't found any documentation on how to fix this. Can I set the email address to the user object and will that help me to lookup any entities that the user created? Example: 1. User logged in using his blogger.com OpenID, no email was provided. The app created a Profile instance that references that apparently broken User instance. 2.User visits a restricted page that looks up his Profile with using the current_user object, the query finds the Profile entity but fails to create an object because of UserNotFoundError exception. Can the app catch this, ask the user for email, and fix the entity? If so, how? To prevent this happening in the future, can the app ask the user to provide email before creating the Profile object in the first place and somehow set the email so that the Profile instance will not raise an exception in the future? Thanks, Viðar -- You 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: Problem with built in indices and lists of properties
So, that technique will not work on lists with more than 10-20 words ? And also, when i have that error too, the number of results in that query is between 10 and 100 most of the cases... On Apr 13, 8:27 pm, Robert Kluin robert.kl...@gmail.com wrote: Hi Alexandru, I suspect some of those key_words are common across many entities. You do not have an explicit index defined, so queries are done using merge-join. That means a lot of records need returned and processed to fullfil your query. You're storing a lot of keywords on each entity, so adding an explicit index is going to result in an 'explosion' of index rows, and would likely noticeably impact your write performance. I have no idea if you could make it work, but perhaps you could keep track of the frequency of your tags, select the most restrictive ones in a particular query, use those to execute the query, then filter the returned rows in memory with the 'common' search terms. Since you know your data and use-cases, perhaps you could optimize this process further with some clever 'index' entities of your own. Robert On Tue, Apr 12, 2011 at 20:54, Alexandru Farcas alexfarca...@gmail.com wrote: Hello, i have a problem with default indexes when executing a query with equality filters on a list of properties. When querying a table with about 3 entities I get the response without errors, but after the table reaches 9 entities the query returns the error The built-in indices are not efficient enough for this query and your data. The entities have a list of about 30-40 keywords, and the queries have about 3-4 eq filters. For example: SELECT __key__ FROM MyKeywords WHERE keyWordsList = 'leg' AND keyWordsList = '53' AND keyWordsList = 'cod' AND entityName = Law I migrated from Master/Slave to HR. The error still appeared on the SAME queries. I created another table for the keywords (where i introduced the entityName field inside the list of properties): exactly the same behaviour... Can someone tell me what i'm doing wrong ? -- You 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.
Re: [google-appengine] Re: Problem with built in indices and lists of properties
If your list property is long and you include it multiple times in the same index, it will result in lots and lots of index rows. I suggested one *possible* method you could use to avoid needing to add that index, that might allow the query to run. http://code.google.com/appengine/docs/python/datastore/queries.html#Big_Entities_and_Exploding_Indexes The *final* number of results returned by the query may be 10 or 100, but how many results are returned by each filter individually? Those results get sent back to your app and combined in code. If lots and lots of entities need fetched to build that final list of 10 results, the query could fail. Robert On Thu, Apr 14, 2011 at 09:28, Ice13ill andrei.fifi...@gmail.com wrote: So, that technique will not work on lists with more than 10-20 words ? And also, when i have that error too, the number of results in that query is between 10 and 100 most of the cases... On Apr 13, 8:27 pm, Robert Kluin robert.kl...@gmail.com wrote: Hi Alexandru, I suspect some of those key_words are common across many entities. You do not have an explicit index defined, so queries are done using merge-join. That means a lot of records need returned and processed to fullfil your query. You're storing a lot of keywords on each entity, so adding an explicit index is going to result in an 'explosion' of index rows, and would likely noticeably impact your write performance. I have no idea if you could make it work, but perhaps you could keep track of the frequency of your tags, select the most restrictive ones in a particular query, use those to execute the query, then filter the returned rows in memory with the 'common' search terms. Since you know your data and use-cases, perhaps you could optimize this process further with some clever 'index' entities of your own. Robert On Tue, Apr 12, 2011 at 20:54, Alexandru Farcas alexfarca...@gmail.com wrote: Hello, i have a problem with default indexes when executing a query with equality filters on a list of properties. When querying a table with about 3 entities I get the response without errors, but after the table reaches 9 entities the query returns the error The built-in indices are not efficient enough for this query and your data. The entities have a list of about 30-40 keywords, and the queries have about 3-4 eq filters. For example: SELECT __key__ FROM MyKeywords WHERE keyWordsList = 'leg' AND keyWordsList = '53' AND keyWordsList = 'cod' AND entityName = Law I migrated from Master/Slave to HR. The error still appeared on the SAME queries. I created another table for the keywords (where i introduced the entityName field inside the list of properties): exactly the same behaviour... Can someone tell me what i'm doing wrong ? -- You 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] Re: Problem with built in indices and lists of properties
I don't want to create custom indices cause they will fail... but does the order of the equality filters matter? On Apr 14, 2011 3:38 AM, Robert Kluin robert.kl...@gmail.com wrote: -- You 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] images.get_serving_url() getting a ImagesServiceError.UNSPECIFIED_ERROR on real server
Hi Seth, Uploading a filetype not-supported by the images API raises a more generic exception. Uploading a file that is too large raises a RequestTooLargeError. The following test code works fine for me: class WriteBlobhandler(webapp.RequestHandler): def post(self): file_name = files.blobstore.create(mime_type='image/jpeg') # upload something large and you'll get an error. content = self.request.get('file') with files.open(file_name, 'a') as f: f.write(content) files.finalize(file_name) blob_key = files.blobstore.get_blob_key(file_name) # upload an unsupported image type and you'll get an error. serving_url = get_serving_url(str(blob_key)) self.redirect(serving_url, 500) Maybe you were just seeing transient errors? Robert On Thu, Apr 14, 2011 at 03:25, Seth Nickell snick...@gmail.com wrote: I'm trying to call images.get_serving_url() on a blob I just created using the (experimental) blobstore write features. Its raising an anonymous error, and was 10 hours ago too. The underlying API error is ImagesServiceError.UNSPECIFIED_ERROR. Everything works great on the local dev server. Here's what I'm doing: file_name = files.blobstore.create(mime_type=images/jpeg, _blobinfo_uploaded_filename=local_filename) with files.open(file_name, 'a') as f: f.write(my_image_blob) files.finalize(file_name) blob_key = files.blobstore.get_blob_key(file_name) serving_url = my_get_serving_url(blob_key) # ERROR -Seth -- You 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: Startup Weekend and Google App Engine
haha. from this article google dredged up from that query (http:// alllooksame.com/?p=600) I’m not exactly sure why this shift in sentiment is happening but I believe it started after the Dotcom bust. Many “great” ideas never saw the light of day, and everyone realized the limitations of “great ideas”. Not just that, the Internet made it very easy to search and find the same or similar ideas that other people came up with. If you have a “great idea”, you just have to Google it, and chances are, someone else has already beat you to it. That doesn't invalidate great ideas in the least. It just shows many startups aren't original. The author aptly put great and great ideas in quotes, because they aren't in that form. A great idea will succeed. A 'me too' probably will not, even if executed well. If a VC doesn't have the capacity to tell a truely great idea from a great idea (that's already been done), well, they are in the wrong line of business. Of course there are many other factors involved, but this isn't a venue for discussing VC funding strategies etc. And yes, I'm 100% Engineer, and proud of it. :) On Apr 13, 1:39 pm, Jeff Schnitzer j...@infohazard.org wrote: At risk of dragging this on... Ask any VC what they think about the relative merits of Idea and Execution. Or ask Google: http://www.google.com/search?q=idea+vs+execution Jeff On Wed, Apr 13, 2011 at 11:54 AM, Darien Caldwell darien.caldw...@gmail.com wrote: Frankly this whole argument is silly. Apple started with something they cobbled together themselves from spare parts. Google started with their own proprietary software, BackRub, which was written in Java and Python and ran on Linux. They didn't have anyone to help them, and they succeeded. Anyone using GAE, AWS, or anything period, has just as much a chance to succeed, or fail, based on the merit of their *idea*. It's the destination that is important, quibbling over how you get there is non-productive. -- You 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.- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: Can't creat new application
I gave up and simply gave the one-time/SMS registration page another phone number and so far all seems well. On Apr 11, 3:02 pm, Geoffrey Spear geoffsp...@gmail.com wrote: The issue is using a Google Apps account (rather than a Gmail account) when you create your apps, not what domain they're running on. On Apr 8, 11:40 am, Rex Johnson rex.good...@gmail.com wrote: Thanx, but I'm using .appspot.com/ :) On Apr 8, 10:20 am, Rex Johnson rex.good...@gmail.com wrote: First off, my post of this problem (May 6th) has disappeared from Discussions so I'm posting again. Issue is I have created ONE app. When I try to create a new one I get taken to that once only phone number/SMS confirmation page, which won't accept my input since I've used the number before to create my first app. App Engine DOES accept updates and new versions of the original app but that's it. Google - PLEASE HELP. Developers will make your stuff glow in the skies, but only if you make it possible to advance. Thanx, Rex- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
RE: [google-appengine] Re: Can't creat new application
You didn't hear it from me... www.google.com/voice random email address claim a mobile phone (this will unclaim a previous registration) accept the SMS from Appengine. Rinse and repeat. -Original Message- From: google-appengine@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of Rex Johnson Sent: Wednesday, April 13, 2011 7:28 PM To: Google App Engine Subject: [google-appengine] Re: Can't creat new application I gave up and simply gave the one-time/SMS registration page another phone number and so far all seems well. On Apr 11, 3:02 pm, Geoffrey Spear geoffsp...@gmail.com wrote: The issue is using a Google Apps account (rather than a Gmail account) when you create your apps, not what domain they're running on. On Apr 8, 11:40 am, Rex Johnson rex.good...@gmail.com wrote: Thanx, but I'm using .appspot.com/ :) On Apr 8, 10:20 am, Rex Johnson rex.good...@gmail.com wrote: First off, my post of this problem (May 6th) has disappeared from Discussions so I'm posting again. Issue is I have created ONE app. When I try to create a new one I get taken to that once only phone number/SMS confirmation page, which won't accept my input since I've used the number before to create my first app. App Engine DOES accept updates and new versions of the original app but that's it. Google - PLEASE HELP. Developers will make your stuff glow in the skies, but only if you make it possible to advance. Thanx, Rex- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You 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] Channel API broken in Chrome Extensions
Ikai, this got fixed not too long after you posted, and has been working fine for many weeks now. However, this evening I started having problems with the Channel API again. Unlike the last time,where an exception was thrown because the TalkGadget was embedded in a Chrome extension, the channel object is created without throwing an exception. But none of the channel events fire, not onopen, not onerror, not onclose. I also don't see any persistant connection open, as I did before. The object returned has a readyState of 0, which I assume is probably bad. I also just noticed in the log the error message Unsafe JavaScript attempt to access frame with URL ... Domains, protocols and ports must match which usually occurs when the channel expires and the JS in the talkgadget iframe tries to access its container. All the same, none of the usual subsequent events fired to allow the code to get a new token. Did something change recently (like today)? Certainly something has changed in the month since I capture a SHA-1 digest of the talkgadget channel file. I have run curl http://talkgadget.google.com/talkgadget/channel.js | openssl sha1 every once and a while because I have no idea how to otherwise track changes that might affect my extension. Signature on 2011-03-16T12:35 GMT+04:00 was 222ea9104664e31a10a862624c938b4fb41ef556, and is 75ff42592bc0ecc86d3d03b11611a54908aa72e9 as of 2011-04-13T20:26 GMT+04:00. So there must have been a release in that time. Any ideas? So, I wonder if you can help track down what if any change may have occurred that is causing problems with the Channel API or point me in the direction of revision history from whomever is making changes I need to be able to rely on this API, but it doesn't seem to be quite there yet. -Ronald. -- You 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] Thanks for increasing Free Quota, Google!
what is happening ? do I missed something ? On Tue, Apr 12, 2011 at 8:55 PM, Robert Kluin robert.kl...@gmail.comwrote: I'm at 15,254,688 of 9,223,372,036,854,775,808 requests for the day, I might need a quota increase On Tue, Apr 12, 2011 at 17:24, 张天翔 sres...@gmail.com wrote: that's too much! On Tue, Apr 12, 2011 at 10:48 AM, Gopal Patel patelgo...@gmail.com wrote: lol...its for one day onlyso use it or it will not be there tomorrow... :P On Tue, Apr 12, 2011 at 8:04 AM, pdknsk pdk...@googlemail.com wrote: I've got generous free quotas in my dashboard :D Datastore API Calls 0% 7,405 of 9,223,372,036,854,775,808 Okay Datastore Queries0% 132 of 9,223,372,036,854,775,808Okay Data Sent to Datastore API 0% 0.07 of 8,589,934,592.00 GBytes Okay Data Received from Datastore API 0% 0.13 of 8,589,934,592.00 GBytes Okay Datastore CPU Time 0% 0.03 of 2,135,039,823,346.01 CPU hours Okay -- You 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. -- Regards, Tianxiang -- You 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: GAE/J mail goes into Junk folder of Yahoo and Hotmail
I just moved to postmarkapp and the problems are gone. Maybe I'll re-evaluate in a year or something. On Mar 10, 5:53 am, Greg g.fawc...@gmail.com wrote: Google recently implemented DKIM for Google Apps, but it still doesn't use it for Appengine email. DKIM gives spam filters a lot of certainty that a message isn't spam. Star this issue: http://code.google.com/p/googleappengine/issues/detail?id=3161 -- You 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.