This is an automated notification sent by LCG Savannah.
It relates to:
                task #12150, project CDS Invenio

==============================================================================
 OVERVIEW of task #12150:
==============================================================================

URL:
  <http://savannah.cern.ch/task/?12150>

                 Summary: Traceback on holdings page when no item is
available
                 Project: CDS Invenio
            Submitted by: jcaffaro
            Submitted on: 2009-10-26 12:45
         Should Start On: 2009-10-26 00:00
   Should be Finished on: 2009-10-26 00:00
                Category: BibCirculation
                Priority: 7 - High
                  Status: Need Info
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: jgarcial
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00

    _______________________________________________________


An exception is raised when viewing holdings page of an entry without items:

(Occurred on development server, which might be the latest version of
BibCirculation... or not)
uri: </record/1148905/holdings>


Forced traceback (most recent call last):
  File "/usr/lib64/python2.3/site-packages/mod_python/importer.py", line
1229, in _process_target
    result = _execute_target(config, req, object, arg)
  File "/usr/lib64/python2.3/site-packages/mod_python/importer.py", line
1128, in _execute_target
    result = object(arg)
  File "/usr/lib64/python2.3/site-packages/invenio/webinterface_handler.py",
line 318, in _profiler
    return _handler(req)
Traceback (most recent call last):
  File "/usr/lib64/python2.3/site-packages/invenio/webinterface_handler.py",
line 360, in _handler
    return root._traverse(req, path, False, guest_p)
  File "/usr/lib64/python2.3/site-packages/invenio/webinterface_handler.py",
line 205, in _traverse
    return obj._traverse(req, path, do_head, guest_p)
  File "/usr/lib64/python2.3/site-packages/invenio/webinterface_handler.py",
line 224, in _traverse
    result = _check_result(req, obj(req, form))
  File
"/usr/lib64/python2.3/site-packages/invenio/bibcirculation_webinterface.py",
line 303, in index
    return self.display(req, form)
  File
"/usr/lib64/python2.3/site-packages/invenio/bibcirculation_webinterface.py",
line 319, in display
    body = perform_get_holdings_information(self.recid, argd['ln'])
  File "/usr/lib64/python2.3/site-packages/invenio/bibcirculation.py", line
146, in perform_get_holdings_information
    ln=ln)
  File
"/usr/lib64/python2.3/site-packages/invenio/bibcirculation_templates.py",
line 220, in tmpl_holdings_information2
    if all_copies_are_missing(recid):
  File "/usr/lib64/python2.3/site-packages/invenio/bibcirculation_utils.py",
line 606, in all_copies_are_missing
    copies_status = db.get_copies_status(recid)
  File
"/usr/lib64/python2.3/site-packages/invenio/bibcirculation_dblayer.py", line
2675, in get_copies_status
    return res[0]
IndexError: tuple index out of range




    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
2407                                | -SUB-




==============================================================================

This item URL is:
  <http://savannah.cern.ch/task/?12150>

_______________________________________________
  Message sent via/by LCG Savannah
  http://savannah.cern.ch/

Reply via email to