[google-appengine] Re: Too many indexed properties for entity

2009-05-08 Thread 风笑雪
SDK 1.2.2 can use "indexed=False" parameter on property constructor now.

2009/5/9 Ben 

>
> I didn't figure out what was causing the problem, but i solved it by
> moving my "Title"  string prop to a separate searchable class with a
> reference property, and leaving the "description" in a standard db
> model.  might not work for everyone but solved my problem. thanks for
> the help.
>
> On May 8, 10:11 am, Devel63  wrote:
> > You should be able to have a searchable TextProperty and a
> > StringProperty.  I do.  If the advice below doesn't help, try posting
> > your class definition here.
> >
> > On May 7, 10:27 am, ryan 
> > >
> wrote:
> >
> > >http://code.google.com/appengine/docs/python/datastore/queriesandinde.
> ..
> > > describes this 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] Re: Are all ListProperties implicitly indexed?

2009-05-08 Thread cocoaghost

With Python SDK 1.2.2, now it is possible:
'''
Datastore now supports Key-only queries, using either SELECT __key__
or db.Query(Model, keys_only=True
'''
But what's the limit of list size?

On Mar 23, 4:08 pm, an0  wrote:
> If so, can I explicitly mark a ListProperty not to be indexed?
>
> I want the list's flexibility for some attributes, but don't want them
> to be indexed, (how) can I achieve this goal?
>
> Thanks in advance.
--~--~-~--~~~---~--~~
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] New bie question: import com.google.appengine cannot be resolved

2009-05-08 Thread vijay
Hi,
I am using GWT+ Appengine for building a simple web application and got
stuck with a error.

I am using JDO to save some objects in datastore, I have a created a service
which returns a field of persistent class which is of type
 com.google.appengine.api.datastore.Key, i am calling this service from my
main .java file and hence imported the required path. When running the
application I got error as

Line 6: The import com.google.appengine cannot be resolved

The path com.google.appengine was auto completed and also it was not showing
any error for files under .server package, the error are only for files
under .client package.
I think I am missing something very basic here. Is there any restriction
that I cannot import appengine packages in .client package?

Please let me know if my problem is not clear.

Regards,
Vijay

--~--~-~--~~~---~--~~
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] The cost of get_by_key_name misses.

2009-05-08 Thread Charlie

I did some quick profiling, and found that each call to
Model.get_by_key_name('key') takes about .013 - 0.020 seconds when no
match is found.  It seems useful.
--~--~-~--~~~---~--~~
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: OAuth+appengine+Twitter

2009-05-08 Thread Paul Kinlan

No, I use an oauth library on google code and make the request through  
that and then deserialize the json using django.utils.simplejson to  
get a handy object back.

I will digg out the proper name when I get home.

Paul



On 8 May 2009, at 18:05, Akshar  wrote:

>
> I am looking for help in integrating Twitter Oauth with my app hosted
> on App engine.
>
> I looked at tweetapp but its not plug-n-play.
>
> Anybody who successfully used Python Twitter (http://code.google.com/ 
> p/
> python-twitter/) with Twitter Oauth ?
>
> Thanks-
> AD
> >

--~--~-~--~~~---~--~~
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: OAuth+appengine+Twitter

2009-05-08 Thread Akshar

I found a patch:
http://code.google.com/p/python-twitter/issues/detail?id=64

On May 8, 10:05 am, Akshar  wrote:
> I am looking for help in integrating Twitter Oauth with my app hosted
> on App engine.
>
> I looked at tweetapp but its not plug-n-play.
>
> Anybody who successfully used Python Twitter (http://code.google.com/p/
> python-twitter/) with Twitter Oauth ?
>
> Thanks-
> AD
--~--~-~--~~~---~--~~
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: Too many indexed properties for entity

2009-05-08 Thread Ben

I didn't figure out what was causing the problem, but i solved it by
moving my "Title"  string prop to a separate searchable class with a
reference property, and leaving the "description" in a standard db
model.  might not work for everyone but solved my problem. thanks for
the help.

On May 8, 10:11 am, Devel63  wrote:
> You should be able to have a searchable TextProperty and a
> StringProperty.  I do.  If the advice below doesn't help, try posting
> your class definition here.
>
> On May 7, 10:27 am, ryan  wrote:
>
> >http://code.google.com/appengine/docs/python/datastore/queriesandinde...
> > describes this 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] OAuth+appengine+Twitter

