Just found out what could be my problem:

http://code.google.com/p/googleappengine/issues/detail?id=1409

My main.py is also deleting django from sys.modules, I'll give a try
to use_library, let's se what happens

On Tue, Oct 26, 2010 at 7:16 PM, Rafael Sierra <rafaeljs...@gmail.com> wrote:
> Hi, I'm getting a really high number of errors which I don't get, this
> is the error:
>
>  File "/base/data/home/apps/myapp/version/django/core/urlresolvers.py",
> line 188, in _populate
>    lookups.appendlist(pattern.name, (bits, p_pattern))
> AttributeError: 'RegexURLResolver' object has no attribute 'name'
>
> It is inside Django, ok? Now we look into urlresolvers.py:
>
>            if isinstance(pattern, RegexURLResolver):
>                # blah blah
>            else:
>                bits = normalize(p_pattern)
>                lookups.appendlist(pattern.callback, (bits, p_pattern))
>                lookups.appendlist(pattern.name, (bits, p_pattern))
>
> (As it may take away the formatting, here is the code:
> http://dpaste.com/hold/264574/ )
>
> The last line is the line 188, where it's reached ONLY IF pattern is
> not a RegexURLResolver instance, so, how could `pattern` not be a
> RegexURLResolver and then become one?
>
> I'm getting this error in almost 2 of 3 requests...:(
>
> --
> Rafael Sierra
> http://blog.rafaelsdm.com
>



-- 
Rafael Sierra
http://blog.rafaelsdm.com

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

Reply via email to