Hi Genis,
On 06/04/2013 01:55 PM, Genis Musulmanbekov wrote:
There are some errors given by 'invenio.err' (attached) starting with:
"InvenioBibFormatError: "Error when evaluating format element
VIDEO_PLATFORM_SUGGESTIONS with parameters {'threshold': '75', 'bfo':
<invenio.bibformat_engine.BibFormatObject instance at 0x7f9fdc0e44d0>,
'shuffle': 'True', 'maximum': '3', 'collection': 'Videos'}."
(bibformat_engine.py:622:eval_format_element)"
What is the source of them?
These errors are raised when trying to interpret and display the
bfe_video_platform_suggestions format element (used for displaying
detailed video pages). Unfortunately the error log is not detailed
enough to point to the error, but you can try to debug it using ipython:
$ipython
In [1]: from invenio.bibformat_elements.bfe_video_platform_suggestions import
format_element
In [2]: from invenio.bibformat_engine import BibFormatObject
In [3]: bfo = BibFormatObject(recid) # recid is the record id of your video
record
In [4]: format_element(bfo)
This last call will probably fail, and give you the traceback with
information on where the problem is.
Hope this helps!
Cheers,
Ludmila
--
Ludmila Marian
Software Engineer
CERN, IT Department, Digital Library Service Section