Hello, > I'm working on submission forms on a brand new 0.99.1 site. I'm having > a couple of related issues that I've been unable to solve so far.
I have some progress; at least I have found the culprit. I'd like to share it because it may affect the transition from mod_apache to wsgi. For my future installation of more than one Invenio instance in a single server, finally I decided this setup: Use apache2-mpm-itk (http://packages.debian.org/apache2-mpm-itk), that is, an alternative Apache compilation that starts it as root and, for each fork, it switches to the appropiate user. Install all software in userland (/home/). It mostly works flawlessly except for intbitset cpython compilation, that insists on living system-wide. I also set (following Django wsgi docs) my own $PYTHONPATH both for command line and apache: 1. In my ~/.profile (export PYTHONPATH=$HOME/lib/python) 2. In my invenio-apache-vhost.conf, VirtualHost section (PythonPath "['/home/traces/lib/python'] + sys.path") So far, so good. Except when Websubmit calls bibconvert using os.system, not inheriting my $PYTHONPATH. I found it after several days of tracing those calls (Error: No module named invenio.search_engine). Now, I must find the way for it to inherit it. Best regards, Ferran
