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 5 years ago

Closed 5 years ago

Last modified 5 years ago

#556 closed defect (fixed)

Recording Manager error for non-numerical conf IDs

Reported by: jherr Owned by: jherr
Priority: normal Milestone: v0.97.0
Component: Video Services Version: 0.97.0
Keywords: Cc:

Description

This event has a non-numerical id and the "recording manager" tab gives an error.
Chris needs this fixed to create CDS records for old videos.
Thanks!
Thomas


From: thomas.baron@… thomas.baron@…
Sent: 29 October 2010 15:48
To: indico-team (CERN Indico team)
Subject: [Indico@http://indico.cern.ch] Error report


User Comments

Dear All,
please correct this!
Thanks in advance,
Thomas


Error details

exception message => invalid literal for int(): a034286
exception type => exceptions.ValueError?
traceback =>

File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/rh/base.py", line 486, in process

res = self._process()

File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/rh/collaboration.py", line 235, in _process

return p.display()

File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/pages/base.py", line 164, in display

return "%s%s%s"%( self._getHTMLHeader(), \

File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/pages/main.py", line 159, in _display

body = WMainBase(self._getBody( params ), self._timezone, self._getNavigationDrawer(),

File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/pages/conferences.py", line 2229, in _getBody

return self._applyFrame( self._getPageContent( params ) )

File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/pages/collaboration.py", line 248, in _getPageContent

return wcomponents.WTabControl(self._tabCtrl, self._getAW()).getHTML(wc.getHTML({}))

File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/wcomponents.py", line 190, in getHTML

vars = self.getVars()

File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/pages/collaboration.py", line 299, in getVars

singleBookingForms[pluginName] = templateClass(self._conf, pluginName, self._user).getHTML()

File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/webinterface/wcomponents.py", line 190, in getHTML

vars = self.getVars()

File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/plugins/Collaboration/RecordingManager/pages.py", line 41, in getVars

talks = getTalks(self._conf, sort = True)

File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/plugins/Collaboration/RecordingManager/common.py", line 68, in getTalks

subcontribution = None)

File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/plugins/Collaboration/RecordingManager/common.py", line 314, in generateIndicoID

IndicoID = "%d" % (int(conference),)

request handler => <class 'MaKaC.webinterface.rh.collaboration.RHConfModifCSBookings'>
url => https://indico.cern.ch/confModifCollaboration.py?tab=Recording+Manager&confId=a034286
parameters =>
tab = Recording Manager
confId = a034286
headers =>
Host: indico.cern.ch
Accept: image/gif, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
Referer: https://indico.cern.ch/confModifCollaboration.py?confId=a034286
Accept-Language: en-gb
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; InfoPath?.2; .NET CLR 3.0.30729; .NET CLR 3.5.30729)
Accept-Encoding: gzip, deflate
Cookie: _saml_idp=aHR0cHM6Ly9jZXJuLmNoL2xvZ2lu; MAKACSESSION=13B7EE21C2EA107D; _shibsession_64656661756c7468747470733a2f2f696e6469636f2e6365726e2e63682f53686962626f6c6574682e73736f2f41444653=_b01a6a4844825286186f9c0fd45b2957
Max-Forwards: 10
X-Forwarded-For: 137.138.38.80
X-Forwarded-Host: indico.cern.ch
X-Forwarded-Server: indico.cern.ch
Connection: close
user => [2] BARON, Thomas <thomas.baron@…>

Change History (3)

comment:1 Changed 5 years ago by jherr

  • Status changed from new to in_merge

comment:2 Changed 5 years ago by Jeremy Herr <jeremy.herr@…>

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

In [f1286070b9dc8fc9538c0b0aa78af602caa1695d]:

[FIX] RecMan? now works with non-numerical confIDs

  • Updated generateIndicoID() and parseIndicoID() to correctly handle non-numerical conference IDs, e.g. a034286.
  • The old CDS agenda had these non-numerical IDs, the new one just uses numbers though.
  • Jose thinks it's possible there might be other letters too, like l, so I changed the regexp to \w*\d+
  • fixes #556

comment:3 Changed 5 years ago by Jeremy Herr <jeremy.herr@…>

In [f1286070b9dc8fc9538c0b0aa78af602caa1695d]:

[FIX] RecMan? now works with non-numerical confIDs

  • Updated generateIndicoID() and parseIndicoID() to correctly handle non-numerical conference IDs, e.g. a034286.
  • The old CDS agenda had these non-numerical IDs, the new one just uses numbers though.
  • Jose thinks it's possible there might be other letters too, like l, so I changed the regexp to \w*\d+
  • fixes #556
Note: See TracTickets for help on using tickets.