I have ckanext-openafrica running well under CKAN 2.7 in a test environment. Since they're now on version 2.9, I decided to move up one level to CKAN 2.8. Ckanext-openafrica and ckan 2.8 don't seem to get along. :)
File "/usr/lib/ckan/default/src/ckanext-openafrica/ckanext/openafrica/templates/header.html", line 49, in block "header_wrapper"
<a href="{{ h.url_for(controller='user', action='dashboard') }}">Control Panel</a>
File "/usr/lib/ckan/default/src/ckan/ckan/lib/helpers.py", line 332, in url_for
return _local_url(my_url, locale=locale, **kw)
File "/usr/lib/ckan/default/src/ckan/ckan/lib/helpers.py", line 537, in _local_url
raise ckan.exceptions.CkanUrlException(error)
CkanUrlException: There is a broken url being created {'action': 'dashboard', 'controller': 'user'}
Looking at the code the error seems to be triggered triggered by this bit in function _local_url under section lines 535-539 of helpers.py, which is as follows:
if url == '/packages':
error = 'There is a broken url being created %s' % kw
raise ckan.exceptions.CkanUrlException(error)
return url