#694: Translations scaffolding
------------------------+----------------------
Reporter: olemis | Owner: olemis
Type: task | Status: assigned
Priority: minor | Milestone:
Component: trac core | Version: 0.7.0
Resolution: | Keywords: i18n
------------------------+----------------------
Comment (by SaintGermain):
Hum it seems that I introduced a bug.
Indeed when accessing the dashboard, I got this error:
{{{
Traceback (most recent call last):
File "/home/user/bloodhound/trac/trac/web/main.py", line 498, in
_dispatch_request
dispatcher.dispatch(req)
File "/home/user/bloodhound/trac/trac/web/main.py", line 220, in
dispatch
resp = chosen_handler.process_request(req)
File "/home/user/bloodhound/bloodhound_dashboard/bhdashboard/web_ui.py",
line 110, in process_request
else self.DASHBOARD_GLOBAL_SCHEMA
File "/home/user/bloodhound/bloodhound_dashboard/bhdashboard/web_ui.py",
line 253, in expand_layout_data
layout = DashboardSystem(self.env).resolve_layout(layout_name)
File "/home/user/bloodhound/bloodhound_dashboard/bhdashboard/api.py",
line 301, in resolve_layout
lambda _, lp: lp.get_layouts() , "No provider for layout %s")
File "/home/user/bloodhound/bloodhound_dashboard/bhdashboard/api.py",
line 297, in _resolve
raise LookupError(errmsg % (objnm,))
LookupError: No provider for layout bootstrap_grid
}}}
I think that is because I added the __init__ method in the class
DashboardSystem in the file bhdashboard/api.py but I am not sure.
Any idea about this bug ?
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/694#comment:27>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker