#3349: If an ImportError occurs within a custom template tag library, a rather
confusing error message is produced
-------------------------------------------------+--------------------------
   Reporter:  Chris Wagner <[EMAIL PROTECTED]>  |                Owner:  adrian 
        
     Status:  new                                |            Component:  
Template system
    Version:  SVN                                |           Resolution:        
         
   Keywords:                                     |                Stage:  
Accepted       
  Has_patch:  0                                  |           Needs_docs:  0     
         
Needs_tests:  0                                  |   Needs_better_patch:  0     
         
-------------------------------------------------+--------------------------
Comment (by Jens Diemer):

 I have a similar case. The error message is misleading:
 {{{
 InvalidTemplateLibrary: Could not load template library from
 django.templatetags.pylucid_tags, No module named template
 }}}
 The path '''django.templatetags.pylucid_tags''' is wrong. My Module is in
 '''!PyLucid.templatetags.pylucid_tags'''.
 So i have thought my Lib was not found and therefore was not loaded.
 
 I ignored the last part of the message: '''No module named template'''.
 That is the actual error.
 
 I don't know how to patch this...

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3349#comment:2>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to