2009-05-08 Thread Akshar

I am looking for help in integrating Twitter Oauth with my app hosted
on App engine.

I looked at tweetapp but its not plug-n-play.

Anybody who successfully used Python Twitter (http://code.google.com/p/
python-twitter/) with Twitter Oauth ?

Thanks-
AD
--~--~-~--~~~---~--~~
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: How to use secure connection for a parked domain?

2009-05-08 Thread 风笑雪
Thanks for your answer.
IE will alert a message while changing between HTTP and HTTPS, but it's not
a big problem.

2009/5/8 Nick Johnson (Google) 

>
> Hi keakon,
>
> Unfortunately, we don't currently support https connections on domains
> other than appspot.com. This is due to the way the SSL protocol works.
>
> It's perfectly possible to continue serving your HTTP pages from your
> own domain, and only send users to the appspot domain when you want to
> serve up HTTPS content, though.
>
> -Nick Johnson
>
> On Fri, May 8, 2009 at 3:58 PM, keakon  wrote:
> >
> > I have an application which domain is .appspot.com
> >
> > Then I add a domain in my Google Apps: www..com, and I can
> > visit my app though http://www..com.
> >
> > I also add "secure: optional" to my handlers, so that I can visit
> > https://.appspot.com too, but https://www..com is not
> > available.
> >
> > Is there any way to use secure connection for this parked domain?
> >
>
> >
>

--~--~-~--~~~---~--~~
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] Expando broke my Data Viewer

2009-05-08 Thread bwh...@dappervision.com

I have a class that has a very large number of expando properties
100+, and it broke the Data Viewer a while back (just get an error
when I try to view it).  It is acceptable for it to not want to show
it, but it should just fail nicely into another of the properties.

My ID is mosa(no space here)   icaserv1
--~--~-~--~~~---~--~~
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: Too many indexed properties for entity

2009-05-08 Thread Devel63

You should be able to have a searchable TextProperty and a
StringProperty.  I do.  If the advice below doesn't help, try posting
your class definition here.

On May 7, 10:27 am, ryan  wrote:
> http://code.google.com/appengine/docs/python/datastore/queriesandinde...
> describes this 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] Re: my app suddenly shows an error! yesterday, everything OK

2009-05-08 Thread Manu

Hi!

Thanks a bunch!
That fixed all :D:D:D

Will that work after the upcoming release?
Can I ask you (if you have time, tell me, if not, no problem)
why was that failing? I'd really like to understand a little more.

Also, I'd like to understand how all of this BookmarkQuery works...
I'll have to read the source and learn a bit
Thanks for your time!

Manu

On 8 mayo, 11:27, "Nick Johnson (Google)" 
wrote:
> Hi Manu,
>
> For now you can get things working again by replacing lines 36 and 37
> of bookmark.py with this:
> ---
>     def __init__(self, kind, filters={}, _app=None, keys_only=False):
>         super(BookmarkQuery, self).__init__(kind, filters, _app, keys_only)
> ---
>
> -Nick Johnson
>
> On Fri, May 8, 2009 at 3:15 PM, Manu  wrote:
>
> > the code for BookmarkQuery is here:
> >http://bitbucket.org/moraes/appengine/src/422cc9b9473b/bookmark.py
>
> > I'm using it but haven't developed it myself, so I don't really know
> > how it works.
> > Please help me, isn't there a way to quickly fix this at least for the
> > moment?
> > Thanks in advance!
>
> > Manuel
>
> > On 8 mayo, 02:05, ryan  wrote:
> >> hi manuel! we pushed a new version of our API code to production
> >> recently in preparation for an upcoming release, which has caused
> >> problems for people who use forked versions of some of our API code,
> >> like the problem described 
> >> inhttp://groups.google.com/group/google-appengine/browse_thread/thread/...
> >> , or code that reaches below our API layer, which it sounds like
> >> BookmarkQuery does.
>
> >> i don't have the BookmarkQuery source, so i don't know the exact fix
> >> you need, but the problem stems from a new optional keyword argument
> >> that we added to the Query classes' constructors. try adding a
> >> keys_only=None parameter to BookmarkQuery's constructor and see if
> >> that helps.
>
>
--~--~-~--~~~---~--~~
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: How to use secure connection for a parked domain?

2009-05-08 Thread Nick Johnson (Google)

Hi keakon,

