On 19 September 2010 09:08, Yo-Yo Ma <baxterstock...@gmail.com> wrote:
>  File "C:\Python26\Lib\site-packages\django-trunk\django\template
> \__init__.py", line 352, in add_library
>    self.tags.update(lib.tags)
>
> AttributeError: 'NoneType' object has no attribute 'tags'

Check for import loops. I've seen these often. Try peppering the code
with "assert False", check especially whether functions can see
variables outside its own scope, e.g: imports on module level, or must
you import in the inner scope of the function/method to make a name
visible?

Check also that you don't have a namespace collision, that is: a
django app has the same name as something non-django in you
python-path and you import the wrong module.


HM

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to