#273: INSPIRE formatting changes
------------------------+-----------------------------
  Reporter:  tbrooks    |      Owner:
      Type:  defect     |     Status:  new
  Priority:  minor      |  Milestone:
 Component:  BibFormat  |    Version:
Resolution:             |   Keywords:  INSPIRE formats
------------------------+-----------------------------

Comment (by simko):

 Another long-standing formatting issue that should be attacked at the
 same time:

 While cleaning BFEs, we should clean the code not to generate any
 errors, because currently too many errors are still registered per
 minute.  Here are some examples:

 a) INSPIRE date:

 {{{
 2011-03-30 11:07:40 --> ERR_BIBFORMAT_EVALUATING_ELEMENT : INSPIRE_DATE
     No client information available
 Traceback:
   File "/usr/lib/python2.4/site-packages/invenio/bibformat_engine.py",
 line 602, in eval_format_element
     output_text = apply(function, (), params)

   File "/usr/lib/python2.4/site-
 packages/invenio/bibformat_elements/bfe_INSPIRE_date.py", line 40, in
 format_element
     if len(datestruct) == 3:
 }}}

 b) INSPIRE report numbers:

 {{{
 2011-03-30 11:11:50 --> ERR_BIBFORMAT_IN_FORMAT_ELEMENT : Error in format
 element ADDITIONAL_REPORT_NUMBERS.
 }}}

 {{{
 2011-03-30 11:11:50 --> ERR_BIBFORMAT_FORMAT_ELEMENT_NOT_FOUND : Format
 element PRIMARY_REPORT_NUMBER could not be found.
 }}}

 c) INSPIRE BibTeX:

 {{{
 2011-03-30 11:44:12 --> ERR_BIBFORMAT_EVALUATING_ELEMENT : BIBTEX
     No client information available
 Traceback:
   File "/usr/lib/python2.4/site-packages/invenio/bibformat_engine.py",
 line 602, in eval_format_element
     output_text = apply(function, (), params)

   File "/usr/lib/python2.4/site-
 packages/invenio/bibformat_elements/bfe_bibtex.py", line 66, in
 format_element
     key = bfo.field("100a").split(' ')[0].lower() + ":" + \
 }}}

-- 
Ticket URL: <http://invenio-software.org/ticket/273#comment:4>
Invenio <http://invenio-software.org>

Reply via email to