Ticket #1121 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

bcfg2 reports fail with the newest version(1.4) of Django

Reported by: Owned by: desai
Priority: major Milestone: Bcfg2 1.3.0 Release
Component: bcfg2-reports Version: 1.0
Keywords: Cc:



I tried to setup the bcfg2-1.2.3 report with Django-1.4 which is the newest version on July 18, 2012 and I found that it has some issues with the following full traceback.

As Jerome suggested, I tried to comment out one of the two templates or both, the templates error did not disappear.

While this bug is fixed, I tried to use Django-1.3 and it seems to work fine for the bcfg2 report.


Request Method: GET
Request URL:

Django Version: 1.4
Python Version: 2.6.6
Installed Applications:
Installed Middleware:

File "/usr/lib/python2.6/site-packages/Django-1.4-py2.6.egg/django/core/handlers/" in get_response
  111.                         response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Reports/reports/" in _handle_timeview
  82.         return fn(request, **kwargs)
File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Reports/reports/" in client_index
  169.                               context_instance=RequestContext(request))
File "/usr/lib/python2.6/site-packages/Django-1.4-py2.6.egg/django/shortcuts/" in render_to_response
  20.     return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
File "/usr/lib/python2.6/site-packages/Django-1.4-py2.6.egg/django/template/" in render_to_string
  169.         t = get_template(template_name)
File "/usr/lib/python2.6/site-packages/Django-1.4-py2.6.egg/django/template/" in get_template
  145.     template, origin = find_template(template_name)
File "/usr/lib/python2.6/site-packages/Django-1.4-py2.6.egg/django/template/" in find_template
  128.             loader = find_template_loader(loader_name)
File "/usr/lib/python2.6/site-packages/Django-1.4-py2.6.egg/django/template/" in find_template_loader
  101.             raise ImproperlyConfigured('Error importing template source loader %s: "%s"' % (loader, e))

Exception Type: ImproperlyConfigured at /grid
Exception Value: Error importing template source loader django.template.loaders.filesystem.load_template_source: "'module' object has no attribute 'load_template_source'"


Change History

comment:1 Changed 11 years ago by solj

  • Status changed from new to closed
  • Resolution set to fixed

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.