On Tue, 23 Aug 2011, Lanxin Ma wrote:
> [root@localhost opt]# sudo -u apache /opt/invenio/bin/inveniocfg
> --create-tables
>
>
> pkg_resources.ExtractionError: Can't extract file(s) to egg cache
You should be able to run the command in the following manner:
$ sudo -u apache PYTHON_EGG_CACHE=/tmp/.python-eggs \
/opt/invenio/bin/inveniocfg --create-tables
Note that you can install your Python dependencies uncompressed in order
to avoid this problem, for example see this old recipe:
<https://twiki.cern.ch/twiki/bin/view/CDS/InvenioInstallationGeneric#Python_eggs_permission_denied_pr>
> I am installing invenio-1.0.0-rc0.
Invenio 1.0.0-rc0 has a few known issues that had been fixed in the
meantime, so depending on the project, I'd recommend to use Invenio git
master sources. (And we should release an update soon...)
Best regards
--
Tibor Simko