try
def an(x): return x.name

class Name(db.Model): 
    name=db.StringProperty(unicode)
    list=db.ListProperty(int) 

>
> class Calc(webapp.RequestHandler): 
    def get(self): 
        begin=Name.all() 
        self.response.out.write('<html><body>') 
        self.response.out.write(" ".join(map(an,begin))) 
        self.response.out.write('</body></html>') 

On Monday, March 14, 2011 5:11:03 AM UTC-4, Gadh wrote:
>
> Hi; 
> I bulkloaded to the data store 88 entities, each one is composed from 
> a unicode field (name), and a list field (lst) of 4996 numbers. 
> When I try to run this code: 
> " 
> class Name(db.Model): 
>     name=db.StringProperty(unicode) 
>     lst=db.ListProperty(int) 
>
> class Calc(webapp.RequestHandler): 
>     def get(self): 
>         begin=Name.all() 
>         self.response.out.write('<html><body>') 
>         for b in begin: 
>             self.response.out.write(b.name+' ') 
>         self.response.out.write('</body></html>') 
> " 
> I got a memory error. 
> what did I do wrong? 
>
> I'm a newbie in GAE, so please be patient. 
> Any help will be apprisiated; 
>
> Regards; 
> Gadh. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to