Opened 4 years ago
Closed 4 years ago
#760 closed defect (invalid)
style not found after switching branches
Reported by: | arescope | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | v0.98.1 |
Component: | General | Version: | |
Keywords: | Cc: |
Description (last modified by pferreir)
I changed from the marius branches with the mako styles to my branch I start getting this Exception
Traceback (most recent call last): File "/home/arescope/indico/cds-indico/indico/MaKaC/webinterface/rh/base.py", line 527, in process res = self._process() File "/home/arescope/indico/cds-indico/indico/MaKaC/webinterface/rh/conferenceModif.py", line 140, in _process return p.display(**pars) File "/home/arescope/indico/cds-indico/indico/MaKaC/webinterface/pages/base.py", line 176, in display self._display( params ), \ File "/home/arescope/indico/cds-indico/indico/MaKaC/webinterface/pages/main.py", line 159, in _display body = WMainBase(self._getBody( params ), self._timezone, self._getNavigationDrawer(), File "/home/arescope/indico/cds-indico/indico/MaKaC/webinterface/pages/conferences.py", line 2295, in _getBody return self._applyFrame( self._getPageContent( params ) ) File "/home/arescope/indico/cds-indico/indico/MaKaC/webinterface/meeting.py", line 810, in _getPageContent return wc.getHTML( pars ) File "/home/arescope/indico/cds-indico/indico/MaKaC/webinterface/wcomponents.py", line 205, in getHTML tempHTML = templateEngine.render(self.tplFile, vars) File "/home/arescope/indico/cds-indico/indico/MaKaC/common/TemplateExec.py", line 54, in render return template.render(**params) File "/usr/local/lib/python2.7/dist-packages/Mako-0.4.1-py2.7.egg/mako/template.py", line 296, in render return runtime._render(self, self.callable_, args, data) File "/usr/local/lib/python2.7/dist-packages/Mako-0.4.1-py2.7.egg/mako/runtime.py", line 660, in _render **_kwargs_for_callable(callable_, data)) File "/usr/local/lib/python2.7/dist-packages/Mako-0.4.1-py2.7.egg/mako/runtime.py", line 692, in _render_context _exec_template(inherit, lclcontext, args=args, kwargs=kwargs) File "/usr/local/lib/python2.7/dist-packages/Mako-0.4.1-py2.7.egg/mako/runtime.py", line 718, in _exec_template callable_(context, *args, **kwargs) File "/home/arescope/indico/tmp/mako_modules/home/arescope/indico/cds-indico/indico/MaKaC/webinterface/tpls/MConfModifMainData.tpl.py", line 25, in render_body runtime._include_file(context, 'EventModifMainData.tpl', _template_uri, evtType='meeting', confObj=self_._conf) File "/usr/local/lib/python2.7/dist-packages/Mako-0.4.1-py2.7.egg/mako/runtime.py", line 587, in _include_file callable_(ctx, **_kwargs_for_include(callable_, context._data, **kwargs)) File "/home/arescope/indico/tmp/mako_modules/home/arescope/indico/cds-indico/indico/MaKaC/webinterface/tpls/EventModifMainData.tpl.py", line 303, in render_body __M_writer(str( macros.genericField(macros.FIELD_SELECT, 'inPlaceEditDefaultStyle', 'event.main.changeDefaultStyle', dict(conference="%s"%conferenceId), preCache=True, rh=self_._rh, options=info.HelperMaKaCInfo.getMaKaCInfoInstance().getStyleManager().getStylesheetDictForEventType(confObj.getType()), orderOptionsBy = "value") )) File "/home/arescope/indico/cds-indico/indico/MaKaC/common/info.py", line 531, in getStylesheetDictForEventType return dict((ssid, self._stylesheets[ssid]) for ssid in self._eventStylesheets.get( type, [] )) File "/home/arescope/indico/cds-indico/indico/MaKaC/common/info.py", line 531, in <genexpr> return dict((ssid, self._stylesheets[ssid]) for ssid in self._eventStylesheets.get( type, [] )) KeyError: 'endotofpet' 2011-05-04 09:16:28,383 indico.wsgi : ERROR - WSGI Exception Traceback (most recent call last): File "/home/arescope/indico/cds-indico/indico/web/wsgi/indico_wsgi_handler.py", line 86, in application mp_legacy_publisher(req, possible_module, possible_handler) File "/home/arescope/indico/cds-indico/indico/web/wsgi/indico_wsgi_handler.py", line 217, in mp_legacy_publisher return _check_result(req, module_globals[possible_handler](req, **form)) File "<string>", line 57, in index File "/home/arescope/indico/cds-indico/indico/MaKaC/webinterface/rh/base.py", line 621, in process res = self._processUnexpectedError( e ) File "/home/arescope/indico/cds-indico/indico/MaKaC/webinterface/rh/base.py", line 348, in _processUnexpectedError return p.display() File "/home/arescope/indico/cds-indico/indico/MaKaC/webinterface/pages/base.py", line 176, in display self._display( params ), \ File "/home/arescope/indico/cds-indico/indico/MaKaC/webinterface/pages/base.py", line 232, in _display return self._applyDecoration( self._getBody( params ) ) File "/home/arescope/indico/cds-indico/indico/MaKaC/webinterface/pages/errors.py", line 162, in _getBody return wc.getHTML() File "/home/arescope/indico/cds-indico/indico/MaKaC/webinterface/wcomponents.py", line 201, in getHTML vars = self.getVars() File "/home/arescope/indico/cds-indico/indico/MaKaC/webinterface/pages/errors.py", line 51, in getVars url = str( self._rh.getRequestURL() ) AttributeError: ConferenceTitleModification instance has no attribute 'getRequestURL'
Change History (2)
comment:1 Changed 4 years ago by pferreir
- Description modified (diff)
comment:2 Changed 4 years ago by arescope
- Resolution set to invalid
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
After recalling setup.py develop_config it was working