Custom Query (894 matches)


Show under each result:

Results (37 - 39 of 894)

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Ticket Owner Reporter Resolution Summary
#1122 desai [email protected] fixed RPMng - typo in comment

Typo in comment line 483 """" , should be """

#1121 desai fixed bcfg2 reports fail with the newest version(1.4) of Django


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'"
#1120 fixed The missing <Group> tag in Packages/sources.xml causes an error


There seems to be an error when <Group> tag is missing and <Source ...> <Arch>..</Arch></Source> exists in Packages/sources.xml.

FYI, here is my Packages/sources.xml.

[[email protected] bcfg2]# cat Packages/sources.xml 
    <Group name="rhel-6.2">
       <Source type="yum" rawurl=""  >

As soon as bcfg2 -qvn runs without above the <Group> tag, the following error shows up

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/", line 391, in GetProbes
    meta = self.build_metadata(name)
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/", line 363, in build_metadata
    data = conn.get_additional_data(imd)
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Plugins/Packages/", line 270, in get_additional_data
    collection = self._get_collection(metadata)
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Plugins/Packages/", line 267, in _get_collection
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Plugins/Packages/", line 340, in factory
    collection = cclass(metadata, relevant, basepath, debug=debug)
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Plugins/Packages/", line 100, in __init__
    "cache-%s" % self.cachekey)
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Plugins/Packages/", line 47, in cachekey
    return md5(self.get_config()).hexdigest()
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Plugins/Packages/", line 174, in get_config
    basereponame = source.get_repo_name(url_map)
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Plugins/Packages/", line 721, in get_repo_name
    return Source.get_repo_name(self, url_map)
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Plugins/Packages/", line 163, in get_repo_name
    rname = self.groups[0]
IndexError: list index out of range
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Note: See TracQuery for help on using queries.