Unfortunately, we don't currently support https connections on domains
other than appspot.com. This is due to the way the SSL protocol works.

It's perfectly possible to continue serving your HTTP pages from your
own domain, and only send users to the appspot domain when you want to
serve up HTTPS content, though.

-Nick Johnson

On Fri, May 8, 2009 at 3:58 PM, keakon  wrote:
>
> I have an application which domain is .appspot.com
>
> Then I add a domain in my Google Apps: www..com, and I can
> visit my app though http://www..com.
>
> I also add "secure: optional" to my handlers, so that I can visit
> https://.appspot.com too, but https://www..com is not
> available.
>
> Is there any way to use secure connection for this parked domain?
> 

--~--~-~--~~~---~--~~
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] How to use secure connection for a parked domain?

2009-05-08 Thread keakon

I have an application which domain is .appspot.com

Then I add a domain in my Google Apps: www..com, and I can
visit my app though http://www..com.

I also add "secure: optional" to my handlers, so that I can visit
https://.appspot.com too, but https://www..com is not
available.

Is there any way to use secure connection for this parked domain?
--~--~-~--~~~---~--~~
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: my app suddenly shows an error! yesterday, everything OK

2009-05-08 Thread Nick Johnson (Google)

Hi Manu,

For now you can get things working again by replacing lines 36 and 37
of bookmark.py with this:
---
def __init__(self, kind, filters={}, _app=None, keys_only=False):
super(BookmarkQuery, self).__init__(kind, filters, _app, keys_only)
---

-Nick Johnson

On Fri, May 8, 2009 at 3:15 PM, Manu  wrote:
>
> the code for BookmarkQuery is here:
> http://bitbucket.org/moraes/appengine/src/422cc9b9473b/bookmark.py
>
>
> I'm using it but haven't developed it myself, so I don't really know
> how it works.
> Please help me, isn't there a way to quickly fix this at least for the
> moment?
> Thanks in advance!
>
> Manuel
>
>
>
> On 8 mayo, 02:05, ryan  wrote:
>> hi manuel! we pushed a new version of our API code to production
>> recently in preparation for an upcoming release, which has caused
>> problems for people who use forked versions of some of our API code,
>> like the problem described 
>> inhttp://groups.google.com/group/google-appengine/browse_thread/thread/...
>> , or code that reaches below our API layer, which it sounds like
>> BookmarkQuery does.
>>
>> i don't have the BookmarkQuery source, so i don't know the exact fix
>> you need, but the problem stems from a new optional keyword argument
>> that we added to the Query classes' constructors. try adding a
>> keys_only=None parameter to BookmarkQuery's constructor and see if
>> that helps.
> 

--~--~-~--~~~---~--~~
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: my app suddenly shows an error! yesterday, everything OK

2009-05-08 Thread Manu

the code for BookmarkQuery is here:
http://bitbucket.org/moraes/appengine/src/422cc9b9473b/bookmark.py


I'm using it but haven't developed it myself, so I don't really know
how it works.
Please help me, isn't there a way to quickly fix this at least for the
moment?
Thanks in advance!

Manuel



On 8 mayo, 02:05, ryan  wrote:
> hi manuel! we pushed a new version of our API code to production
> recently in preparation for an upcoming release, which has caused
> problems for people who use forked versions of some of our API code,
> like the problem described 
> inhttp://groups.google.com/group/google-appengine/browse_thread/thread/...
> , or code that reaches below our API layer, which it sounds like
> BookmarkQuery does.
>
> i don't have the BookmarkQuery source, so i don't know the exact fix
> you need, but the problem stems from a new optional keyword argument
> that we added to the Query classes' constructors. try adding a
> keys_only=None parameter to BookmarkQuery's constructor and see if
> that helps.
--~--~-~--~~~---~--~~
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: How to save cookies?

2009-05-08 Thread Nick Johnson (Google)

That's certainly one way to do it, yes.

-Nick Johnson

