[google-appengine] Server Error when trying to log into the control panel

2009-12-21 Thread buger
Immediately after login, it redirects to
https://appengine.google.com/_ah/login?continue=https://appengine.google.com/
with error:
  Error: Server Error
  The server encountered an error and could not complete your request.

--

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.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.




[google-appengine] Re: Server Error when trying to log into the control panel

2009-12-21 Thread buger
Now fixed

On 21 дек, 21:39, buger  wrote:
> Immediately after login, it redirects 
> tohttps://appengine.google.com/_ah/login?continue=https://appengine.goo...
> with error:
>   Error: Server Error
>   The server encountered an error and could not complete your request.

--

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.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.




[google-appengine] Invalid IP or statistic. Blacklist bug?

2010-04-27 Thread buger
What is this IP "0.1.0.2"? http://goo.gl/uxnz
For my services it's like DoS attack )

-- 
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.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Invalid IP or statistic. Blacklist bug?

2010-04-27 Thread buger
i also see this IP "0.1.0.1"

On Apr 27, 11:41 am, buger  wrote:
> What is this IP "0.1.0.2"?http://goo.gl/uxnz
> For my services it's like DoS attack )
>
> --
> 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.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine?hl=en.

-- 
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.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] db.Expando not working with new SDK 1.3.3

2010-04-27 Thread buger
With new SDK i'm getting this error when working with db.Expando
models. It gives this error on simple get. My application stop working
after this update. Any ideas?  I still can see data in "Data Viewer".
I'm getting this error on production.

  File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/db/__init__.py", line 1028, in get_by_key_name
return get(keys[0], rpc=rpc)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/db/__init__.py", line 1255, in get
model = cls1.from_entity(entity)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/db/__init__.py", line 1179, in from_entity
instance = cls(None, _from_entity=True, **entity_values)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/db/__init__.py", line 1403, in __init__
setattr(self, prop, value)
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/db/__init__.py", line 1435, in __setattr__
super(Expando, self).__setattr__(key, value)
AttributeError: can't set attribute

-- 
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.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Invalid IP or statistic. Blacklist bug?

2010-04-27 Thread buger
It seems to be internal ip-addresses for task queues

On 27 апр, 11:45, buger  wrote:
> i also see this IP "0.1.0.1"
>
> On Apr 27, 11:41 am, buger  wrote:
>
> > What is this IP "0.1.0.2"?http://goo.gl/uxnz
> > For my services it's like DoS attack )
>
> > --
> > 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.
> > To unsubscribe from this group, send email to 
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-appengine?hl=en.
>
> --
> 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.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine?hl=en.

-- 
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.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: db.Expando not working with new SDK 1.3.3

2010-04-27 Thread buger
That was my mistake but previous versions of SDK it ignored)
On 27 апр, 12:14, buger  wrote:
> With new SDK i'm getting this error when working with db.Expando
> models. It gives this error on simple get. My application stop working
> after this update. Any ideas?  I still can see data in "Data Viewer".
> I'm getting this error on production.
>
>   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> ext/db/__init__.py", line 1028, in get_by_key_name
>     return get(keys[0], rpc=rpc)
>   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> ext/db/__init__.py", line 1255, in get
>     model = cls1.from_entity(entity)
>   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> ext/db/__init__.py", line 1179, in from_entity
>     instance = cls(None, _from_entity=True, **entity_values)
>   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> ext/db/__init__.py", line 1403, in __init__
>     setattr(self, prop, value)
>   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> ext/db/__init__.py", line 1435, in __setattr__
>     super(Expando, self).__setattr__(key, value)
> AttributeError: can't set attribute
>
> --
> 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.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine?hl=en.

-- 
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.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: db.Expando not working with new SDK 1.3.3

2010-04-27 Thread buger
BTW, it was becouse i had @propery as function, defined in class, with
same name of db.Expando property. I just renamed my function.

