This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#185 closed defect (fixed)

Error creating a subcontribution - French version

Reported by: jbenito Owned by: lsyroka
Priority: normal Milestone: v0.97.0
Component: General Version: 0.97.0
Keywords: Cc:

Description

trying to create a sub-contribution, it works in English but not in French.

Error details

exception message => not enough arguments for format string
exception type => exceptions.TypeError
traceback => 
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97b2-py2.4.egg/MaKaC/webinterface/rh/base.py", line 485, in process
    res = self._process()

  File "/usr/lib/python2.4/site-packages/cds_indico-0.97b2-py2.4.egg/MaKaC/webinterface/rh/contribMod.py", line 308, in _process
    return p.display(**params)

  File "/usr/lib/python2.4/site-packages/cds_indico-0.97b2-py2.4.egg/MaKaC/webinterface/pages/base.py", line 146, in display
    return "%s%s%s"%( self._getHTMLHeader(), \

  File "/usr/lib/python2.4/site-packages/cds_indico-0.97b2-py2.4.egg/MaKaC/webinterface/pages/main.py", line 160, in _display
    body = WMainBase(self._getBody( params ), self._timezone, self._getNavigationDrawer(),

  File "/usr/lib/python2.4/site-packages/cds_indico-0.97b2-py2.4.egg/MaKaC/webinterface/pages/conferences.py", line 2202, in _getBody
    return self._applyFrame( self._getPageContent( params ) )

  File "/usr/lib/python2.4/site-packages/cds_indico-0.97b2-py2.4.egg/MaKaC/webinterface/pages/contributions.py", line 420, in _getPageContent
    body = wcomponents.WTabControl( self._tabCtrl, self._getAW() ).getHTML( self._getTabContent( params ) )

  File "/usr/lib/python2.4/site-packages/cds_indico-0.97b2-py2.4.egg/MaKaC/webinterface/pages/contributions.py", line 1079, in _getTabContent
    return wc.getHTML( params )

  File "/usr/lib/python2.4/site-packages/cds_indico-0.97b2-py2.4.egg/MaKaC/webinterface/wcomponents.py", line 192, in getHTML
    tempHTML = TemplateExec.executeTemplate( text, vars, self.tplId )

  File "/usr/lib/python2.4/site-packages/cds_indico-0.97b2-py2.4.egg/MaKaC/common/TemplateExec.py", line 441, in executeTemplate
    raise e

request handler => <class 'MaKaC.webinterface.rh.contribMod.RHContributionAddSC'>
url => http://indicobeta.cern.ch/contributionModifSubCont.py/add
parameters => 
contribId = 0
presenterOptions = &lt;option value=""&gt; &lt;/option&gt;
presenterDefined = None
days = all
confId = 85025
headers => 
Host: indicobeta.cern.ch
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.2) Gecko/20100115 Firefox/3.6 GTB6 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en,fr;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://indicobeta.cern.ch/contributionModifSubCont.py?contribId=0&amp;confId=85025

Change History (5)

comment:1 Changed 6 years ago by pferreir

  • Owner set to lsyroka
  • Status changed from new to assigned

comment:2 Changed 6 years ago by lsyroka

  • Status changed from assigned to accepted

comment:3 Changed 6 years ago by lsyroka

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

comment:4 Changed 6 years ago by leszek.marek.syroka@…

commit 962f8e039617b57385fa49e56e1d71bfb87512bc
Author: Leszek Syroka <leszek.marek.syroka@…>
Date: Wed Mar 17 15:21:11 2010 +0100

[FIX] Creating subcontributions


  • problem with creating subcontributions in French version was removed
  • problem with language changing in subcontribution webpage removed
  • fixes #185

comment:5 Changed 5 years ago by Leszek Syroka <leszek.marek.syroka@…>

In [962f8e039617b57385fa49e56e1d71bfb87512bc]:

[FIX] Creating subcontributions

  • problem with creating subcontributions in French version was removed
  • problem with language changing in subcontribution webpage removed
  • fixes #185
Note: See TracTickets for help on using tickets.