Hey,
I'm having some trouble with stuff that work locally and dont work on the app engine python environment:
Basically, i want to get a program from an epg between ranges of date and time.
i know i cannot do two where > < so i saw a suggestion to save the dates as list as datetime.datetime which i did.
[datetime.datetime(2010, 5, 10, ...
Hello again,
I'm using the Google App Engine with Python (Django).
How to emulate "SELECT * FROM bla WHERE touser = common.userstats("key") OR fromuser = common.userstats("key") ORDER BY date ASC"?
I was thinking of something like this, but I can't get it in the order I want.
recievedlist = models.P1.all()
recievedlist.filter(...
What is the best way to manage cached articles when it comes to
keeping the read state/unread state in sync? Is there a property
inside the article feed that will tell me the state of the item? I'm
trying to figure out how to keep the read state in sync, and if I need
to do a comparison of every cached article to the one on Google ...
Is it possible to send HTTP requests from my AppEngine application? I need to make some requests and pull some data from the other sites.
...
Hi,
I try to use GAE for a cron job. But I get a server error 500.
Is it because I try to cron on a external url? I cannot find any documentation on this. When I use an internal URL it works fine. But I would like to cron job a php script on my website.
Is there another way to do this? I am quite noob...
Thanks for any help
Christian
...
Google App Engine has a great XMPP service built in. One of the few limitations it has is that it doesn't support receiving messages from a group chat. That's the one thing I want to do with it. :(
Can I run a 3rd party XMPP/Jabber server on App Engine that supports group chat?
If so, which one?
...
I am trying to complete a story assignment system for my school newspaper in Google App Engine. It'll track deadlines for writers, allow writers to pick up stories, and give an "at a glance" view of the weeks stories. My partner and I are trying to fully integrate it with our newspapers Google Apps installation. Oh, and we have to use...
I'm trying to build a site with RoR on Google App Engine. I'm using the google-appengine gem (http://appengine-jruby.googlecode.com) and following the instructions in (http://gist.github.com/268192). The problem is that I can't submit ANY form!
I've already tried this in two diferent clean Win 7 Pro envs and the result is the same.
Aft...
Is it possible to query App Engine's Datastore from outside the cloud, i.e. a client application?
I could possibly write an app to be housed within AppStore and query the Datastore returning XML-formatted data; I want to know, however, if there are any Datastore endpoints which would allow me to do it directly.
Also, in case it is poss...
Is there a way for me to get sessions working? I know Django has built in session management, and GAE has some tools for it if you're using their watered down version of Django 0.96, but is there a way to get sessions to work if you're trying to use GAE w/ Django 1.1 (i.e. use_library() call). I assume using a db-backed session doesn't...
I've changed my model from
class Place
include DataMapper::Resource
has n, :trails
property :id, Serial
property :name, String, :length => 140
property :tag, String, :required => true
timestamps :at
end
to
class Place
include DataMapper::Resource
has n, :trails
property...
I am new to python and I am super excited to learn. I am building my first app on app engin and I am not totally understanding why my yaml file is not resolving to the url that I set up.
here is the code
handlers:
- url: .*
script: main.py
- url: /letmein/.*
script: letmein.py
so if I go to http://localhost:8080/letmein/ I get ...
Hi Everyone.
Sorry in advance for the long post but the problem I am facing here is quite crucial for me, so here we go...
I have a Eclipse GWT (2.0) Web Application using the the GAE and making transactions with its datastore.
On the other hand I would like to make sure that I can also deploy this web application on another infrastruc...
I am not able to get child entities to load once they are persisted on Google App Engine. I am certain that they are saving because I can see them in the datastore. For example if I have the following two entities.
public class Parent implements Serializable{
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Extension...
I'd like to load some test data into my development db but not put it into my production db.
In django you can create database-specific fixtures using this mechanism: http://docs.djangoproject.com/en/dev/ref/django-admin/#database-specific-fixtures
It is possible to do something similar with django-nonrel?
...
the mothed is :
def printa(x):
return x
the reponse is :
self.response.out.write(template.render(path, {'printa':printa}))
the html is :
{{ printa 'sss'}}
i want to show 'sss' in my page ,
so how to do this ,
thanks
updated
i create a templatetags folder, and 2 py file:
templatetags
|--------__init__.py
|---...
the model is :
class someModel(db.Model):
name = db.StringProperty()
def name_is_sss(self):
return self.name=='sss'
the view is :
a=someModel()
a.name='sss'
path = os.path.join(os.path.dirname(__file__), os.path.join('templates', 'blog/a.html'))
self.response.out.write(template.render(path, {'a':a}))
...
I'm having a devil of a time getting Phusion Passenger to work with django-nonrel for Google's App Engine. I can seem to get it to work for GoogleAppEngineLauncher and for the production server but not Passenger; or for Passenger and GoogleAppEngineLauncher but not the production server; or for Passenger and the production server but no...
Dear All,
Let say I have a model:
class A(db.Model):
B = db.StringProperty()
C = db.StringProperty()
How do I query if I wanted to search all empty property (not None, just empty) in C using python?
...
I have managed to run a basic rails app1 on App Engine using:
http://gist.github.com/268192
So, on my basic app2, I install CE, which works fine on local machine.
(communityengine.org)
But, when I follow the same steps on my actual app2, where
community_engine plugin is installed and all the gems are frozen, the
app engine installer sc...