On Apr 27, 2:32 pm, buger  wrote:
> That was my mistake but previous versions of SDK it ignored)
> On 27 апр, 12:14, buger  wrote:
>
>
>
>
>
> > With new SDK i'm getting this error when working with db.Expando
> > models. It gives this error on simple get. My application stop working
> > after this update. Any ideas?  I still can see data in "Data Viewer".
> > I'm getting this error on production.
>
> >   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> > ext/db/__init__.py", line 1028, in get_by_key_name
> >     return get(keys[0], rpc=rpc)
> >   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> > ext/db/__init__.py", line 1255, in get
> >     model = cls1.from_entity(entity)
> >   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> > ext/db/__init__.py", line 1179, in from_entity
> >     instance = cls(None, _from_entity=True, **entity_values)
> >   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> > ext/db/__init__.py", line 1403, in __init__
> >     setattr(self, prop, value)
> >   File "/base/python_runtime/python_lib/versions/1/google/appengine/
> > ext/db/__init__.py", line 1435, in __setattr__
> >     super(Expando, self).__setattr__(key, value)
> > AttributeError: can't set attribute
>
> > --
> > 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.
> > To unsubscribe from this group, send email to 
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-appengine?hl=en.
>
> --
> 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.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine?hl=en.

-- 
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.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Yahoo denying access to "pipes" rss feed from Google App Engine urlfetch

2009-10-19 Thread buger

How it's going? Still getting this error..

On 27 авг, 15:30, "Nick Johnson (Google)" 
wrote:
> Hi Bernard,
> We're in contact with engineers at Yahoo!, and are working on resolving this
> issue.
>
> -Nick Johnson
>
> On Wed, Aug 26, 2009 at 7:12 PM, Bernard Maltais wrote:
>
>
>
> > Thank you for the reply.  I was affraid of this.  The thing is that I
> > am relying on GAE to fetch and parse Pipes feeds and then publish on
> > twitter when required...  I guess I will have to drop GAE as a
> > platform and find one that give me more reliable urlfetches... but
> > hey, when it is free what can you complain about!
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
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 email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] AttributeError: 'unicode' object has no attribute 'has_key'

2009-04-17 Thread buger

When i'm trying simply get some objects from db i getting error:

videos = Video.all().fetch(100)
  File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 1391, in fetch
return map(self._model_class.from_entity, raw)
  File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 997, in from_entity
instance = cls(None, _from_entity=True, **entity_values)
  File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 596, in __init__
prop.__set__(self, value)
  File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 2581, in __set__
value = self.validate(value)
  File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 2611, in validate
if value is not None and not value.has_key():
AttributeError: 'unicode' object has no attribute 'has_key'

It happened after i made some changes in my model properties, and just
trying to migrate data to new schema.
And why Get() method checks required option of property? If i had old
objects with such property with Null value, before i set require
option, i can no get this object after update, because i'll have error
required field error.

--~--~-~--~~~---~--~~
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 email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] unicode object has no attribute 'has_key'

2009-04-17 Thread buger

When i'm trying to do simple get() it raises error:

Traceback (most recent call last):
  File "/base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py", line 501, in __call__
handler.get(*groups)
  File "/base/data/home/apps/musicvideobuger/1.332849534198860778/
video_crawler.py", line 233, in get
videos = Video.all().fetch(100)
  File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 1391, in fetch
return map(self._model_class.from_entity, raw)
  File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 997, in from_entity
instance = cls(None, _from_entity=True, **entity_values)
  File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 596, in __init__
prop.__set__(self, value)
  File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 2581, in __set__
value = self.validate(value)
  File "/base/python_lib/versions/1/google/appengine/ext/db/
__init__.py", line 2611, in validate
if value is not None and not value.has_key():
AttributeError: 'unicode' object has no attribute 'has_key'

It happened after i changed some of properties in model, and i can't
make migration.
Also why get() function checking required option of property? I had
some old data with None values in properties, witch in new version had
been checked as required. When i'm trying to access objects with such
properties with Null values i get error that this property required,
by i'm just trying to get, not put!

--~--~-~--~~~---~--~~
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 email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: AttributeError: 'unicode' object has no attribute 'has_key'

2009-04-17 Thread buger

