#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 12 months ago by adeiana
comment:2 Changed 11 months ago by Alessio Deiana <alessio.deiana@…>
- Resolution set to fixed
- Status changed from new to closed
comment:3 Changed 10 months ago by Alessio Deiana <alessio.deiana@…>
comment:4 Changed 10 months ago by Alessio Deiana <alessio.deiana@…>
Note: See
TracTickets for help on using
tickets.

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