Opened 23 months ago

Closed 23 months ago

Last modified 21 months ago

#1081 closed defect (fixed)

refextract: fix daemon mode troubles

Reported by: simko Owned by: adeiana
Priority: major Milestone:
Component: DocExtract Version:
Keywords: Cc:

Description

On Mon, 14 May 2012, Theodoros Theodoropoulos wrote:
> With the current master and the stock demo site (and demo records)
> loaded, i executed:
> "sudo -u apache /opt/invenio/bin/refextract -i 43 -u admin -v9"
> and got the following error:

I confirm I get the same error with the current master.

When running refextract in the standalone mode, it works all fine:

$ sudo -u www-data /opt/invenio/bin/refextract -f 43:/opt/invenio/var/data/files/g0/26/0204045.pdf\;1 | less
<?xml version="1.0" encoding="UTF-8"?>
<collection xmlns="http://www.loc.gov/MARC21/slim">
<record>
   <controlfield tag="001">43</controlfield>
   <datafield tag="999" ind1="C" ind2="5">
      <subfield code="o">[1]</subfield>
      <subfield code="m">Lifshitz E M and Khalatnikov I M</subfield>
      <subfield code="s">Zh. Eksp. Teor. Fiz. 39 (1960) 149</subfield>
   </datafield>
[...]

Alessio, can you please have a look?

Change History (4)

comment:1 Changed 23 months ago by adeiana

You can find the fix here adeiana/1081-refextraft-fix

comment:2 Changed 23 months ago by Alessio Deiana <alessio.deiana@…>

  • Resolution set to fixed
  • Status changed from new to closed

In [49a160c3b3b228452a8eb11ba2dfccf64477f81c]:

refextract: fixes daemon mode

  • Fixes daemon mode invocation troubles in commands such as /opt/invenio/bin/refextract -i 43 -u admin -v9. (closes #1081)

comment:3 Changed 21 months ago by Alessio Deiana <alessio.deiana@…>

In 49a160c3b3b228452a8eb11ba2dfccf64477f81c:

refextract: fixes daemon mode

  • Fixes daemon mode invocation troubles in commands such as /opt/invenio/bin/refextract -i 43 -u admin -v9. (closes #1081)

comment:4 Changed 21 months ago by Alessio Deiana <alessio.deiana@…>

In 49a160c3b3b228452a8eb11ba2dfccf64477f81c:

refextract: fixes daemon mode

  • Fixes daemon mode invocation troubles in commands such as /opt/invenio/bin/refextract -i 43 -u admin -v9. (closes #1081)
Note: See TracTickets for help on using tickets.