Sorry for duplication use this post
http://groups.google.com/group/google-appengine/browse_thread/thread/8e40a5dd298bfab4#

On Apr 17, 1:57 pm, buger  wrote:
> When i'm trying simply get some objects from db i getting error:
>
> videos = Video.all().fetch(100)
>   File "/base/python_lib/versions/1/google/appengine/ext/db/
> __init__.py", line 1391, in fetch
>     return map(self._model_class.from_entity, raw)
>   File "/base/python_lib/versions/1/google/appengine/ext/db/
> __init__.py", line 997, in from_entity
>     instance = cls(None, _from_entity=True, **entity_values)
>   File "/base/python_lib/versions/1/google/appengine/ext/db/
> __init__.py", line 596, in __init__
>     prop.__set__(self, value)
>   File "/base/python_lib/versions/1/google/appengine/ext/db/
> __init__.py", line 2581, in __set__
>     value = self.validate(value)
>   File "/base/python_lib/versions/1/google/appengine/ext/db/
> __init__.py", line 2611, in validate
>     if value is not None and not value.has_key():
> AttributeError: 'unicode' object has no attribute 'has_key'
>
> It happened after i made some changes in my model properties, and just
> trying to migrate data to new schema.
> And why Get() method checks required option of property? If i had old
> objects with such property with Null value, before i set require
> option, i can no get this object after update, because i'll have error
> required field error.
--~--~-~--~~~---~--~~
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 email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Bug with keys in Reference properties

2009-04-20 Thread buger

Simple example:

#This prints valid key value
logging.info("Before AuthorArtist adding, author is: %s" %
video.author.key())

aa = AuthorArtists.get_or_insert("aa%s_%s" % (artist.name.lower
(),video.author.username.lower()),
artist = artist,
author = video.author)

#This gives error: ReferenceProperty failed to be resolved, because it
can't find author
logging.info("After AuthorArtist adding, AuthorArtist connection is:
%s" % aa.author.key())

Ok, let's look at our AuthorArtist object in Data Viewer. In author
field it have key
'ag9tdXNpY3ZpZGVvYnVnZXJyHAsSBkF1dGhvciIQYWRvbWlub3JlY29yZHMgCQw'. I
don't know what is it. db.get(this_ket) gives nothing. WTF?)

i have models:
class Author(db.Model):
name= db.StringProperty(required = True)
.

class Video(db.Model):
videoid = db.StringProperty(required = True)
artist= db.ReferenceProperty(Artist, collection_name =
"videos")
author  = db.ReferenceProperty(Author, collection_name =
"videos")
...

class Artist(db.Model):
name= db.StringProperty()
...

class AuthorArtists(db.Model):
author  = db.ReferenceProperty(Author)
artist= db.ReferenceProperty(Artist)
--~--~-~--~~~---~--~~
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 email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Bug with keys in Reference properties

2009-04-21 Thread buger

This bug appears only in production, on local machine all work like
charm.
--~--~-~--~~~---~--~~
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 email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Bug with keys in Reference properties

2009-04-21 Thread buger

Oh i think a find it. get_or_insert fool me. I forget to clean db.

On Apr 21, 11:14 am, buger  wrote:
> This bug appears only in production, on local machine all work like
> charm.
--~--~-~--~~~---~--~~
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 email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] bugs in index?

2009-06-25 Thread buger

SELECT * FROM Video WHERE artist = Key
('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM') AND
status = 2
This query gives me 4 results

But this gives only 1 result!, i'm just added order
SELECT * FROM Video WHERE artist = Key
('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM') AND
status = 2 ORDER BY created_at desc

created_at is DateTime property, and all this objects have it
--~--~-~--~~~---~--~~
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 email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: bugs in index?

2009-06-26 Thread buger

It all was in production. And I have right indexes at that moment
(actually had :), when i've done smth wrong with indexes when tried to
fix it, now they marked as error. I tried to vacuum indexed by
instruction, but they marked as error near 20 hours :( )

