As stated in the title:
Did Something Change Since Yesterday which would now Requires
Additional Indexes?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email
Now I am totally hosed. Tried to add the needed index (which seemed to
be in the new 1.1.4 format and I am running 1.1.1) it caused an error.
I vacuumed the indexes and tried to regenerate. When I do ALL indexes
now do not rebuild and show in error status?? What is up with
that?
On Oct 2, 12:
>From a child directory, why can't a module in a parent or sibling
directory be imported?
Am I mistaken, or is this prohibited? (not using Django, just
webapp)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Googl
Hi. I want to know if query executed when i call count(). And is
count() executed efficiently?
--~--~-~--~~~---~--~~
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-app
Микола, count just iterates on the results locally, it's only a little
bit more efficient than querying and then iterating; and also has the
same limits as other requests (max 1000 entities):
http://code.google.com/appengine/docs/datastore/queryclass.html#Query_count
On Oct 2, 8:10 pm, Микола <[
Hi Mariza,
ive been having the same issue as ARMIX,
my question is i have a page model one of the page models propertys is
a field called pics which is a list property
im storing a list ok keys from a photo model ... the idea is page has
a number of photos.
from what your saying i think ill nee
Solved the problem by calling to_string() method on atom.url.Url
object before passing it on.
Note though that this problem appears only on development environment
(works fine when deployed) and only after upgraded 1.1.4 ...
--~--~-~--~~~---~--~~
You received this
I am trying to serve files from a zip file using the new ZipServe
module in SDK 1.1.4 using Python 2.5.2 under Windows XP.
My app.yaml contains the line:
- url: /js/dojo/.*
script: $PYTHON_LIB/google/appengine/ext/zipserve
When running the app I am receiving the folowing error message:
ERROR
Can you please post the directory structure and the goal?
On Oct 2, 1:48 am, James <[EMAIL PROTECTED]> wrote:
> From a child directory, why can't a module in a parent or sibling
> directory be imported?
>
> Am I mistaken, or is this prohibited? (not using Django, just
> webapp)
--~--~
> > It seems that there is an undocumented size cap of 1 MB on memcache
> > entries. Our application caches a list of entities with a thumbnail
> > BlobProperty, and we weren't putting memcache.set() in a try/catch
> > block. It turns out, that it stopped working after a while, with the
> > follo
Thanks
On 2 Жов, 14:02, Alexander Kojevnikov <[EMAIL PROTECTED]>
wrote:
> Микола, count just iterates on the results locally, it's only a little
> bit more efficient than querying and then iterating; and also has the
> same limits as other requests (max 1000 entities):
>
> http://code.google.com/
Hi everyone,
I'm running into a bit of a snag, and I'm hoping that someone might be
able to offer some suggestions.
I've got a Kind that is keeping track of information about URLs
(ratings, summary, etc). At first glance, it seems natural to key
Entities based on the full URL -- this will ensur
Hi, I'm from Mainland China, I need to sign up an appengine account,
but seems China Mobile is not supported in the list. However, I saw a
post that some guy like me has successfully signed up an appengine, so
I want know may I create my app engine?
Please reply to me, thank you very much!
--~--~
I would like to allow users to put images in to forum posts, but host
the images in their picasa accounts. Is this possible currently, or
would they have to paste a picasa url just like anywhere else they
might use picasa to host a picture?
--~--~-~--~~~---~--~~
Y
I'm trying to use the the GData Python library to create a calendar
for a user. The logon (client based) works, getting the calendar feed
works, but then the code chokes on the InsertCalendar call. Here is
the snippet:
# Check for the master Google calendar, if not present create
one
Hi,
I am not a developer of any app, but, i am a keen follower. Lately
when I browse the various apps lists, I constantly get a message that
reads as below:
Traceback (most recent call last):
File "/base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py", line 499, in __call__
I am scratching my head at this seemingly simple problem. All I want
to do is:
1) Take the value of a db.IntegerProperty
2) increment it using a local variable
3) Save the local variable back to the IntegerProperty
class IncrementHolder:
counter = db.IntegerProperty()
class UserOfIncrementHo
I have exactly the same problem. Mac OSX 10.5/Update of the launcher
from 1.1.3. to 1.1.4 (automatic update).
As additional info I can redirect to generic urls (random web sites) -
I get this error when using a url generated like this:
client = gdata.service.GDataService()
gdata.
On Thu, Oct 2, 2008 at 8:31 AM, GMan <[EMAIL PROTECTED]> wrote:
>
> I am scratching my head at this seemingly simple problem. All I want
> to do is:
> 1) Take the value of a db.IntegerProperty
> 2) increment it using a local variable
> 3) Save the local variable back to the IntegerProperty
>
> cl
Maybe,You Can try to short the URI by some service like this one;
> Short URL is a Wordpress plugin that allows you to take a long URL
> such as:
>
> http://www.harleyquine.com/downloads/php-scripts/somefile.zip
>
> and turn it into:
> http://www.harleyquine.com/u/1
there are lots of this kind o
Now that Python 2.6 has reached final release, I am just wondering
what plans/schedule there is for rolling it on on Google App Engine.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To po
I don't think that'll help. :(
I'm trying to ensure uniqueness... so if two people try to add the
same URL, there will only be one entry in the datastore. I don't
think there's any guarantee that tinyurl/etc would provide that
uniqueness constraint.
Also, there will be a pretty decent volume of
2008/10/2 Tony Arkles <[EMAIL PROTECTED]>:
>
> I don't think that'll help. :(
>
> I'm trying to ensure uniqueness... so if two people try to add the
> same URL, there will only be one entry in the datastore. I don't
> think there's any guarantee that tinyurl/etc would provide that
> uniqueness co
Maybe,your should have a look at the project calling "appengine-
utitlies"
http://code.google.com/p/appengine-utitlies/
>>
>>
>> These are a collection of classes to be used for rapid development
>> using Google App Engine.
>>
>> This starts with the session class which Joe Bowman wrote for a
1 MB seems the magic number for GAE currently. Blobs, requests,
responses, memcache entries, app files all has to be <= 1 MB.
On Oct 2, 2:02 am, Mahmoud <[EMAIL PROTECTED]> wrote:
> Just a heads up, in case you get bit by this like we did:
>
> It seems that there is an undocumented size cap of 1
Ahhh... sigh. :)
I was hoping to avoid doing that. It certainly adds a layer of
complexity that I was hoping to avoid.
On Oct 2, 10:49 am, "José Oliver Segura" <[EMAIL PROTECTED]> wrote:
> 2008/10/2 Tony Arkles <[EMAIL PROTECTED]>:
>
>
>
> > I don't think that'll help. :(
>
> > I'm trying to e
2008/10/2 Nathan <[EMAIL PROTECTED]>
>
> Now that Python 2.6 has reached final release, I am just wondering
> what plans/schedule there is for rolling it on on Google App Engine.
2.6 and 3.0 was made almost in parallell maybe wait for 3.0? and testing
changes with 2.6?
>
>
> >
>
--
[b]questi
On Oct 2, 2:59 am, Bill <[EMAIL PROTECTED]> wrote:
> Feris, Wordle.net is Jonathan's site so I don't have any info other
> than looking at the web pages. It looks the image thumbnails are
> image blobs stored in datastore and the java applet displays graphics
> on individual gallery pages.
Corre
Hi,
There should not have been a change yesterday that would have affected
needing new indexes, but there are rare cases when built in indexes are not
sufficient to run queries, and usually the correct index for the query will
be suggested in the error.
If you could reply directly to me with the
I guess I had assumed that the Image API already had the necessary
functionality and that I just hadn't found it yet.
Obviously it's a very small subset of PIL functionality, which people
have been asking for since issue 38 -
http://code.google.com/p/googleappengine/issues/detail?id=38
--~--~--
Hi,
I'm not sure exactly your use case, so I'm just going to describe in general
what I might do in a similar situation.
Say I have a list of keys for a picture model, and I want to render that
picture on my HTML page. So, let's assume these are my models:
class FirstModel(db.Model)
my_pics =
> I get on the order of 100 bogus high CPU warnings per day in my error
> log. They tend to come in clusters of 4 or 5 within a few seconds, so
> it's clearly some issue on Google's end (these are simple datastore
> GETs by key, and they timeout after 10,000 megacycles or so). They've
> never been
Will GAE be supporting Python versions 2.6 and/or 3.0?
--~--~-~--~~~---~--~~
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 f
On Oct 2, 2:53 pm, Sal <[EMAIL PROTECTED]> wrote:
> Will GAE be supporting Python versions 2.6 and/or 3.0?
I believe the developers have stated that 3.0 support is unlikely
since it's not backwards-compatible and would break existing code that
works now.
There's been no timeline posted for 2.6
> Then I think your only solution is to do it yourself (the
> "tinyurl" service), assuring uniqueness. Basically, you "only" need to
> mix datastore simple Gets with hashtable behaviour (taking care and
> assuming that two different urls, despite rare, can result in the same
> hash key). Yo
Hi,
I want to generate a 20x20 image out of an uploaded image. Using the
image API I can resize it to 20x20 but for non-square input images I
get a smaller image. For example a 100x50 image would come back as a
20x10 image. The crop() method would allow me to extract a square
image but to generat
I now see that this specific issue has been raised as
http://code.google.com/p/googleappengine/issues/detail?id=435 and that
somebody was good enough to supply precisely the relevant code at
http://groups.google.com/group/google-appengine/browse_thread/thread/cd287afcdf4cf976/388c5be1a22747fe?lnk=
Yeah, it's tough either way.
I'm fine with just discarding urls that exceed 500 characters (that
was my first solution), although I agree that the key space is
probably large enough that hash collisions would be highly unlikely.
On Oct 2, 12:31 pm, Bill <[EMAIL PROTECTED]> wrote:
> > Th
nope ... it seems is using AWS now!
On Wed, Oct 1, 2008 at 8:32 AM, Bill <[EMAIL PROTECTED]> wrote:
>
> I know buddypoke.com is using AppEngine. It's a fairly successful app
> under heavy load. (I want to say hundreds of requests per second but
> can't say my memory is correct there.)
>
> On Se
With python code!
http://www.google.com/search?q=image+dimensions+pure+python
On Thu, Oct 2, 2008 at 9:41 AM, acuth <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I want to generate a 20x20 image out of an uploaded image. Using the
> image API I can resize it to 20x20 but for non-square input images I
>
On Oct 2, 2:31 pm, Bill <[EMAIL PROTECTED]> wrote:
> Seems like the SHA hashes are overkill.
Collisions have been found for both sha0 and md5.
I guess the minimal usable hash function is sha1 for now. In python
hashlib uses openssl which should be reasonable fast.
--~--~-~--~~---
Hi,
I'm using Elance for hiring contractors (both software developers and
copywriters).
Recently I outsourced a small GAE project. There were two providers
Iliked:
http://www.elance.com/php/profile/main/eolproviderprofile.php?view_person=fidlej&rid=1A6T4
http://www.elance.com/php/profile/main
I don't think a *secure* hash function is necessary here (nor do I
think it desirable, due to speed). By the pigeonhole principle, *all*
hashes have collisions; it's just a matter of a) how likely it is to
happen, and b) how much of an impact will it have.
For doing a hashtable implementation (w
> nope ... it seems is using AWS now!
I met BuddyPoke's creator a week or so ago. He was very happy with
App Engine and said how great it was to handle his significant load.
If you are seeing AWS, it's probably static flash files being served
off Amazon S3. Let me know if that's incorrect.
--~-
Wouldn't Python 3 support be possible without breaking any code by
simply requiring developers to change their app.yaml to include:
runtime: python3
That, I assume, is the use of the runtime parameter? Python 2.6 will
be good too, but I would especially love to see Python 3 when it's
released. C
Also, make sure all of your directories contain an __init__.py file.
-Marzia
On Thu, Oct 2, 2008 at 6:09 AM, Tony Arkles <[EMAIL PROTECTED]> wrote:
>
> Can you please post the directory structure and the goal?
>
>
>
> On Oct 2, 1:48 am, James <[EMAIL PROTECTED]> wrote:
> > From a child directory
The problem is that a hand written python hash function not likely
outperform secure hash function implemented in c.
This kind attack actually happened once on amazon's s3 service, which
caused about 2 hours partial service interruption.
On Oct 2, 4:43 pm, Tony Arkles <[EMAIL PROTECTED]> wrote:
>
I'm trying to build a system where a shopkeeper can list promotional
items and mark their store on a map, so that anyone searching for
those items can find a place nearby that has a deal on them. The idea
is that a shopkeeper has just one store/identity, but they may have
multiple items, which I
How about your model? What 'shape' is it? Do you have any string
properties that don't need to be indexed?
It does seem quite odd that a simple put like that is getting a
warning though. It basically makes an app useless if that is a proper
recording.
On Oct 2, 2:27 pm, "[EMAIL PROTECTED]"
Hi,
I've just added a comment about Timeout in another topic (How to help
you for this issue ? If you need more info (date, time,...))
But while looking at my log, I've noticed that all my Timeout have a
very very high mcycles (more than 10k)
So, I wonder why a Timeout consumes mcycles ?
I find
Ahhh, leveraging the fact that the secure hashes are written in C
would definitely improve things.
Do you have a link to any info about the S3 hash problem? A quick
search didn't turn anything up.
On Oct 2, 3:28 pm, yejun <[EMAIL PROTECTED]> wrote:
> The problem is that a hand written python ha
Mazia is correct, there is no guarantee that this will work. In
fact, it is very likely it will not work in the future. We may in the
future implement lazy loading so that you can access the key directly
without loading the entity (a.C.key()) however, for now, this is
guaranteed to work:
A.
Waldemar,
It is not necessary to have a separate Property type for accessing a
model key without loading it from the datastore. You can instead:
class MyModel(db.Model):
my_reference = db.ReferenceProperty()
my_instance = MyModel.all().get()
MyModel.my_reference
Python 2.6 and 3.0 will be maintained in parallel for the next couple of years.
They will have the same language features except 3.0 will implement a
few of them
a bit different (e.q. exceptions[only classes] and print[now a function] ).
This is done so people have time to make the transition from
It's in feb this year. Amazon s3 use hmac-sha1 for request
authentication.
See the last post for details.
http://developer.amazonwebservices.com/connect/thread.jspa?threadID=19714&start=75&tstart=0
On Oct 2, 5:56 pm, Tony Arkles <[EMAIL PROTECTED]> wrote:
> Ahhh, leveraging the fact that the se
Correction on this post :(
A.C.get_value_for_datastore(a)
It is not necessary to call 'key()' because the object that gets
returns IS the key.
On Oct 2, 3:02 pm, Rafe <[EMAIL PROTECTED]> wrote:
> Mazia is correct, there is no guarantee that this will work. In
> fact, it is very likely
Folks,
There have been a number of people asking on the forums what the
correct way to get the key of a ReferenceProperty without causing a
whole 'get' to the datastore. This can be especially inefficient if
you need to iterate over 100 or so values from a query, when all you
need is, say, t
All,
Thought this will be useful to others. I have modified bulk_upload client to
"resume" if it fails.
Couple of things
1. On each failure, the bulk upload will wait 1 min before resuming. I found
this useful, because my uploads failed because the app was getting
overloaded or my WIFI connectio
theo is right: only entire keys (ie paths) are guaranteed to be
unique. more:
http://code.google.com/appengine/docs/datastore/keysandentitygroups.html#Entity_Groups_Ancestors_and_Paths
one corollary to this is that ids (and key names) are guaranteed to be
unique within all entities of a given ki
unfortunately, app engine doesn't support native (ie C-based) python
modules:
http://code.google.com/appengine/docs/python/purepython.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To
Is it possible to retrieve more than 1000 entities ?
Has anyone figured a way to do this ?
--~--~-~--~~~---~--~~
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
I just tested this on GAE.
import hashlib
hashlib.sha224("Nobody inspects the spammish repetition").hexdigest()
They are working properly.
On Oct 2, 8:14 pm, ryan <[EMAIL PROTECTED]> wrote:
> unfortunately, app engine doesn't support native (ie C-based) python
> modules:
>
> http://code.google.
The real goal is to figure out how *not* to do that. :)
What are you trying to accomplish?
On Oct 2, 6:15 pm, "Venkatesh Rangarajan"
<[EMAIL PROTECTED]> wrote:
> Is it possible to retrieve more than 1000 entities ?
>
> Has anyone figured a way to do this ?
--~--~-~--~~
I think you shouldn't define a post field in comment at all. Simply
make post as parent of comment when storing data.
On Oct 2, 6:40 pm, Rafe <[EMAIL PROTECTED]> wrote:
> Folks,
>
> There have been a number of people asking on the forums what the
> correct way to get the key of a ReferencePro
It's easy. Just keep on calling .fetch(1000, 1000 * n) where n gets
incremented every time
On Oct 2, 6:42 pm, Tony Arkles <[EMAIL PROTECTED]> wrote:
> The real goal is to figure out how *not* to do that. :)
>
> What are you trying to accomplish?
>
> On Oct 2, 6:15 pm, "Venkatesh Rangarajan"
>
>
Theo, I don't think that will work. From what I understand, the 1000
entity limit is applied before the offset is considered.
On Oct 2, 8:46 pm, theo <[EMAIL PROTECTED]> wrote:
> It's easy. Just keep on calling .fetch(1000, 1000 * n) where n gets
> incremented every time
>
> On Oct 2, 6:42 pm
How can we help for this ?
Each day, I've several Timeout.
Do you still need more info about it (date,time, app_id,...) ?
Regards
On 30 sep, 18:57, johnP <[EMAIL PROTECTED]> wrote:
> For a while today, I started seeing errors in custom form validation.
> Requesting self.instance in ModelForm f
Theo,
that will not work. It will aways get the same 1000..and the only thing
offset does is get 1 to 100 or 100 to 200.
Tony : Well, i have a simple search
http://payrate.appspot.com/infosys_salary
This search returns more than 1000 records..who do i show them all ? My page
explodes after page
How can I get this to work without entering a phone number? I don't
have a cell phone so I'm not sure how to get past this.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this
how to download latest sdk version
--~--~-~--~~~---~--~~
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 from this group, send
On Fri, Oct 3, 2008 at 11:17 AM, AEL21 <[EMAIL PROTECTED]> wrote:
> How can I get this to work without entering a phone number? I don't
> have a cell phone so I'm not sure how to get past this.
There is no other way at present. Find a friend or family member who
can receive the single verificat
ah, sorry for the miscommunication. i wasn't paying attention and
thought people were discussing a third-party C-based module. you're
right, the built-in modules in that list are definitely supported.
--~--~-~--~~~---~--~~
You received this message because you are s
Then you can use parent_key() method to access key directly.
On Oct 2, 7:40 pm, yejun <[EMAIL PROTECTED]> wrote:
> I think you shouldn't define a post field in comment at all. Simply
> make post as parent of comment when storing data.
>
> On Oct 2, 6:40 pm, Rafe <[EMAIL PROTECTED]> wrote:
>
> >
73 matches
Mail list logo