Re: [Django] #15158: Server-crashing error: local variable 'loader_name' referenced before assignment

2011-01-29 Thread Django
#15158: Server-crashing error: local variable 'loader_name' referenced before
assignment
-+--
   Reporter:  gsf| Owner:  ramiro
 Status:  closed | Milestone:  1.3   
  Component:  Core framework |   Version:  SVN   
 Resolution:  fixed  |  Keywords:  regression
   Triage Stage:  Ready for checkin  | Has patch:  1 
Needs documentation:  0  |   Needs tests:  1 
Patch needs improvement:  0  |  
-+--

Comment (by gsf):

 Replying to [comment:4 ramiro]:
 > @gsf:
 >
 > It seems one of the template loaders you have listed in your
 `TEMPLATE_LOADERS` setting has problems when it is going to be loaded. Can
 you verify this and post the value of such setting?

 Sorry I missed this earlier. It looks like the error was caused by a
 combination of a missing template and the old style for template loaders
 in my settings file, i.e.:

 {{{
 TEMPLATE_LOADERS = (
 'django.template.loaders.filesystem.load_template_source',
 'django.template.loaders.app_directories.load_template_source',
 )
 }}}

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15158: Server-crashing error: local variable 'loader_name' referenced before assignment

2011-01-25 Thread Django
#15158: Server-crashing error: local variable 'loader_name' referenced before
assignment
+---
  Reporter:  gsf| Owner:  ramiro
Status:  assigned   | Milestone:  1.3   
 Component:  Core framework |   Version:  SVN   
Resolution: |  Keywords:  regression
 Stage:  Ready for checkin  | Has_patch:  1 
Needs_docs:  0  |   Needs_tests:  1 
Needs_better_patch:  0  |  
+---
Changes (by jezdez):

  * stage:  Accepted => Ready for checkin

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15158: Server-crashing error: local variable 'loader_name' referenced before assignment

2011-01-24 Thread Django
#15158: Server-crashing error: local variable 'loader_name' referenced before
assignment
-+--
  Reporter:  gsf | Owner:  ramiro
Status:  assigned| Milestone:  1.3   
 Component:  Core framework  |   Version:  SVN   
Resolution:  |  Keywords:  regression
 Stage:  Accepted| Has_patch:  1 
Needs_docs:  0   |   Needs_tests:  1 
Needs_better_patch:  0   |  
-+--
Changes (by ramiro):

  * has_patch:  0 => 1

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15158: Server-crashing error: local variable 'loader_name' referenced before assignment

2011-01-24 Thread Django
#15158: Server-crashing error: local variable 'loader_name' referenced before
assignment
-+--
  Reporter:  gsf | Owner:  ramiro
Status:  assigned| Milestone:  1.3   
 Component:  Core framework  |   Version:  SVN   
Resolution:  |  Keywords:  regression
 Stage:  Accepted| Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  1 
Needs_better_patch:  0   |  
-+--
Comment (by ramiro):

 @gsf:

 It seems one of the template loaders you have listed in your
 `TEMPLATE_LOADERS` setting has problems when it is going to be loaded. Can
 you verify this and post the value of such setting?

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15158: Server-crashing error: local variable 'loader_name' referenced before assignment

2011-01-24 Thread Django
#15158: Server-crashing error: local variable 'loader_name' referenced before
assignment
-+--
  Reporter:  gsf | Owner:  ramiro
Status:  assigned| Milestone:  1.3   
 Component:  Core framework  |   Version:  SVN   
Resolution:  |  Keywords:  regression
 Stage:  Accepted| Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  1 
Needs_better_patch:  0   |  
-+--
Changes (by ramiro):

  * keywords:  => regression
  * owner:  nobody => ramiro
  * stage:  Unreviewed => Accepted
  * status:  new => assigned
  * milestone:  => 1.3

Comment:

 Oops, that was me in r15252. Thanks for the report.

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15158: Server-crashing error: local variable 'loader_name' referenced before assignment

2011-01-24 Thread Django
#15158: Server-crashing error: local variable 'loader_name' referenced before
assignment
-+--
  Reporter:  gsf | Owner:  nobody