On Jun 26, 2:26 pm, "Nick Johnson (Google)" 
wrote:
> Hi buger,
>
> Is this in production, or on the dev_appserver? In production, your
> app does not appear to have the necessary indexes to execute the
> second query.
>
> -Nick Johnson
>
> On Thu, Jun 25, 2009 at 11:38 PM, buger wrote:
>
> > SELECT * FROM Video WHERE artist = Key
> > ('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM') AND
> > status = 2
> > This query gives me 4 results
>
> > But this gives only 1 result!, i'm just added order
> > SELECT * FROM Video WHERE artist = Key
> > ('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM') AND
> > status = 2 ORDER BY created_at desc
>
> > created_at is DateTime property, and all this objects have it
>
> --
> Nick Johnson, App Engine Developer Programs Engineer
> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
> Number: 368047
--~--~-~--~~~---~--~~
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 email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: bugs in index?

2009-06-27 Thread buger

Oohh, it's more interesting problem than i though. I rebuild my
indexes, and this 2 queries return one result!
Let's look:

SELECT * FROM Video WHERE artist = Key
('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM')

This query returns 5 objects, and 4 of them have status value is equal
to "2"


SELECT * FROM Video WHERE artist = Key
('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM') AND
status = 2
This query return only 1 object. Ooops, what is it? :)

my appid is "musicvideobuger"


On Jun 26, 2:26 pm, "Nick Johnson (Google)" 
wrote:
> Hi buger,
>
> Is this in production, or on the dev_appserver? In production, your
> app does not appear to have the necessary indexes to execute the
> second query.
>
> -Nick Johnson
>
> On Thu, Jun 25, 2009 at 11:38 PM, buger wrote:
>
> > SELECT * FROM Video WHERE artist = Key
> > ('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM') AND
> > status = 2
> > This query gives me 4 results
>
> > But this gives only 1 result!, i'm just added order
> > SELECT * FROM Video WHERE artist = Key
> > ('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM') AND
> > status = 2 ORDER BY created_at desc
>
> > created_at is DateTime property, and all this objects have it
>
> --
> Nick Johnson, App Engine Developer Programs Engineer
> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
> Number: 368047
--~--~-~--~~~---~--~~
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 email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: bugs in index?

2009-06-27 Thread buger

"and this 2 queries return one result!" i mean queries in first
message

On Jun 27, 1:19 pm, buger  wrote:
> Oohh, it's more interesting problem than i though. I rebuild my
> indexes, and this 2 queries return one result!
> Let's look:
>
> SELECT * FROM Video WHERE artist = Key
> ('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM')
>
> This query returns 5 objects, and 4 of them have status value is equal
> to "2"
>
> SELECT * FROM Video WHERE artist = Key
> ('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM') AND
> status = 2
> This query return only 1 object. Ooops, what is it? :)
>
> my appid is "musicvideobuger"
>
> On Jun 26, 2:26 pm, "Nick Johnson (Google)" 
> wrote:
>
> > Hi buger,
>
> > Is this in production, or on the dev_appserver? In production, your
> > app does not appear to have the necessary indexes to execute the
> > second query.
>
> > -Nick Johnson
>
> > On Thu, Jun 25, 2009 at 11:38 PM, buger wrote:
>
> > > SELECT * FROM Video WHERE artist = Key
> > > ('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM') AND
> > > status = 2
> > > This query gives me 4 results
>
> > > But this gives only 1 result!, i'm just added order
> > > SELECT * FROM Video WHERE artist = Key
> > > ('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM') AND
> > > status = 2 ORDER BY created_at desc
>
> > > created_at is DateTime property, and all this objects have it
>
> > --
> > Nick Johnson, App Engine Developer Programs Engineer
> > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
> > Number: 368047
--~--~-~--~~~---~--~~
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 email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: bugs in index?

2009-06-29 Thread buger

Is my problem investigating? Because it is a critical bug...

