On Mar 28, 3:44 am, George george.m...@gmail.com wrote:
try:
from gpy import *
except:
print Couldn't import
Any suggestions? What am I doing wrong? This is frustrating.
Remove the try...except and see what exception is being thrown and
what traceback you are getting. All your
Hi,
Ive been using app engine for a few months but am still totally lost
how I go about using my own packages with app engine.
How do i upload them to googles server?
As an example I've just installed 4suite (Python XML processing) on my
computer, and it works fine.
How would I then go about
Put them in your app's folder, if they're not too big:
myapp/app.yaml
myapp/...
myapp/4suite
Actually, though, it looks like certain components of 4suite are
written in C. I think this means you can't use 4suite, or at least
those parts -- only pure Python libraries can work with App Engine.
Hi all
First of all an excuse for posting non google app engine topic here
but as I am new to both google app engine and python so please help
I have a dictionary dict
dict={}
and dict_sub={}
These two dictionaries are filled using a for loop with the results as
read from the datastore
for item
We've been getting hard by these over the past few weeks. I've been
waiting to make an issue because I'm trying to figure out why it's
temporally clustering, or if it only happens on datastore reads/
writes, but I haven't narrowed it down much yet other than that it
seems to happen on many types
A question to GAE engineers: Is there plan/considerations to provide
some API to Google FIle System ( http://labs.google.com/papers/gfs.html
) so we could append to files quickcheap?
At the moment I'm thinking about developing a some logging/monitoring
app but can't figure out how I can do it
Hi
A couple of things
1. You should try not to use dict as a name . dict is a builtin and
is the other way to create a new dictionary ie. dict()
plus you often use dict for type comparisons isinstance
(sub_dict,dict) etc
2. I am having trouble following your example, but I wonder if
That code as written will just use one dict_sub and keep replacing the
values in it, storing a reference to dict_sub for every dict[key]. So
I'm not surprised you're getting duplicated items. They should all be
duplicated. You can put dict_sub = {} inside the loop and it'll behave
like you
If you want to use a third-party library with App Engine, you have to
include it inside the app directory, so that it can be uploaded to App
Engine as part of your app. So install gpy as a directory inside your
app dir, with an __init__.py file in there, and then you can import it.
Do you have your Django error reporting hooked up correctly according
to this article? http://code.google.com/appengine/articles/django.html
Particulary, this line:
# Log errors.
django.dispatch.dispatcher.connect(
log_exception, django.core.signals.got_request_exception)
You should be able
I think what you're looking for is called full-text search and there
isn't any way to do it on App Engine. You'll have to split the name
into two properties.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App
Hey guys! I've been working on a GAE social news app, and I'd
appreciate your feedback:
http://1.414214.com
The idea is simple: restrict voting, commenting, etc. to people who
have demonstrated objectively-measured intelligence by solving a
puzzle. This (hopefully) increases intelligent
The problem I get like this:
class Main(webapp.RequestHandler):
def get(self):
self.response.out.write(template.render(main.html, {}));
I request the main page in ie8, then view the source:
?html xmlns=http://www.w3.org/1999/xhtml; xml:lang=zh
lang=zh..
Notice that the '?'.
Hi,
You need to change WSGIApplication.wsgi_call to support this.
Here is what I'm doing
1. create a new file gapngo/wsgi.py, like so
#!/usr/bin/env python
#
from google.appengine.ext.webapp import *
from google.appengine.ext.webapp.util import run_wsgi_app
def wsgi_call(self, environ,
I have extensive db experience and I'm responsible for a large time
series data warehouse at a large professional organization. I must
admit the move to the 'big table' storage methodology is a shift for
me but don't worry 'I do get it' and think it is the best way to build
extremely large and
Your counter would need an entity for every combination
class exercise_event_counter(db.Model):
performer = db.UserProperty()
type = db.StringProperty(multiline=False)
level = db.StringProperty(multiline=False)
total_duration = db.IntegerProperty()
count = db.IntegerProperty()
It
Hi Steph,
What is the URL being requested when you see this error? Would it be
possible to share some of your code (the more the better). My guess
would be that the request is being directed to a non-standard port
which is not allowed by the URL fetch API.
Thank you,
Jeff
On Mar 26, 12:54 pm,
Just a wild guess but this might be an artifact of your editor
(BOMhttp://en.wikipedia.org/wiki/Byte-order_mark
).
On Mon, Mar 30, 2009 at 10:33 AM, matrixcoding matrixcod...@gmail.comwrote:
The problem I get like this:
class Main(webapp.RequestHandler):
def get(self):
Hi Keith,
Was the OpenID+OAuth hybrid example you were looking at similar to
this?
http://googlecodesamples.com/hybrid/
The source code for the above demo can be found here:
http://code.google.com/p/gdata-samples/source/browse/#svn/trunk/hybrid
It is written in PHP, but is should be possible
Barry, All
This helps, thanks.
So when I insert the event I also update/insert the 'simple
counter' (excuse my confusion re sharing/sharding).
A simple counter probably works best here as I'm storing an event for
each user (low contention) but if I wanted to see the aggreations
across all
Hi,
The Maps team is working on this so that it shouldn't be an issue for App
Engine apps in the future.
-Marzia
On Mon, Mar 30, 2009 at 5:09 AM, Barry Hunter
barrybhun...@googlemail.comwrote:
On 30/03/2009, bFlood bflood...@gmail.com wrote:
I think its because everyone shares the same
Hi Alex,
Can you please provide the app id for which you are experiencing this issue?
-Marzia
On Sun, Mar 29, 2009 at 7:17 PM, Alex alexfo...@gmail.com wrote:
I'm having a bit of problem with my app -- somehow my application has
lost its ability to set a default version. I've got two
I understand how you can use simple and sharded counters to create
most aggregated values.
But what about complex statistical aggregations like correlation.
Where the aggregation needs to compare a computed aggregate value to
the individual items
Take this simple stock example.
stock:
id
Hi all,
I've been reading past group messages, however nothing I've found has
worked. Basically, when deployed, I am unable to view any pages
served by scripts protected by 'login: admin' in the app.yaml file for
my application.
Background:
* application was configured to use standard
:-)
I tested it only with F3 and IE7.
Does it work on the others clients?
On Mar 30, 5:33 am, Jyoti Shete-Javadekar jyoti.javade...@gmail.com
wrote:
Nice app :)
On Sun, Mar 29, 2009 at 12:30 PM, RSS Language Translation
davide.rogn...@gmail.com wrote:
Public domain (P) 2009 Davide
Try to change the encoding of the main.html-file.
On 30 Mrz., 10:33, matrixcoding matrixcod...@gmail.com wrote:
The problem I get like this:
class Main(webapp.RequestHandler):
def get(self):
self.response.out.write(template.render(main.html, {}));
I request the main page in
hi - i'm looking for a contract, part-time engineer to build some
amazing apps on AppEngine. Here is a description for what I'm looking
for:
- Available up to 20 hrs per week
- Always online so we can skype and IM
- Expertise with Google Gadgets API
- Experience building and running apps on
Hi Guy,
The issue here is that the authentication of gd-appt is set to Google
Accounts authentication, but the administrators of your application are all
admins using the Google Apps versions of their accounts. Since the auth is
set to Google Accounts, only Google Accounts emails can be used to
On Mar 30, 12:24 pm, Alex Popescu
the.mindstorm.mailingl...@gmail.com wrote:
The following code results in an ImportError with the SDK 1.1.9:
from django.utils import simplejson
while it is working as expected in SDK 1.1.8 and 1.1.7.
Any ideas what have changed meanwhile?
I've opened
I am currently working on a way to mass email [in a short period of
time] using Google App Engine. I figured that as of now the best way
to do this would be to run many requests in parallel. I was wondering
if my app would accept many requests at once, and if so what would the
limit be [in the
Hi,
I've got a site where users upload files. I'm storing the files in a
db.BlobProperty in my db.
Whenever I go to retrieve the data I get the following error:
BadValueError: Property file must be convertible to a Blob instance
(Blob() argument should be str instance, not unicode)
How do I
Excellent observation, creating an index to allow searches on two
keywords, three keyword, four keywords, etc. will also almost
certainly lead to exploding indexes as described here:
http://code.google.com/appengine/docs/python/datastore/queriesandindexes.html#Big_Entities_and_Exploding_Indexes
.
On Mar 30, 3:08 pm, Jeff S j...@google.com wrote:
Excellent observation, creating an index to allow searches on two
keywords, three keyword, four keywords, etc. will also almost
certainly lead to exploding indexes as described
On Mar 30, 7:44 am, Nick Winter livel...@gmail.com wrote:
I think what you're looking for is called full-text search and there
isn't any way to do it on App Engine. You'll have to split the name
into two properties.
to be fair, app engine does have full text search:
App engine image library image functions are so meager. Does anyone
know of any pure python image processing libraries out there that
works with app engine?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Google App
hi mike! there are a couple things going on here.
first, your all().filter() example returns no results because there's
no space between ancestor and =, so it thinks you're filtering on a
property named 'ancestor='. the docs note that you need a space before
the filter operator:
On Mar 27, 6:03 pm, ben b...@benmcgee.com wrote:
Of course, having my cake is simply not enough. :-) Is it possible to
have user selectable sort order AND pagination? My guess is that
things get quit a lot more complicated at this point...
sure! we hope to eventually support this
On Mar 29, 7:07 am, Barry Hunter barrybhun...@googlemail.com wrote:
According to
http://code.google.com/appengine/docs/python/datastore/gqlreference.html
you can sort by two (or more) properties. It will just require a new
index to be built (which the SDK will create the definition for you)
38 matches
Mail list logo