Re: invenio_webupload ?

2016-12-01 Thread Ludmila Marian
Hi Lanxin,

You are probably referring to testing the batchupload, in which case you can 
check the documentation here:

<http://demo.invenio-software.org/help/admin/bibupload-admin-guide?ln=en#4.2>

Best regards,
Ludmila


> On 28 Nov 2016, at 09:14, Lanxin Ma  wrote:
> 
> Hello,
> 
> Ihis helped me. Thank you .
> 
> Another question: how to check my Invenio_webupload work properly? use 
> commans? or others ?
> Could you please give me an example ?
> 
> Thank you very much!!
> Regards,
> Lanxin
> 
> 
> From: Esteban Gabancho
> Sent: 25 November 2016 09:08
> To: Lanxin Ma
> Cc: project-invenio-general (Invenio general)
> Subject: Re: invenio_webupload ?
> 
> Hi Lanxin,
> 
> I think you have to put quotes around the value, something like
> 
> CFG_BATCHUPLOADER_WEB_ROBOT_AGENTS = r"invenio_webupload|invenio_connector"
> 
> I hope it helps.
> 
> Cheers,
> Esteban
>> On Nov 22, 2016, at 9:42 AM, Lanxin Ma  wrote:
>> 
>> Hello,
>> 
>> I have Invenio 1.1.1 installation.
>> 
>> I add the lines below in /opt/invenio/etc/invenio-local.conf
>> 
>> CFG_BATCHUPLOADER_WEB_ROBOT_AGENT = invenio_webupload | invenio_connector
>> CFG_BATCHUPLOADER_WEB_ROBOT_RIGHTS = {
>>'202.122.39.28': ['INDICOSEARCH']
>>}
>> then, I have ran
>> 
>> sudo -u apache /opt/invenio/bin/inveniocfg --update-all
>> 
>> sudo -u apache /opt/invenio/bin/bibsched start
>> Traceback (most recent call last):
>>  File "/opt/invenio/bin/bibsched", line 27, in ?
>>from invenio.bibsched import main
>>  File "/usr/lib64/python2.4/site-packages/invenio/bibsched.py", line 36, in ?
>>from invenio.bibtask_config import \
>>  File "/usr/lib64/python2.4/site-packages/invenio/bibtask_config.py", line 
>> 25, in ?
>>from invenio.config import CFG_LOGDIR, CFG_PYLIBDIR
>>  File "/usr/lib64/python2.4/site-packages/invenio/config.py", line 21, in ?
>>CFG_BATCHUPLOADER_WEB_ROBOT_AGENT = invenio_webupload | invenio_connector
>> NameError: name 'invenio_webupload' is not defined
>> I get the error "NameError: name 'invenio_webupload' is not defined".
>> Does it mean that the module invenio_webupload is not installed ?
>> Could somebody give me some clue what I should check?  How to fix it?
>> 
>> Thank you very much!
>> 
>> Regards,
>> Lanxin



RE: invenio_webupload ?

2016-11-28 Thread Lanxin Ma
Hello,

Ihis helped me. Thank you .

Another question: how to check my Invenio_webupload work properly? use commans? 
or others ?
Could you please give me an example ?

Thank you very much!!
Regards,
Lanxin


From: Esteban Gabancho
Sent: 25 November 2016 09:08
To: Lanxin Ma
Cc: project-invenio-general (Invenio general)
Subject: Re: invenio_webupload ?

Hi Lanxin,

I think you have to put quotes around the value, something like

CFG_BATCHUPLOADER_WEB_ROBOT_AGENTS = r"invenio_webupload|invenio_connector"

I hope it helps.

Cheers,
Esteban
> On Nov 22, 2016, at 9:42 AM, Lanxin Ma  wrote:
>
> Hello,
>
> I have Invenio 1.1.1 installation.
>
> I add the lines below in /opt/invenio/etc/invenio-local.conf
>
> CFG_BATCHUPLOADER_WEB_ROBOT_AGENT = invenio_webupload | invenio_connector
> CFG_BATCHUPLOADER_WEB_ROBOT_RIGHTS = {
> '202.122.39.28': ['INDICOSEARCH']
> }
> then, I have ran
>
> sudo -u apache /opt/invenio/bin/inveniocfg --update-all
>
> sudo -u apache /opt/invenio/bin/bibsched start
> Traceback (most recent call last):
>   File "/opt/invenio/bin/bibsched", line 27, in ?
> from invenio.bibsched import main
>   File "/usr/lib64/python2.4/site-packages/invenio/bibsched.py", line 36, in ?
> from invenio.bibtask_config import \
>   File "/usr/lib64/python2.4/site-packages/invenio/bibtask_config.py", line 
> 25, in ?
> from invenio.config import CFG_LOGDIR, CFG_PYLIBDIR
>   File "/usr/lib64/python2.4/site-packages/invenio/config.py", line 21, in ?
> CFG_BATCHUPLOADER_WEB_ROBOT_AGENT = invenio_webupload | invenio_connector
> NameError: name 'invenio_webupload' is not defined
> I get the error "NameError: name 'invenio_webupload' is not defined".
> Does it mean that the module invenio_webupload is not installed ?
> Could somebody give me some clue what I should check?  How to fix it?
>
> Thank you very much!
>
> Regards,
> Lanxin

Re: invenio_webupload ?

2016-11-25 Thread Esteban Gabancho
Hi Lanxin,

I think you have to put quotes around the value, something like

CFG_BATCHUPLOADER_WEB_ROBOT_AGENTS = r"invenio_webupload|invenio_connector"

I hope it helps.

Cheers,
Esteban
> On Nov 22, 2016, at 9:42 AM, Lanxin Ma  wrote:
> 
> Hello,
>  
> I have Invenio 1.1.1 installation.
>  
> I add the lines below in /opt/invenio/etc/invenio-local.conf
>  
> CFG_BATCHUPLOADER_WEB_ROBOT_AGENT = invenio_webupload | invenio_connector
> CFG_BATCHUPLOADER_WEB_ROBOT_RIGHTS = {
> '202.122.39.28': ['INDICOSEARCH']
> }
> then, I have ran 
>  
> sudo -u apache /opt/invenio/bin/inveniocfg --update-all
>  
> sudo -u apache /opt/invenio/bin/bibsched start
> Traceback (most recent call last):
>   File "/opt/invenio/bin/bibsched", line 27, in ?
> from invenio.bibsched import main
>   File "/usr/lib64/python2.4/site-packages/invenio/bibsched.py", line 36, in ?
> from invenio.bibtask_config import \
>   File "/usr/lib64/python2.4/site-packages/invenio/bibtask_config.py", line 
> 25, in ?
> from invenio.config import CFG_LOGDIR, CFG_PYLIBDIR
>   File "/usr/lib64/python2.4/site-packages/invenio/config.py", line 21, in ?
> CFG_BATCHUPLOADER_WEB_ROBOT_AGENT = invenio_webupload | invenio_connector
> NameError: name 'invenio_webupload' is not defined
> I get the error "NameError: name 'invenio_webupload' is not defined".
> Does it mean that the module invenio_webupload is not installed ?
> Could somebody give me some clue what I should check?  How to fix it?
>  
> Thank you very much!
>  
> Regards,
> Lanxin