Status:  new | Milestone:
 Component:  Core framework  |   Version:  SVN   
Resolution:  |  Keywords:
 Stage:  Unreviewed  | Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  1 
Needs_better_patch:  0   |  
-+--
Changes (by gsf):

  * needs_tests:  0 => 1

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #15158: Server-crashing error: local variable 'loader_name' referenced before assignment

2011-01-24 Thread Django
#15158: Server-crashing error: local variable 'loader_name' referenced before
assignment
-+--
  Reporter:  gsf | Owner:  nobody
Status:  new | Milestone:
 Component:  Core framework  |   Version:  SVN   
Resolution:  |  Keywords:
 Stage:  Unreviewed  | Has_patch:  0 
Needs_docs:  0   |   Needs_tests:  0 
Needs_better_patch:  0   |  
-+--
Changes (by gsf):

  * needs_better_patch:  => 0
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 Sorry, here's the traceback preformatted:
 {{{
 Traceback (most recent call last):

   File "/usr/local/lib/python2.6/dist-
 packages/django/core/servers/basehttp.py", line 282, in run
 self.result = application(self.environ, self.start_response)

   File "/usr/local/lib/python2.6/dist-
 packages/django/contrib/staticfiles/handlers.py", line 74, in __call__
 return self.application(environ, start_response)

   File "/usr/local/lib/python2.6/dist-
 packages/django/core/handlers/wsgi.py", line 273, in __call__
 response = self.get_response(request)

   File "/usr/local/lib/python2.6/dist-
 packages/django/core/handlers/base.py", line 169, in get_response
 response = self.handle_uncaught_exception(request, resolver,
 sys.exc_info())

   File "/usr/local/lib/python2.6/dist-
 packages/django/core/handlers/base.py", line 203, in
 handle_uncaught_exception
 return debug.technical_500_response(request, *exc_info)

   File "/usr/local/lib/python2.6/dist-packages/django/views/debug.py",
 line 59, in technical_500_response
 html = reporter.get_traceback_html()

   File "/usr/local/lib/python2.6/dist-packages/django/views/debug.py",
 line 105, in get_traceback_html
 'loader': loader_name,

 UnboundLocalError: local variable 'loader_name' referenced before
 assignment
 }}}

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



[Django] #15158: Server-crashing error: local variable 'loader_name' referenced before assignment

2011-01-24 Thread Django
#15158: Server-crashing error: local variable 'loader_name' referenced before
assignment
+---
 Reporter:  gsf |   Owner:  nobody
   Status:  new |   Milestone:
Component:  Core framework  | Version:  SVN   
 Keywords:  |   Stage:  Unreviewed
Has_patch:  0   |  
+---
 Getting the following fatal crash traceback when visiting a page pointing
 at a missing template:

 Traceback (most recent call last):

   File "/usr/local/lib/python2.6/dist-
 packages/django/core/servers/basehttp.py", line 282, in run
 self.result = application(self.environ, self.start_response)

   File "/usr/local/lib/python2.6/dist-
 packages/django/contrib/staticfiles/handlers.py", line 74, in __call__
 return self.application(environ, start_response)

   File "/usr/local/lib/python2.6/dist-
 packages/django/core/handlers/wsgi.py", line 273, in __call__
 response = self.get_response(request)

   File "/usr/local/lib/python2.6/dist-
 packages/django/core/handlers/base.py", line 169, in get_response
 response = self.handle_uncaught_exception(request, resolver,
 sys.exc_info())

   File "/usr/local/lib/python2.6/dist-
 packages/django/core/handlers/base.py", line 203, in
 handle_uncaught_exception
 return debug.technical_500_response(request, *exc_info)

   File "/usr/local/lib/python2.6/dist-packages/django/views/debug.py",
 line 59, in technical_500_response
 html = reporter.get_traceback_html()

   File "/usr/local/lib/python2.6/dist-packages/django/views/debug.py",
 line 105, in get_traceback_html
 'loader': loader_name,

 UnboundLocalError: local variable 'loader_name' referenced before
 assignment

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.