Indexes seem to be stuck building forever and a text appeared "warning
Your application is exceeding a quota: Datastore Indices Count help"
Could somebody please explain what to do?
Thank you
Niklas
--~--~-~--~~~---~--~~
You received this message because you are sub
Hello
Recently there were results I can't understand from the dataviewer
console:
SELECT * FROM Article order by added desc
#The above works to view entities
SELECT * FROM Article where published=True
#The above works to view lists entities
The following however generates a server error
SELECT * F
Try if you like gzipped sitemap.xml.gz approved via google webmaster
tools, Http header: "Content-Type: gzip
"
import zlib
import gzip
import string
import os
import gzip
import StringIO
class SiteMap(webapp.RequestHandler):
def get(self):
start = datetime.now() - timedelta (days = 91)
On Aug 25, 10:29 pm, pistacchio wrote:
> Hi,
> maybe I'm missing something from the documentation (I'm just
> starting), but generally, how does url handling work in GAE?
>
> Apart from the basics like
> ---
> application = webapp.WSGIApplication([('/', MainPage), ('/test',
> Test)])
> ---
> th
On Sep 3, 9:57 pm, Matthew Kramer wrote:
> I'm really new with python and google appengine and I'm still trying
> to figure out how to work things with it. I'm going to try and make a
> text based rpg and I was wondering if anyone could give me some
> pointers and easy ways to get me started.
>
On Aug 29, 4:41 pm, yoyoteng wrote:
> Hi all,
>
> One question to you GAE experts. I'm using the python version by the
> way.
>
> I'd like to create a form in Google App Engine with 2 fields, say A
> and B, and the choices of field B is restricted by A. For example, A
> have choices ['a', 'b']
On Sep 3, 12:48 pm, ae wrote:
> Hi, I had a couple of hard drives die one after the other in a shot
> period of time so I lost all my source code. Can someone from Google
> please PLEASE help me retrieve the source from GAE? Thanks.
appfilesbrowser.googlecode.com can handle it when integrated
On Sep 12, 7:59 am, abhishek wrote:
> Hi friends,
> I consider myself to be good in Perl, i know google app engine is not
> for Perl,i need to know which is the better option now for me to
> develop applications for google app - Java / Pyhton.
> I am thinking about java though.
> Also can you p
generally, avoid markup in datastore is good, do intermediary, yaml is
good
--~--~-~--~~~---~--~~
You received 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
define 3in1 workui integrated vcs,edits and deployments
http://code.google.com/p/googleappengine/issues/detail?id=2136
internationalisation and localisation
http://code.google.com/p/googleappengine/issues/detail?id=2134
3rd, use yaml for everything trivial
--~--~-~--~~~---
count > 1000 split according to time or any, example improvable with
dynamical increment (make dependant dayinc)
def get(self):#sums > 1000
import time
from datetime import datetime, timedelta
inc = datetime.now ()-timedelta(days = 1000)
dayinc = 10 #ok while return < 1000 every 10 days
sum = 0
wh
7 generators are Lehmer, Rotenberg, GGL, Neave Oakenfull (2) and
Wichmann-Hill
docs.python.org/library/random.html
Weibull function or Brownian motion are also wellknown randomnesses:
import random
print random.weibullvariate(2,2)
output:
1.85255758863
--~--~-~--~~~---~
via http://apps.sameplace.cc/chat/chat.xhtml it responds well. sockets
are oldfashioned for one opinion, the less numbers the better.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post
XMPP multicast certainly is doable for instance via the official good
gae xmpp project already achieving similar functions, broadcasting
answers to questions when answers appear, is
http://code.google.com/appengine/articles/using_xmpp.html
and seems able to do what you want with small modification
On Oct 14, 12:52 am, Richard wrote:
> hello,
>
> the App Engine webpage has lots of good information for developers
> like us, but what about for our clients?
>
> My client is skeptical about deploying on GAE, so I'd like to show him
> some propaganda about uptime, costs, etc. Is there anything
Hey
For not reinventing already elsewhere, a good function will be
intensity measure ie average time between new entities. We can add
this ourselves and welcome further comments. Basically for any model
display average time between 2 new and benchmarks, what meantime is
fast growth.
Sincerely
Nick
On Oct 16, 10:45 am, Jason Smith wrote:
> I have to agree with the others. GAE is a fine (I would say it is the
> ideal) prototyping platform--development is easy, and deploying is
> trivial. However as an app becomes increasingly valuable to its
> creator, you will feel more and more pressure
Kool
code.google.com/p/appengine-admin I use recommended
--~--~-~--~~~---~--~~
You received 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
On Oct 27, 5:00 am, Chris H wrote:
> Hi,
> We are currently having issues connecting to our datastore. Is anyone
> else seeing this issue?
>
> File "/base/python_lib/versions/1/google/appengine/ext/db/
> __init__.py", line 1579, in fetch
> raw = raw_query.Get(limit, offset)
> File "/bas
On Nov 7, 12:00 pm, david wrote:
> Hello,
>
> How can I know how many items it returns a query?
> Example:
> eventos = db.GqlQuery ("SELECT * FROM Evento")
> How many items?
>
> Other question.
> How can I do random of numers in python?
>
> See you. Thanks.
python list size or eventos.count() w
On Nov 15, 5:48 pm, fhucho wrote:
> Hi,
> I am developing a web app, where users should be able to (in this
> order):
> 1) create their item type (item type can be everything - car,
> book, movie..., item type has some user defined parameters,
> like pr
On Nov 18, 7:44 pm, Kevin wrote:
> I am attempting to implement an application that performs some
> occasional web crawling as a component of its day-to-day
> functionality.
> The web crawling code can be executed from a jsp file. When I test it
> on my computer by accessing the jsp file, it pe
On Nov 20, 4:54 am, Anders Moberg
wrote:
> Hi,
>
> I have searched for some kind of best practice for environment
> architecture design in GAE but haven't found anything (yet).
>
> I think we need 4 environments, development, test, verification and
> production. But that is just my initial thoug
ooglecode.com welcome view live montao.com.br migr8ing to
gae web.montao.com.br and Indian version Fridge.Koolbusiness.com
>
> On Nov 16, 5:38 am, niklasr wrote:
>
> > On Nov 15, 5:48 pm, fhucho wrote:> Hi,
> > > I am developing a web app, where users should be able to
Feature request or do tell if you know implemented function that
calulcates my ROI i/o between adsense output and e.g. gae billing for
time > 0. I can compute it manually registering my adsense income
relative gae billing for history and sure it's technically feasible
and appropriate for typical.
T
On Nov 24, 4:52 pm, Pierre Lavignotte
wrote:
> No one to help me with my model ?
>
> :'(
Always Craig Larman is good ref, creator model and factory design
patterns to R&D. My quick advice is avoid finegraining what I briefly
noticed and make more specific models since models mentioned look
sligh
this idea to include direct link to current discussion in text very
obvious to view newest discussion version. since the links are now to
the group, not to the actual discussion, welcomes its consequense
--
You received this message because you are subscribed to the Google Groups
"Google App Eng
e mentioned Eric, Boa constructor, PIDE, drPython where
obviously most important question we long investig8 there supporting
the other creative and constructive team project "noreply" :-)
python IDE for hg
niklasr nikla...@gmail.com google-appengine-python Hello group, Since
no py IDE
I found ha
hg ide discussion I started
http://groups.google.com/group/comp.lang.python/browse_thread/thread/a62b1da1a956ce33/730846bafc2c16b4#730846bafc2c16b4
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to google-
Altering settings.LANGUAGE_CODE at runtime switches languages
dynamically (while the django manual says not to i.e. "You shouldn’t
alter settings in your applications at runtime")
e.g. english for .com and pt_BR for .com.br:
from django.conf import settings
if os.environ.get('HTTP_HOST'):
url =
SELECT * FROM thing WHERE added = '2008-06-08 22:17:45.200477 '
won't match
Neither
SELECT * FROM thing WHERE added < '2008-07-08 22:17:45.200477 ' and
added > '2008-06-08 22:17:45.200477 '
And
SELECT * FROM Ad WHERE added < '2006-11-18 22:17:45.200477 '
surprisingly matches many entities.
Ho
)
> * TIME(hour, minute, second)
> * TIME('HH:MM:SS')
>
> -Marzia
>
> On Wed, Nov 19, 2008 at 7:03 PM, niklasr <[EMAIL PROTECTED]> wrote:
>
> > SELECT * FROM thing WHERE added = '2008-06-08 22:17:45.200477 '
> > won't match
> >
milliseconds are not included, you would need to query something like this
> to find a specific entity that accorded at 2008-06-08 22:17.45.:
>
> SELECT * FROM thing WHERE date > DATETIME(\'2008-06-08 22:17.45\') AND date
> < DATETIME(\'2008-06-08 22:17.46\')
django equilavent of the mako
% if matched_images.count() > 1:
is what i want django to do however the obvious isn't
{% if matched_images.count > 1 %}
What can it be?
The reference is defined as
reference=db.ReferenceProperty(announcement, collection_name =
'matched_images')
Thank you
NR
--~--
There's db.BlobProperty as file data type
blob = self.request.POST['file'].file.read()
You can store files as blobs i.e. db.BlobProperty and you could store
files > 1 mb by complicatingly breaking the file into 1 mb datapieces.
I had a look here:
http://code.google.com/p/gae-services-examples/sou
Hello,
Can there be a template tag recognizing admins e.g.
{% ifadmin %}{{info}}{% endifadmin %}
Similar to the APIs ( if users.is_current_user_admin() ) but from
template.
Thank you
Niklas
--~--~-~--~~~---~--~~
You received this message because you are subscribe
Yes, replacing tabs with spaces in the .yaml solved the same problem
here.
On Nov 28, 1:55 pm, cashby <[EMAIL PROTECTED]> wrote:
> I'm trying to get started with Google App Engine on a Windows Vista
> PC.
>
> I have Python 2.52 installed the directory c:\python25
> I have Google App Engine 1.1.7
Hello
How do we filter out requests from two or more ip numbers (googlebots,
developers, etc) in the request log? I tried it like [^(123\.456|345\.
456)] but that's not it. Thanks in advance.
Niklas
--~--~-~--~~~---~--~~
You received this message because you are sub
There's the problem of "show everything close to a geopt". I came
around it by iterating a 2nd time after the query and saving only
nearby entities to a new list as at most one property per query can
have inequality filter and geohash isn't usable. So we can filter and
find everything in a radius
27;lat'
> of the request only once and not everyt time the loop is traversed.
>
> - Robert
>
> On Dec 3, 5:02 am, niklasr <[EMAIL PROTECTED]> wrote:
>
> > There's the problem of "show everything close to a geopt". I came
> > around it by iter
There are 3 features from django that are interesting
RSS syndication
http://docs.djangoproject.com/en/dev/ref/contrib/syndication/?from=olddocs
Form preview framework
http://docs.djangoproject.com/en/dev/ref/contrib/formtools/form-preview/#ref-contrib-formtools-form-preview
Sitemap generator
h
os.environ may achieve it
import os
if os.environ.get('HTTP_HOST'):
url = os.environ['HTTP_HOST']
else:
url = os.environ['SERVER_NAME']
On Dec 5, 4:07 am, lws68825 <[EMAIL PROTECTED]> wrote:
> Hi,
> Can anyone help me on getting host info in a cgi script? I want to set
> different mappi
don't work out of the box on App Engine tend to be
> those that use Django's ORM layer, which doesn't work with the App Engine
> datastore. One notable example is the admin app.
>
> -- Dan
>
> On Wed, Dec 3, 2008 at 4:00 PM, niklasr <[EMAIL PROTECTED]> w
>I want the url path to be more word-like.
"friendly url" isn't standardized though I do [id]/[slugify(title)]
e.g.
/113488/bigbonus-ganhe-dinheiro-indicando-pessoas-e-compr(.htm(l))
markup
{{article.title|fix_ampersands }}
#rewrite / handler / dispatch
('/([0-9]*)/([^/]*)', ArticleById),
c
Thing is the timeout. I manage inconsistencies from this start. Also
check appengine admin which catches bad references.
http://code.google.com/p/appengine-admin/
http://dpaste.com/hold/99361/
class ImagePage(webapp.RequestHandler):
def get(self):
if users.is_current_user_admin():
Sure you can. For each domain just apply the same app.
Niklas
On Jan 1, 2:29 pm, gops wrote:
> is there any way in google apps to add gooogle app engine app and run
> it for multiple domain alias.
>
> i.e. www.maindomain.com/mypage.htmlandwww.aliasdomain.com/mypage.html
> will show same page.
>
I save one geopt per entity and want to display its location
breadcrumb from its view i.e. localityname < administrativeareaname <
nation
The only way seems to be gmaps javascript api as no gae serverside
function is available for reverse geocoding.
Can we expect serverside reverse geocoding fro
Hey Brian,
Maybe it's as easy as
g_place = self.request.POST.get('place')
instead of
g_place = self.request.get('place')
Cheers
Niklas Stockholm
On Jan 4, 11:18 am, thebrianschott wrote:
> Having received no replies, let me say a little more.
>
> If I add the following line into the beginning
Reversibly breaking and remaking larger than 1MB files persistently
storing max 1 MB chunks, gae http get and post support the larger. The
gae http transport as it is handles larger files. The 1MB limit only
limits the entities, not the transport.
On Jan 8, 11:59 pm, MajorProgamming wrote:
> Jus
;m not sure I understand you. Which question # were you trying to
> answer?
>
> On Jan 9, 3:26 am, niklasr wrote:
>
> > Reversibly breaking and remaking larger than 1MB files persistently
> > storing max 1 MB chunks, gae http get and post support the larger. The
> > gae http t
On Jan 25, 6:22 am, James Ashley wrote:
> On Jan 9, 3:34 pm, niklasr wrote:
>
> > example: upload a 2 MB file through a html form, split it serverside
> > into 2 or 3 parts, then store the parts as blobs of max 1 MB each.
> > It's inconvenient yet a method
My related question is whether http post directly to the server root
is go or no?
Thank you
Niklas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to google
Dear group,
Search functions for datastore such as similar to SQL 'LIKE', boolean
search, fuzzy and proximity search, inexact matches, and filters for
category and geolocation are of priority. For my search implementation
I choose between adsense search or direct gql search, and would like
to know
> tips for guessing theirlocationif they don't have Gears installed?
> (Keep in mind, I'm looking at the neighborhood/metro level).
geoip is one established way. display client location works with geoip
(with a gmap (such as classifiedsmarket.appspot.com))
Country Code:
document.write(geoip_co
gql as below works.
SELECT * FROM Image where added > DATETIME(2009,1,1,0,0,0) and added <
DATETIME(2009,2,1,0,0,0)
we must use the integer form (the manual lists b0rked forms)
http://code.google.com/p/googleappengine/issues/detail?id=878
cheers
niklas
On Feb 3, 12:02 pm, arnie wrote:
> For a da
On Feb 7, 4:06 am, "moises.soa...@gmail.com"
wrote:
> Hi,
>
> this is a very begginer question.
>
> I use this code to render de template:
> path = os.path.join(os.path.dirname(__file__),
> 'contacto.html')
> self.response.headers["Content-Type"] = "text/html;
> charset=iso-8859-
How do we set attributes to undisplayed / hidden / private with gae-
rest?
My rss feed seems shows too many attributes. The question is how to
set isPrivate boolean attribute for hidden content such as email
addresses.
GAE-REST http://github.com/fczuardi/gae-rest/tree/master
Thank you
Niklas
--~
I'm looking for template tags or similar that according to http get
request parameters set the corresponding html form fields. To achieve
the selection of an html option and populate a textfield according to
the http request parameters where http get with two parameters should
prepopulate a textfi
On Feb 8, 10:11 am, Alexander Kojevnikov
wrote:
> On Feb 8, 6:56 pm, niklasr wrote:
>
>
>
> > I'm looking for template tags or similar that according to http get
> > request parameters set the corresponding html form fields. To achieve
> > the selecti
I include http://appfilesbrowser.googlecode.com/files/GAEAppFileBrowser.rar
and download deployed source to local. Datastore backup solution seems
to be approcket.
regards
Niklas
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
I agree and plan to keep labels and values for options (alternating
list or dictionary) and optionValueFromQuery getparameter tag we get
from library or make. (EL tags can do it so django tags can.)
{{currentOptionLabel}}
Thank you
Niklas
--~--~-~--~~~---~--~~
You
9, 2:41 am, luismgz wrote:
> Very interesting!
> But please explain, how should I install this?
> Should I place the src folder in the rrot directory? Should I copy the
> files?
> How should I avoid conflicts with my own scripts (.py, yaml, static,
> etc)?
>
> Luis
>
>
i use gae-rest http://www.ohloh.net/p/gae-rest after finding that
r.e.s.t. is more preferable than s.o.a.p.
conditioned users.get_current_user() == feed.user for security.
feeds should be part of the standard webapp framework but are not and
according to what i read the django's syndication featur
Host name and server name are available from os.environ.
if os.environ.get('HTTP_HOST'):
url = os.environ['HTTP_HOST']
else:
url = os.environ['SERVER_NAME']
Regards,
Niklas
On Feb 22, 3:26 pm, Yossi wrote:
> How do I get the host name of my application from a python module?
>
> Thanks,
> Y
site's one and
> GAEAppFileBrowser's one)...
>
> On 20 feb, 06:29, niklasr wrote:
>
> > Placing files from the GAEAppFileBrowser.rar src folder in the app's
> > root directory,( listfiles.py in the same root folder as app.yaml )
> > and the yaml from the app
dear group,
django urlize works a bit dubiously för unobvious inputs for example
'Check out djangoproject.com(www.djangoproject.com)'
would have expected output
'Check out djangoproject.com(http://www.djangoproject.com";
rel="nofollow">www.djangoproject.com)'
but is
Check out http://djangoproject.
a-fA-F\d]{2})|[:@&=+])*))*)?)))?)|(?:/(?:(?:(?:(?:(?:[a-zA-Z\d
\$\-_.!~*'(),])|(?:%[a-fA-F\d]{2})|[:@&=+])*)(?:/(?:(?:(?:[a-zA-Z\d\$-
+_.!~*'(),])|(?:%[a-fA-F\d]{2})|[:@&=+])*))*)?))|(?:(?:(?:(?:(?:[a-zA-
Z\d\$\-_.!~*'(),])|(?:%[a-fA-F\d]{2})|[:@&=+])*)(?:/(?:(?:(?:[a-z
mples.googlecode.com
best wishes
NiklasR
--~--~-~--~~~---~--~~
You received 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 fro
68 matches
Mail list logo