Prakhil,
Did you resolve this ?
You need to do the convertion to unicode before any split or strip,
try
csv_file = self.request.get('file1').decode('utf-8') on your first
line or if it is urlencoded:
csv_file = urllib.unquote( self.request.get('file1') ).decode('utf-8')
On Jul 1, 3:45 pm,
The issue below is related:
http://code.google.com/p/googleappengine/issues/detail?id=2878
For apps using custom domains having to test different versions on
appspot.com can cause problems with cookies and OpenID identities.
On Apr 26, 9:21 pm, Vladimir Prudnikov v.prudni...@gmail.com wrote:
Not ideal but not the end of the world either. This delay might be
needed to combat fraud which is a big difficulty for electronic money
services.
On Apr 17, 2:47 pm, Daniel danielshaneup...@gmail.com wrote:
Every single time I try to up my quota, and pay a bit more for
appengine, google
I am not sure about the mathematics of it, but intuitively there is no
perfect algorithm for constructing timestamps in a reverse
lexicographical ordering, because adding a character to a string will
always make it lexicographically superior.
But I noticed the mapreduce library just pick a
This one year old thread discusses the same problem I think:
http://groups.google.com/group/google-appengine/browse_thread/thread/b35a0387dfdf918b/55563f57306defbc?lnk=gstq=mark+as+read#55563f57306defbc
A possible solution:
class Message(db.Model):
sender=db.StringProperty()
Your model won't work if one message can have several recipients. Is
this OK?
And is there a particular reason why you create an entity group for a
user and its messages ?
You only need an entity group if you plan to update different entities
transactionally.
Also, you might be interested by this
Hi Richard,
Check out Rietveld, it is open source and could be a good base for
building your project:
http://code.google.com/appengine/articles/rietveld.html
On Dec 21, 12:47 am, Richard richar...@gmail.com wrote:
I am looking for something simple I can customize to integrate with our
Yes I also thought about this when denormalizing. And this could be
generalized to a whole model by serializing it into a protobuf
StringProperty.
This is probably best for models with infrequent writes, like a User
personal information.
On Dec 9, 7:06 am, Robert Kluin robert.kl...@gmail.com
You can star the issue I filed a while ago about this:
http://code.google.com/p/googleappengine/issues/detail?id=3301
On Dec 8, 4:22 am, dflorey daniel.flo...@gmail.com wrote:
Thanks for the suggestion, but don't think this is a feasible solution
for a real world application.
Is it possible
GAE is not designed for performing complex queries on a dataset.
It is possible to get it to work by anticipating what queries you will
need and building the corresponding indexes, but it is not easy nor
flexible, and the complexity of the queries would be limited.
Why not start with a relational
Wow a lot of work packed there, congrats App Engine team!
I'm surprised about the new 10 minutes deadline on Cron and Task
Queues. A short while back you were explaining that long-running
requests are bad for the App Engine ecosystem. Is it not the case for
Task Queues or are you just confident
Back in July, and even after a maintenance before that I noticed a
significant lower latency in the few days right after the maintenance.
It never last though, so we should probably wait a few more days
before assessing the results. I wonder what kind of changes in
BigTable could cause a temporary
understood by the developers.
Now if they even do substitute this with a new site I doubt early
developers will go and resubmit their work.
So I only hope Google reconsiders this, fixes the problems related to
spam and classification of appls and restore the site.
On Nov 6, 5:17 am, Julian Namaro
An App Gallery is a great idea but Google's one looked like a weekend
project thrown out in the wild and was pretty useless.
There was a lot of spam, unhelpful reviews, and occasionally you could
see Desktop software (running only on Windows, not even cross-
plateform) with a whole bunch of
The first number is used for average latency, not cpu_ms, and the auto-
scaling threshold is computed only from user-facing request, not tasks
or crons.
Your numbers seems quite good, nothing to worry about I think. Are you
experiencing a specific problem ?
On Oct 23, 12:22 am, Matija
Sounds like a cold start problem. I don't have experience on this but
there are some advices in the forum. If your app grows to have
sustained traffic it will improve for sure, but when starting or for
low-traffic sites the problem remains. I see that there's a feature on
the App Engine Roadmap to
Romage,
It's not straightforward but if you create a config file using
Automatic Configuration you'll be able to specify a format for the
downloaded data:
http://code.google.com/appengine/docs/python/tools/uploadingdata.html#Configuring_the_Bulk_Loader
On Oct 6, 11:26 pm, romage
You can perform an AND query on a ListProperty without a custom index.
I think it's called merge-join.
Have you tried InventoryItem.all().filter(keywords =,
keyword1).filter(keywords =, keyword2).filter(...) ?
Julian
http://www.memobuild.com
On Sep 24, 3:56 am, jorge jorge.velazq...@gmail.com
You can perform an AND query on a ListProperty without a custom index.
I think it's called merge-join.
Have you tried InventoryItem.all().filter(keywords =,
keyword1).filter(keywords =, keyword2).filter(...) ?
Julian
http://www.memobuild.com
On Sep 24, 3:56 am, jorge jorge.velazq...@gmail.com
Hi,
What do you mean it is not executed ? Your CSS has only some rules
for body and tables and it works fine in my browser. Do you mean your
CSS file is not updated when you push a new version of your
application? In that case that's a static files cache issue, you can
search this forum for cache
Thanks Tim, I had the same problem today and your solution worked.
Maybe the documentation(http://code.google.com/appengine/docs/python/
config/appconfig.html#Custom_Error_Responses) should make it clear to
not put the custom page in a static folder.
On Aug 18, 12:53 pm, Tim Hoffman
for the
constant improvements of the platform. Thank you, and please, do keep
it up!
Julian Namaro
http://www.memobuild.com
--
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-appeng...@googlegroups.com
I thought SSO for the marketplace was one of the goal of the built-in
OpenID login, but I haven't tried yet.
Somebody can confirm it works ?
On Aug 30, 9:26 pm, Rodrigo Moraes rodrigo.mor...@gmail.com wrote:
On Aug 29, 11:33 pm, gops wrote:
I think pure openid is possible( just login ). but
You can add:
sys.path.insert(0,/path/to/google_appengine/lib/fancy_urllib)
..in the script where you're calling remote_api.
On Aug 23, 5:15 am, Ryan Weber ryan.we...@gmail.com wrote:
Hitting the fancy_urllib issue with remote_api too. Has anyone found a
fix/workaround for this (other than
Hi Duc,
Nice project.
If I may give one advice that would be to simplify the registration
process. Ideally the user should be able to start a problem right
after google sign-in. Make them join a default team, etc...
How do you compile code on GAE server, are you using a mock compiler
written in
What about:
try:
mail.send_mail( ...)
except Exception, e:
logging.error( str(e) )
return
On Apr 2, 2:44 am, GAEfan ken...@gmail.com wrote:
OK, just received the 3rd bcc, 34 minutes later.
So the question is, how can I put an email in the taskqueue, and have
the task not re-executed
What do you get if you specify the rate per second ?
Also are you sure each task sends only one email ?
On Jan 15, 5:19 am, Emanuel Berglund emanuel.bergl...@gmail.com
wrote:
Thanks for your reply,
Supposedly the bucket_size: should be 1 and not 8 according to this
It is unlikely someone would mark as spam an e-card from somebody they
know. Maybe some company use your service to send spam ?
Make sure users of your service need to create an account(with a
captcha) and set a daily limit for number of e-card sent.
On Dec 23, 5:30 pm, Krystox krys...@gmail.com
If you send all the mails at the same time maybe you hit the 10
mails / second quota.
If that's the case, use a task queue to send emails and you'll be able
to control the rate of execution.
On Dec 24, 2:04 am, Alexander Arendar alexander.aren...@gmail.com
wrote:
Hi,
My app supposed to send
I don't think an index can help you for that.
See Robert's solution or if the list of categories doesn't change
often, you can just hardcode it in the Python/Java script.
On Dec 22, 9:01 pm, Diogo Terror ranc...@gmail.com wrote:
Is there a way I could query the index contents, such as:
I have
Hi Marco,
Maybe you got an error precisely because the id was unavailable.
A quick google search returns 2 results for artezel - at - gmail
App Engine namespace is shared with other google applications like
gmail.
On Dec 16, 9:20 am, Marco Antonio da Silva Castanheira
mcastanhe...@globo.com
Well technically there is only one datastore for all apps.
Google servers make sure you cannot access data from other apps, but
we can imagine that they will allow it for specific cases in the
future.
And different entities with the same name can co-exist because all the
keys of your app contain
Eric,
Sorry my previous answer was wrong. The query time increases with the
number of entities fetched faster than I thought.
From a small benchmark in Python average time for your query is
150-200ms.
This is for fetching 130 entities of about 400 bytes, with 5
properties each, using an
Is there value in putting the MessageRead entity in the same entity
group as the message?
Just to do transactional mark as read. I agree in most cases it's
not worth the trouble.
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post
There is a better solution to this problem.
You can use a special entity MessageRead with no property and a
key_name= message_id + recipient_id
indexes = keys_only query on MessageIndexes
for k in indexes:
keys.append( k.parent() )
keys.append( db.Key.from_path('MessageRead', k.parent().id()
Hi Eric,
Of course this kind of performance is in no way normal.
Such a simple query typically takes below 50ms.
So either there is a problem in your code, or you hit a bug in the
java SDK.
I suggest you post a more complete code sample in the App Engine Java
group.
And no need to be
How is this better than a read then a write outside of a transaction ?
Anyway it looks like there will be specialized tasks for transaction
across entity groups in the future.
On Dec 1, 4:32 am, peterk peter.ke...@gmail.com wrote:
I'm not sure if this would meet your needs or not, but it might
Question 1: When you define a chain of ownership between an entity and
child entity, is the entity group defined at the root entity level or
the kind level. For example of you have kind called Book and a
child kind Chapter defined. If you have a Book entity named
Intro to AppEngine, and
, ussuri michael.glas...@gmail.com wrote:
On Nov 19, 9:57 pm, Julian Namaro namarojul...@gmail.com wrote:
The datastore is 100% reliable even if the datastore Java/Python APIs
might not be.
What framework and libraries do you use? Is this live on appspot.com
or the local dev server? It looks
The datastore is 100% reliable even if the datastore Java/Python APIs
might not be.
What framework and libraries do you use? Is this live on appspot.com
or the local dev server? It looks like there is an unauthorized write
somewhere.
If you can reproduce the problem consistently, try to locate
Traditional relational databases are not scalable, and using such
library would most likely result in a data organization that does not
scale well. Might be fine for a lot of apps, but it kind of defeat the
main purpose of using a cloud infrastructure.
On Nov 18, 9:54 pm, frankabel
I'm not sure about what you want to do but just a thought: have you
considered Amazon Elastic MapReduce ?
It's sure doable with task queues but you're likely to encounter
various limitation problems as you cite.
On Nov 18, 1:46 am, James Cooper jamespcoo...@gmail.com wrote:
Hi,
I'm evaluating
I believe the only way to do that would be to use something like a
Greasemonkey script (cf.
http://en.wikipedia.org/wiki/Greasemonkey#Equivalents_for_other_browsers).
On Oct 29, 1:34 pm, saneef san...@gmail.com wrote:
Is there any way to add the link to newly made Google App to the
Google
I think this problem is discussed there:
http://code.google.com/p/googleappengine/issues/detail?id=313
Julian
On Aug 7, 4:30 am, Cornel corneliu.lupu...@gmail.com wrote:
Hello. I'm using app engine to write a business application. I've read
that during a transaction one can modify only
That's an interesting idea, for that particular use case.
If I reformulate the relation index entities query as I understand
it:
1. [datastore]Traverse the index and return entity keys
2. [app engine]Transform returned keys to retrieve parent entity
3. [datastore] Batch get of entities
Your
You should try to generate a list of N random keys for your entity
because you can fetch that with only one datastore call(and no index).
Aren't google-generated numeric IDs guaranted continuous?
If not you can yourself assign alphanumeric keys that are continuous
(or generated by a formula that
46 matches
Mail list logo