2009/5/8 saintthor :
>
> thanks.
>
> i find a page about it. do you mean this way?
>
> http://appengine-cookbook.appspot.com/recipe/a-simple-cookie-class/?id=ahJhcHBlbmdpbmUtY29va2Jvb2tyqgELEgtSZWNpcGVJbmRleCJGYWhKaGNIQmxibWRwYm1VdFkyOXZhMkp2YjJ0eUhnc1NDRU5oZEdWbmIzSjVJaEJYWldKaGNIQWdSbkpoYldWM2IzSnJEQQwLEgZSZWNpcGUiR2FoSmhjSEJsYm1kcGJtVXRZMjl2YTJKdmIydHlIZ3NTQ0VOaGRHVm5iM0o1SWhCWFpXSmhjSEFnUm5KaGJXVjNiM0pyREEzDA
>
> On 5月8日, 下午4时57分, "Nick Johnson (Google)" 
> wrote:
>> Hi,
>>
>> Changing the cookies in the request will not affect the cookies on the
>> client. You need to send a "Set-Cookie" header to the client. You may
>> find the Cookie library in the Python standard lib useful for
>> generating these.
>>
>> -Nick Johnson
>>
>> On Fri, May 8, 2009 at 9:01 AM, saintthor  wrote:
>>
>> > for example, in get()
>>
>> > if not self.request.cookies:
>> >  self.request.cookies["d"] = "thor"
>> >  self.response.out.write( "no cookies." )
>> > else:
>> >  self.response.out.write( self.request.cookies["d"] )
>>
>> > refresh the page some times, it always show me "no cookies."
>>
>> > how to save the cookies after setting a value?
> 

--~--~-~--~~~---~--~~
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: Django 1.0

2009-05-08 Thread Andy Freeman

Note that Django 1.1 is coming "soon" (
http://www.djangoproject.com/weblog/2009/may/07/django-1-1-update/ )
so it would be nice if app engine made the leap.

On May 8, 5:33 am, Andy Freeman  wrote:
> Native django 1.0 may not be on the roadmap, but it is a very popular
> request.
>
> To join that crowd, 
> starhttp://code.google.com/p/googleappengine/issues/detail?id=872
> .
>
> On May 8, 1:59 am, "Nick Johnson (Google)" 
> wrote:
>
>
>
> > Hi little_pea,
>
> > It's not currently on our roadmap, so don't count on it in the near
> > future. You can use Django 1.0 in your App Engine apps, you just have
> > to bundle it and upload it with your app.
>
> > -Nick Johnson
>
> > On Fri, May 8, 2009 at 12:41 AM, little_pea  
> > wrote:
>
> > > Does enybody know id Django 1.0 support is planned for App Engine?- Hide 
> > > quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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: Accidentally deleted my files; Can I download them back?

2009-05-08 Thread dalenewman

Wiiboy - you can get a free private source code repository here:
http://unfuddle.com/

I'm using it and it's pretty great :-)

Dale
www.bookdope.com

On May 7, 10:45 am, Wiiboy  wrote:
> Never mind, I got them back.
--~--~-~--~~~---~--~~
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: Django 1.0

2009-05-08 Thread Andy Freeman

Native django 1.0 may not be on the roadmap, but it is a very popular
request.

To join that crowd, star 
http://code.google.com/p/googleappengine/issues/detail?id=872
.


On May 8, 1:59 am, "Nick Johnson (Google)" 
wrote:
> Hi little_pea,
>
> It's not currently on our roadmap, so don't count on it in the near
> future. You can use Django 1.0 in your App Engine apps, you just have
> to bundle it and upload it with your app.
>
> -Nick Johnson
>
>
>
> On Fri, May 8, 2009 at 12:41 AM, little_pea  
> wrote:
>
> > Does enybody know id Django 1.0 support is planned for App Engine?- Hide 
> > quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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: How to save cookies?

2009-05-08 Thread saintthor

thanks.

i find a page about it. do you mean this way?

http://appengine-cookbook.appspot.com/recipe/a-simple-cookie-class/?id=ahJhcHBlbmdpbmUtY29va2Jvb2tyqgELEgtSZWNpcGVJbmRleCJGYWhKaGNIQmxibWRwYm1VdFkyOXZhMkp2YjJ0eUhnc1NDRU5oZEdWbmIzSjVJaEJYWldKaGNIQWdSbkpoYldWM2IzSnJEQQwLEgZSZWNpcGUiR2FoSmhjSEJsYm1kcGJtVXRZMjl2YTJKdmIydHlIZ3NTQ0VOaGRHVm5iM0o1SWhCWFpXSmhjSEFnUm5KaGJXVjNiM0pyREEzDA

