Hi, We were happily running CDSWare 0.7.1 until the computer became unstable (probably not CDSWare related problems). So we got a new computer and decided to install the latest version of CDS Invenio, 0.92.1. Everything seems to work fine, but there are two problems.
Problem 1: ^^^^^^^^^^ In config/config.wml, any changes to "<define-tag CDSPAGEHEADER>" and "<define-tag CDSPAGEFOOTER>" does not have any effect. But "<define-tag CDSPAGEBOXRIGHTTOP>" does work. To clearify: no matter what I specify in config.wml, I get CDSPAGEHEADER and CDSPAGEFOOTER from the demo site (same as http://cdsware.cern.ch:8000/). After changing config.wml I do (first I do "wml config/config.wml" to check config.wml for errors) ./configure --prefix..... make clean make make install apache2ctl restart This method worked fine with version 0.7.1. Does anyone have an idea why this is happening? Problem 2: ^^^^^^^^^^ "make test" causes two errors and two failures, as shown below. I do not really care about the slovak GUI date, my site is english only. But the bibformat failures could be more important? Hope someone can tell me if this is important (and maybe in any way related to problem 1?) Best regards, Torger Tokle Technical University of Denmark http://sysdoc.com.dtu.dk/ (old site, new site not in production yet) make test output: ________________________________________________________________________ _____________________________ ________________________________________________________________________ _____________________________ CDS Invenio v0.92.1 test suite results: ======================================= ... (tests with result OK removed) bibformat - correct formatting ... FAIL bibformat - correct formatting with given template ... FAIL ... dateutils - conversion of bad text date into Slovak GUI date ... ERROR dateutils - conversion of good text date into English GUI date ... ok dateutils - conversion of good text date into Slovak GUI date ... ERROR ... ====================================================================== ERROR: dateutils - conversion of bad text date into Slovak GUI date ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/invenio/dateutils_tests.py", line 86, in test_convert_bad_to_dategui_sk ln='sk') File "/usr/lib/python2.4/site-packages/invenio/dateutils.py", line 69, in convert_datetext_to_dategui _ = gettext_set_language(ln) File "/usr/lib/python2.4/site-packages/invenio/messages.py", line 28, in gettext_set_language return lang[ln].gettext KeyError: 'sk' ====================================================================== ERROR: dateutils - conversion of good text date into Slovak GUI date ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/invenio/dateutils_tests.py", line 70, in test_convert_good_to_dategui_sk ln='sk') File "/usr/lib/python2.4/site-packages/invenio/dateutils.py", line 69, in convert_datetext_to_dategui _ = gettext_set_language(ln) File "/usr/lib/python2.4/site-packages/invenio/messages.py", line 28, in gettext_set_language return lang[ln].gettext KeyError: 'sk' ====================================================================== FAIL: bibformat - correct formatting ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/invenio/bibformat_engine_tests.py", line 657, in test_format_record self.assertEqual(result,'''<h1>hi</h1> this is my template\ntest<bfe_non_existing_element must disappear/><test_1 non prefixed element must stay as any normal tag/>tfrgarbage\n<br/>test me!<b>ok</b>a default valueeditor\n<br/>test me!<b>ok</b>a default valueeditor\n<br/>test me!<b>ok</b>a default valueeditor\n''') AssertionError: '<h1>hi</h1> this is my template\ntest<bfe_non_existing_element must disappear/><test_1 non prefixed element must stay as any normal tag/>ten<fr>tfr</fr>garbage\n<br/>test me!<b>ok</b>a default valueeditor\n<br/>test me!<b>ok</b>a default valueeditor\n<br/>test me!<b>ok</b>a default valueeditor\n' != '<h1>hi</h1> this is my template\ntest<bfe_non_existing_element must disappear/><test_1 non prefixed element must stay as any normal tag/>tfrgarbage\n<br/>test me!<b>ok</b>a default valueeditor\n<br/>test me!<b>ok</b>a default valueeditor\n<br/>test me!<b>ok</b>a default valueeditor\n' ====================================================================== FAIL: bibformat - correct formatting with given template ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/invenio/bibformat_engine_tests.py", line 672, in test_format_with_format_template self.assertEqual(result[0],'''<h1>hi</h1> this is my template\ntest<bfe_non_existing_element must disappear/><test_1 non prefixed element must stay as any normal tag/>tfrgarbage\n<br/>test me!<b>ok</b>a default valueeditor\n<br/>test me!<b>ok</b>a default valueeditor\n<br/>test me!<b>ok</b>a default valueeditor\n99999''') AssertionError: '<h1>hi</h1> this is my template\ntest<bfe_non_existing_element must disappear/><test_1 non prefixed element must stay as any normal tag/>ten<fr>tfr</fr>garbage\n<br/>test me!<b>ok</b>a default valueeditor\n<br/>test me!<b>ok</b>a default valueeditor\n<br/>test me!<b>ok</b>a default valueeditor\n99999' != '<h1>hi</h1> this is my template\ntest<bfe_non_existing_element must disappear/><test_1 non prefixed element must stay as any normal tag/>tfrgarbage\n<br/>test me!<b>ok</b>a default valueeditor\n<br/>test me!<b>ok</b>a default valueeditor\n<br/>test me!<b>ok</b>a default valueeditor\n99999' ---------------------------------------------------------------------- Ran 138 tests in 2.366s FAILED (failures=2, errors=2) ________________________________________________________________________ _____________________________ ________________________________________________________________________ _____________________________
