app engine urlfetch cache clearing
Is there a command to do a one time clear of all urlfetch cached data? Have found this http://www.mail-archive.com/[email protected]/msg09869.html which seems to clear on a url by url basis ...
Is there a command to do a one time clear of all urlfetch cached data? Have found this http://www.mail-archive.com/[email protected]/msg09869.html which seems to clear on a url by url basis ...
Hi, I'm using JSF, Google App Engine, and OpenSessionInView (using Filter and ThreadLocal). My bean has a private field List<A> allElements; The property getAllElements() retrieves from the database the data, the first time, i.e. when allElements == null. In the page, I have a dataTable binded with {#MyBean.allElements}. Finally, the...
I am developing an app for use on Google App Engine with Django and Google App Engine Django Helper. A certain model is looking like this: from appengine_django.models import BaseModel from google.appengine.ext import db from google.appengine.ext.db.djangoforms import ModelForm class Server(BaseModel): name = db.StringProperty(req...
Hi, I'm working on an application that lets users interact with their account by sending emails to a specific address. The app is on GAE and I'm writing it in python. Here's my question: When I receive an email from a user the sender field is text. I want to run a datastore query and match the userID to the sender's email address, b...
I've got this code (Java, GAE): // Much earlier: playerKey = KeyFactory.keyToString(somePlayer.key); // Then, later... PersistenceManager pm = assassin.PMF.get().getPersistenceManager(); Key targetKey = KeyFactory.stringToKey(playerKey); Query query = pm.newQuery(Player.class); query.setFilter("__key__ == keyParam"); query.declarePara...
I have a class which I am trying to persist to the DataStore but I am getting a org.datanucleus.jdo.exceptions.ClassNotPersistenceCapableException when calling my pm.makePersistent(_user) Error text: The class is not persistable. This means that it either hasnt been enhanced, or that the enhanced version of the file is not in the CLASS...
I just watched Batch data processing with App Engine session of Google I/O 2010, read some parts of MapReduce article from Google Research and now I am thinking to use MapReduce on Google App Engine to implement a recommender system in Python. I prefer using appengine-mapreduce instead of Task Queue API because the former offers easy it...
Trying to sort by date with lambda I can't understand which lambda my error message is referring to. The message is <lambda>() takes exactly 1 argument (2 given) The 2 instructions are a = A.proximity_fetch(A.all().filter("modified >", timeline).filter("published =", True).filter("modified <=", bookmark ).order("-modified") ,db.GeoPt...
atm proxies like http://labnol-proxy-server.appspot.com/ (made by http://www.labnol.org/internet/setup-proxy-server/12890/) can't show youtube videos because to much traffic is redirected through http://*.appspot.com domains. If someone would host his app on a TLD, would this problem be solved and one could view youtube videos with this ...
I have this model in web2py DAL: db.define_table('category', Field('name','string'), format='%(name)s' ) db.define_table('uploaded_question', Field('text','string'), ... Field('category', 'string') ) This: db.category(db.category.name == uploaded_question.category) always returns none in GAE sandbox (it w...
I have correctly initialized YouTubeService. I can move/delete/rename playlist entries, but when I try to delete playlist I get unhelpfull exception: _service = None def get_service(): global _service if _service is None: _service = YouTubeService() gdata.alt.appengine.run_on_appengine(_service) _servic...
I've created a small application on google web toolkit and it works fine on local environment. But when I try to deploy it on google-app-engine, it throws an error: XML error validating D:\workspaces\NewChat\Ditch\war\WEB-INF\appengine-web.xml against D:\softwares\eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.2.2.v20090729152...
When you use get_serving_url, it creates a url for serving the image. However, according to http://ikaisays.com/2010/09/08/gwt-blobstore-the-new-high-performance-image-serving-api-and-cute-dogs-on-office-chairs/ Deleting an image blob doesn’t delete the image being served from the URL right away – that image will still be avail...
I am using the EmailMessage object in Python to send an email using the email service of Google App Engine. I am using an admin account/email from my Google Apps domain. The problem is that when I send an email via the service, the sender is apparently automatically blind copied. There is not information about this in the headers no...
It seems for me that when youve got low (in general hacking terms) quotas (I am talking about free GAE plan) and quite large files uoy wanna stream to your users youmust somehow to protect thouse files from "bad" users So it is sad By default, App Engine makes all files in the WAR available as static files except JSPs and files...
I'm building a site on Google App Engine, running python and Django non-rel. Everything is working great for HTML and posting/reading data. But as I'm moving forward I'd like to do many of the updates with AJAX, and eventually also over mobile devices like Android and iPhone. My pages use django non-rel and my login/logout authenticatio...
Having these models on google app engine: class Choice(db.Model): poll = db.ReferenceProperty(Poll, collection_name = 'choices' ) text = db.StringProperty() class Vote(db.Model): choice = db.ReferenceProperty(Choice, collection_name = 'votes' ) ip = db.StringProperty() date = db.DateTimeProperty(auto_now=1) How do...
Hi, want to host a webservice with login on google app engine. I will be used as an interface to an admin tool that has to run on a desktop client. Java webservices are not supported on app engine. Any ideas on alternatives? The features I need are: java based on app engine .net based on the client client should be able to login "autog...
I'm new to Google Apps Engine (working on an existing project for someone else) and it seems a bit different than Django as far as the login as the login is handled by Google, I'm trying to make it so the app creates a custom cookie for a user upon their logging in but can't seem to find the handler for the login action... I apologize fo...
I've been searching on this but can't seem to figure out how I can delete a specific cookie using Google Apps Engine, Python version. I am setting the cookie like below and I need to update its value, I figure I may not be able to update and just need to delete and re-create but can't seem to find the way to do that, I am creating it as ...