On 5月8日, 下午4时57分, "Nick Johnson (Google)" 
wrote:
> Hi,
>
> Changing the cookies in the request will not affect the cookies on the
> client. You need to send a "Set-Cookie" header to the client. You may
> find the Cookie library in the Python standard lib useful for
> generating these.
>
> -Nick Johnson
>
> On Fri, May 8, 2009 at 9:01 AM, saintthor  wrote:
>
> > for example, in get()
>
> > if not self.request.cookies:
> >  self.request.cookies["d"] = "thor"
> >  self.response.out.write( "no cookies." )
> > else:
> >  self.response.out.write( self.request.cookies["d"] )
>
> > refresh the page some times, it always show me "no cookies."
>
> > how to save the cookies after setting a value?
--~--~-~--~~~---~--~~
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] "line contains NULL byte" error

2009-05-08 Thread brightnesslevels

I'm getting this when trying to edit an entity through devserver
dashboard.
It's an entity with two datetime properties, string, text, user,
boolean and list properties.
When I hit "save" without even modifying anything of an entry, I get
this error:

Traceback (most recent call last):
  File "/home/sp/bin/google_appengine/1.2.1/google/appengine/ext/
webapp/__init__.py", line 503, in __call__
handler.post(*groups)
  File "/home/sp/bin/google_appengine/1.2.1/google/appengine/ext/admin/
__init__.py", line 763, in post
value = data_type.parse(form_value)
  File "/home/sp/bin/google_appengine/1.2.1/google/appengine/ext/admin/
__init__.py", line 909, in parse
return reader.next()
Error: line contains NULL byte

I'm doing this on Firefox 3.0.10 under Ubuntu 9.04.
--~--~-~--~~~---~--~~
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: App Engine Chat Time!

2009-05-08 Thread tommytastic

Will a transcript of the last chat session by published ? I couldn't
make it unfortunately.
 thanks

On Mar 18, 12:33 am, Jason  wrote:
> Hi Everyone!
>
> Every first and third Wednesday of the month, the App Engine team
> hosts IRC Chat Time, an opportunity for you to get answers to your App
> Engine-related questions in real-time.
>
> Here's the schedule:
> - Every FIRST Wednesday of the month from 7:00 to 8:00 p.m. PDT
> - Every THIRD Wednesday of the month from 9:00 to 10:00 a.m. PDT
>
> So our schedule for the next few months looks like:
> - March 18, 9:00-10:00 a.m. PDT
> - April 1, 7:00-8:00 p.m. PDT
> - April 15, 9:00-10:00 a.m. PDT
> - May 6, 7:00-8:00 p.m. PDT
> - May 20, 9:00-10:00 a.m. PDT
> ...
>
> These chat sessions take place on the #appengine channel on
> irc.freenode.net. For a list of IRC clients, see the following URL:
>
> http://en.wikipedia.org/wiki/List_of_IRC_clientsfor a helpful
>
> We welcome all App Engine-related questions and we will try to answer
> as many as we can in the hour session.
>
> See you there!
> - Jason
--~--~-~--~~~---~--~~
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: Django 1.0

2009-05-08 Thread Nick Johnson (Google)

Hi little_pea,

It's not currently on our roadmap, so don't count on it in the near
future. You can use Django 1.0 in your App Engine apps, you just have
to bundle it and upload it with your app.

-Nick Johnson

On Fri, May 8, 2009 at 12:41 AM, little_pea  wrote:
>
> Does enybody know id Django 1.0 support is planned for 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] Re: How to save cookies?

2009-05-08 Thread Nick Johnson (Google)

Hi,

Changing the cookies in the request will not affect the cookies on the
client. You need to send a "Set-Cookie" header to the client. You may
find the Cookie library in the Python standard lib useful for
generating these.

-Nick Johnson

On Fri, May 8, 2009 at 9:01 AM, saintthor  wrote:
>
> for example, in get()
>
> if not self.request.cookies:
>  self.request.cookies["d"] = "thor"
>  self.response.out.write( "no cookies." )
> else:
>  self.response.out.write( self.request.cookies["d"] )
>
> refresh the page some times, it always show me "no cookies."
>
> how to save the cookies after setting a value?

--~--~-~--~~~---~--~~
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] How to save cookies?

2009-05-08 Thread saintthor

for example, in get()

if not self.request.cookies:
  self.request.cookies["d"] = "thor"
  self.response.out.write( "no cookies." )
else:
  self.response.out.write( self.request.cookies["d"] )

refresh the page some times, it always show me "no cookies."

how to save the cookies after setting a value?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---