[google-appengine] Help a Newbie and earn Karma

2011-04-14 Thread Jeremy Foote
I am new to App Engine, new to Python, and new to programming. :) 
Unfortunately, I don't know what I don't know, so this question will be more 
vague than I would like.

I made some changes to my app, which seem to work fine locally, but when I 
try to run it on appspot, I am getting the following error:

Traceback (most recent call last): File 
"/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py",
 
line 636, in __call__ handler.post(*groups) 

File 
"/base/data/home/apps/kivarecruit/2.349655460595293903/kivarecruit_main.py", 
line 136, in post loansData.append({'date': statsObject.date, 
loansColumns[i]: statsObject.loans}) 

MemoryError

I can't figure out why, and I don't really know enough to know where to 
look. The offending file is at 
https://github.com/jdfoote/Kiva-Team-Tools/blob/master/webApp/kivarecruit_main.py.
 
If anyone could find it in the goodness of their heart to take a look and 
tell me where I'm being an idiot, I would deeply appreciate it!

Many thanks!,
Jeremy

-- 
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.



Re: [google-appengine] Help a Newbie and earn Karma

2011-04-18 Thread djidjadji
The method dict.values() is the same as your mapToList(dictionary)
function, but a lot faster.

2011/4/14 Jeremy Foote :
> I am new to App Engine, new to Python, and new to programming. :)
> Unfortunately, I don't know what I don't know, so this question will be more
> vague than I would like.

-- 
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.



Re: [google-appengine] Help a Newbie and earn Karma

2011-04-18 Thread Jeremy Foote
Thanks very much!

On Mon, Apr 18, 2011 at 3:55 AM, djidjadji  wrote:

> The method dict.values() is the same as your mapToList(dictionary)
> function, but a lot faster.
>
> 2011/4/14 Jeremy Foote :
> > I am new to App Engine, new to Python, and new to programming. :)
> > Unfortunately, I don't know what I don't know, so this question will be
> more
> > vague than I would like.
>
> --
> 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.
>
>

-- 
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.