Dear Samuel
now it's ok!
Thanks!!!!
Rita
Samuele Kaplun wrote:
Dear Rita,
In data Monday 11 May 2009, Samuele Kaplun scribacchiaste dette parole:
Dear Rita,
In data Monday 11 May 2009, Rita Ricceri scribacchiaste dette parole:
Do you happen to know if you have SELinux enabled? (do you use e.g.
RHEL or Fedora Core?)
Now is ko!!
File
"/usr/lib/python2.4/site-packages/invenio/bibrank_citation_searcher.py",
line 29, in ? from invenio.intbitset import intbitset
ImportError: /usr/lib/python2.4/site-packages/invenio/intbitset.so:
undefined symbol: PyExc_BaseException
but do you happen to have recently upgraded your system (including the
Python version)?
You might then wish to try to rebuild the intbitset library from you CDS
Invenio sources.
$> cd path/to/CDS Invenio/sources/cds-invenio-0.99.1
$> cd modules/miscutil/lib
$> rm build -rf # To remove the temporary build directory
$> python intbitset_setup.py build
... intbitset library will be built again ...
$> sudo python intbitset_setup.py install
Best regards,
Samuele
if still you have the same issue after rebuilding the intbitset library and
*you can confirm you have a Fedora or RHEL distribution*, please try to follow
also this advice found on:
<http://www.modrails.com/documentation/Users%20guide.html#_the_apache_error_log_says_that_the_spawn_manager_script_does_not_exist_or_that_it_does_not_have_permission_to_execute_it>
[...]
If you’re using a RedHat-derived Linux distribution (such as Fedora or CentOS)
then it is possible that SELinux is interfering. RedHat’s SELinux policy only
allows Apache to read/write directories that have the httpd_sys_content_t
security context. Please run the following command to give your Rails
application folder that context:
chcon -R -h -t httpd_sys_content_t /path/to/your/rails/app
[...]
just substitute /path/to/your/rails/app with "/usr/lib/python2.4/site-
packages/invenio/intbitset.so"
Otherwise if you are not interested in using SELinux you can try to disable
it.
Best regards,
Samuele