Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

refextract: fix daemon mode troubles #1081

Closed
tiborsimko opened this Issue · 4 comments

2 participants

@tiborsimko
Owner

Originally on 2012-06-06

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?
@invenio-developers
Collaborator

Originally by adeiana (@Osso) on 2012-06-07

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

@invenio-developers
Collaborator

Originally by Alessio Deiana alessio.deiana@cern.ch on 2012-06-12

In [49a160c]:

#CommitTicketReference repository="" revision="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)
@invenio-developers
Collaborator

Originally by Alessio Deiana alessio.deiana@cern.ch on 2012-08-09

In 49a160c:

#CommitTicketReference repository="" revision="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)
@invenio-developers
Collaborator

Originally by Alessio Deiana alessio.deiana@cern.ch on 2012-08-09

In 49a160c:

#CommitTicketReference repository="" revision="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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.