Hi Joaquim, Tibor,
Thank you for those clarifications.
In order to verify whether the results in the
.99.0-->0.99.1-->o.99.1(git) upgradation I discussed last, the Full
compilation of the development version (20090602) from the /repo/ was
compiled on Debian Lenny by non-root user.
A.
Compilation was smooth after all the necessary components were
installed as mentioned in the INSTALL file.
The main error concerned absence of configure.rpath
The following had to done.
*************
$ cd /opt/cds-invenio
$ aclocal
$ automake -a
$ gettextize --copy -f
Please create po/Makevars from the template in po/Makevars.template.
You can then remove po/Makevars.template.
Please run 'aclocal -I m4' to regenerate the aclocal.m4 file.
You need aclocal from GNU automake 1.9 (or newer) to do this.
Then run 'autoconf' to regenerate the configure file.
You might also want to copy the convenience header file gettext.h
from the /usr/share/gettext directory into your package.
It is a wrapper around <libintl.h> that implements the configure --disable-nls
option.
Press Return to acknowledge the previous three paragraphs.
$ cp po/Makevars.template po/Makevars
$ nano po/Makevars
$ aclocal -I m4
$ automake -a
$ autoconf
$ ./configure
$ make
# make install
# make install-jsmath-plugin
# make install-jquery-plugins
# make install-fckeditor-plugin
...
$ bin/inveniocfg --create-demo-site
>>> Going to create demo site...
>>> Going to reset I18N field names...
>>> I18N field names reset successfully.
/usr/lib/python2.5/site-packages/Ft/Lib/ImportUtil.py:362:
UserWarning: Module _mysql was already imported from
/var/lib/python-support/python2.5/_mysql.so, but
/var/lib/python-support/python2.5 is being added to sys.path
from pkg_resources import get_provider, resource_filename
WebAccess Administration
========================
Username: admin
Reset default demo site settings.
Compiled firewall like role definitions.
ERROR: You must run "webcoll" as the same user that runs your Apache server
process (seems to be "www-data").
You may want to do "sudo -u www-data webcoll ..." to do so.
If you think this is not right, please set CFG_BIBSCHED_PROCESS_USER
appropriately and rerun "inveniocfg --update-config-py".
ERROR: failed execution of /opt/cds-invenio/bin/webcoll -u admin
#su - www-data
#/opt/cds-invenio/bin/webcoll -u admin
...
O.K.
The same ERROR : failed execution of /opt/cds-invenio/bin/* -u admin
comes up. Thus for example one has to
#su - www-data
#/opt/cds-invenio/bin/inveniocfg --load-demo-records
... <snip> ...
2009-06-28 22:36:15 --> Phase 1: Finding records containing modified terms
2009-06-28 22:36:16 --> Phase 1: ......processed 2489/2489 terms
2009-06-28 22:36:16 --> Phase 1: Finished finding records containing
modified terms
2009-06-28 22:36:16 --> Phase 2: Finding all terms in affected records
2009-06-28 22:36:16 --> Phase 2: ......processed 96/96 records
2009-06-28 22:36:16 --> Phase 2: Finished finding all terms in affected records
2009-06-28 22:36:16 --> Phase 3: Getting approximate importance of all
affected terms
2009-06-28 22:36:17 --> Phase 3: ......processed 2496/2496 terms
2009-06-28 22:36:17 --> Phase 3: Finished getting approximate
importance of all affected terms
2009-06-28 22:36:17 --> Phase 4: Calculating normalization value for
all affected records and updating rnkWORD01R
2009-06-28 22:36:17 --> Phase 4: ......processed 96/96 records
2009-06-28 22:36:17 --> Phase 4: Finished calculating normalization
value for all affected records and updating rnkWORD01R
2009-06-28 22:36:17 --> Phase 5: Updating rnkWORD01F with new
normalization values
2009-06-28 22:36:19 --> Phase 5: ......processed 2488/2488 terms
2009-06-28 22:36:19 --> Phase 5: Finished updating rnkWORD01F with
new normalization values
2009-06-28 22:36:19 --> Time used for post-processing: 0.1min
2009-06-28 22:36:19 --> Finished post-processing
2009-06-28 22:36:19 --> rnkWORD01F contains 2488 words from 96 records
2009-06-28 22:36:19 --> rnkWORD01F is in consistent state
2009-06-28 22:36:19 --> Task #5 finished. [DONE]
>>> Demo records loaded successfully.
****************
B.
The Index page come up as usual. Login forces SSL installation of
apache2 and mod-python. Login to AdminSuperUser brings up the usual
Task Bar on top. Two Observations may be worth mentioning.
While in the Final Update from 0.99.0 mentioned at the beginning, the
<Administration> link led to the Same Old page in which
<BibCirculation> link was not present. But in the full compilation
this link was present above <BibEdit>.
However, on clicking <Loans> link on Top, the following apache-error
is flashed:
Not Found
The requested URL /yourloans/display was not found on this server.
And indeed there is no /opt/cds-invenio/var/www/yourloans directory.
C.
The page that comes up in the upgradation and compilation for
BibCirculation is the same, except that in the first case you have to
paste the url in the browser:
http://localhost/admin/bibcirculation/bibcirculationadmin.py?ln=en
while in the second case one can click on the <BibCirculation> link in
the Admin Tasks page
https://localhost/youraccount/youradminactivities?ln=en
In the Loans Return page that comes up, the following items in the
Menu are not activated: < Borrowers>, <Lists>, <Libraries>, <Help?
Since the <Borrowers> is not activated the <Loans> and <Requests>
link, though activated, do not demonstrate.
Similarly <Items> search also does not seem to operate on the Demo Records.
Moreover the the whole Menu bar is not coming within the two
horizontal lines, as perhaps it should ( Epiphany and Iceweasel).
The New <BibEdit> Screen
http://localhost/record/edit/ is very nice, efficient and useful.
The details of the other aspects of the interface are NOT examined in detail.
I would be happy to test any other aspects of INVENIO on this
installation- Debian -5.0
All the Best Regards,
__Surendran__
On Thu, Jun 25, 2009 at 10:27 PM, Tibor Simko<[email protected]> wrote:
> On Thu, 25 Jun 2009, Surendran KK wrote:
>> QUERY-1 : BibCirculation does not appear in the cds-invenio/etc folder
>
> The `etc' folder contains conf-style configuration files for some
> modules. BibCirculation does not use them yet; some of its
> configurations are done in its own `bibcirculation_config.py' file.
>
>> QUERY-2: Running bin/bibsched after tsating apache2 gives the
>> following ERROR
>>
>> ERROR: You must run "bibsched" as the same user that runs your Apache
>> server process (seems to be "www-data").
>
> The git/master version of CDS Invenio tries to enforce the user identity
> of some processes in order to prevent file permission issues. Briefly,
> if you run your Apache web server under user `www-data', then please run
> your bibsched under that user too (via ``sudo -u www-data bibsched'''),
> and make sure that files under /opt/cds-invenio/var/ are writeable by
> www-data user as mentioned in the INSTALL guide.
>
>> $ make update-v0.99.0-tables
>> ERROR
>
> Some of the tables might have been updated previously?
>
>> $ make update-v0.99.1-tables
>> OK.
>
> Please note that Makefile targets like `update-v0.99.1-tables' are
> usually updated just before stable releases. So not all the required
> table changes, done to the table structure since 0.99.1, might be in
> that file right now, even if you obtain OK. This especially concerns
> BibCirculation, for which you may either want to recreate all your
> tables from scratch, or recreate at least the crc* tables. The
> git/master version of CDS Invenio is a kind of bleeding edge that is
> suitable mostly for testing what is in the works, checking out new
> features on the Atlantis demo site, but not really for stable production
> environments, as the table definitions may change until the feature
> freeze time before the releases.
>
> Best regards
> --
> Tibor Simko ** CERN Document Server ** <http://cds.cern.ch/>
>
--
Surendran K.K.
247/3/1 Sadaphuli Park
Off DP Road, Baner
Pune 411007
Phone: 27298293