On Jun 27, 1:25 pm, buger  wrote:
> "and this 2 queries return one result!" i mean queries in first
> message
>
> On Jun 27, 1:19 pm, buger  wrote:
>
> > Oohh, it's more interesting problem than i though. I rebuild my
> > indexes, and this 2 queries return one result!
> > Let's look:
>
> > SELECT * FROM Video WHERE artist = Key
> > ('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM')
>
> > This query returns 5 objects, and 4 of them have status value is equal
> > to "2"
>
> > SELECT * FROM Video WHERE artist = Key
> > ('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM') AND
> > status = 2
> > This query return only 1 object. Ooops, what is it? :)
>
> > my appid is "musicvideobuger"
>
> > On Jun 26, 2:26 pm, "Nick Johnson (Google)" 
> > wrote:
>
> > > Hi buger,
>
> > > Is this in production, or on the dev_appserver? In production, your
> > > app does not appear to have the necessary indexes to execute the
> > > second query.
>
> > > -Nick Johnson
>
> > > On Thu, Jun 25, 2009 at 11:38 PM, buger wrote:
>
> > > > SELECT * FROM Video WHERE artist = Key
> > > > ('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM') AND
> > > > status = 2
> > > > This query gives me 4 results
>
> > > > But this gives only 1 result!, i'm just added order
> > > > SELECT * FROM Video WHERE artist = Key
> > > > ('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM') AND
> > > > status = 2 ORDER BY created_at desc
>
> > > > created_at is DateTime property, and all this objects have it
>
> > > --
> > > Nick Johnson, App Engine Developer Programs Engineer
> > > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
> > > Number: 368047
--~--~-~--~~~---~--~~
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 email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: bugs in index?

2009-07-02 Thread buger

Ooh, looks like it is my karma of beta-tester. Nick, is it serious
bug? Maybe I it's not original question, but how it's going, do you
have progress?)

On 29 июн, 20:40, "Nick Johnson (Google)" 
wrote:
> Hi buger,
>
> I'm looking into it at the moment.
>
> -Nick Johnson
>
>
>
> On Mon, Jun 29, 2009 at 5:38 PM, buger wrote:
>
> > Is my problem investigating? Because it is a critical bug...
>
> > On Jun 27, 1:25 pm, buger  wrote:
> >> "and this 2 queries return one result!" i mean queries in first
> >> message
>
> >> On Jun 27, 1:19 pm, buger  wrote:
>
> >> > Oohh, it's more interesting problem than i though. I rebuild my
> >> > indexes, and this 2 queries return one result!
> >> > Let's look:
>
> >> > SELECT * FROM Video WHERE artist = Key
> >> > ('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM')
>
> >> > This query returns 5 objects, and 4 of them have status value is equal
> >> > to "2"
>
> >> > SELECT * FROM Video WHERE artist = Key
> >> > ('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM') AND
> >> > status = 2
> >> > This query return only 1 object. Ooops, what is it? :)
>
> >> > my appid is "musicvideobuger"
>
> >> > On Jun 26, 2:26 pm, "Nick Johnson (Google)" 
> >> > wrote:
>
> >> > > Hi buger,
>
> >> > > Is this in production, or on the dev_appserver? In production, your
> >> > > app does not appear to have the necessary indexes to execute the
> >> > > second query.
>
> >> > > -Nick Johnson
>
> >> > > On Thu, Jun 25, 2009 at 11:38 PM, buger wrote:
>
> >> > > > SELECT * FROM Video WHERE artist = Key
> >> > > > ('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM') AND
> >> > > > status = 2
> >> > > > This query gives me 4 results
>
> >> > > > But this gives only 1 result!, i'm just added order
> >> > > > SELECT * FROM Video WHERE artist = Key
> >> > > > ('ag9tdXNpY3ZpZGVvYnVnZXJyFwsSBkFydGlzdCILYXNpZ3VyIHLDs3MM') AND
> >> > > > status = 2 ORDER BY created_at desc
>
> >> > > > created_at is DateTime property, and all this objects have it
>
> >> > > --
> >> > > Nick Johnson, App Engine Developer Programs Engineer
> >> > > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
> >> > > Number: 368047
>
> --
> Nick Johnson, App Engine Developer Programs Engineer
> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
> Number: 368047
--~--~-~--~~~---~--~~
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 email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---