Dear Lanxin,
In data venerdì 18 luglio 2014 11:41:14, Lanxin Ma ha scritto:
> I have a question about webupload.
>
> I am setting up invenio 1.1.1 as my indico search engine.
>
> What I did are:
>
> 1. configure invenio-local.conf
>
> CFG_BATCHUPLOADER_WEB_ROBOT_AGENTS = invenio_webupload,invenio_connector
This configuration variable is interpreted as a regular expression:
[...]
## CFG_BATCHUPLOADER_WEB_ROBOT_AGENTS -- Regular expression to specify the
## agents permitted when calling batch uploader web interface
## cdsweb.cern.ch/batchuploader/robotupload
## if using a curl, eg: curl xxx -A invenio
CFG_BATCHUPLOADER_WEB_ROBOT_AGENTS = invenio_webupload|Invenio-.*
[...]
therefore you should amend its value to be somethings such as:
CFG_BATCHUPLOADER_WEB_ROBOT_AGENTS = invenio_webupload|invenio_connector
This should fix the particular issue you at hand.
Best regards,
Samuele
--
Samuele Kaplun
Invenio Developer ** <http://invenio-software.org/>
INSPIRE Service Manager ** <http://inspirehep.net/>