On Wed, 04 Dec 2013, [email protected] wrote:
> id    creation_date   modification_date       master_format
> 813   2013-11-15 06:46:15     2013-11-15 06:46:42     marc

OK, this shows that your records well survived the wipe out.  I thought
you mentioned in later discussion that you used
wipe_out_record_from_all_tables()?  If so, it should have deleted entry
in bibrec table.  Since the entry is still there, the record may appear
in searches, depending on its MARCXML content.  Maybe it was not deleted
after all?

> 2013-12-04 18:16:06 -->    Stage 2 failed: Error while elaborating FFT tags: 
> MoreInfo: No document of a given name associated with the record
> 2013-12-04 18:16:06 --> <record>
>   <controlfield tag="001">1058</controlfield>
>   <datafield tag="FFT" ind1=" " ind2=" ">
>     <subfield code="n">Бала_бакча_тарбиячыларга_материал_2</subfield>
>     <subfield code="t">EXPUNGE</subfield>
>   </datafield>
> </record>

The error is printed, but I think the document is well expunged.  Just
made a quick test on Invenio/master to confirm this:

  $ bibdocfile --get-info --recid 61
  61:44:1:.pdf:fullpath=/opt/invenio/var/data/files/g0/44/content.pdf;1
  $ bibdocfile --expunge --docid 44 --yes-i-know
  $ sudo -u www-data /opt/invenio/bin/bibupload 21
  $ bibdocfile --get-info --recid 61 # nothing printed
  $ ls -ld /opt/invenio/var/data/files/45 # no such directory

So expunging worked actually, even though an error was printed along the
process.

I'll submit a ticket about this.

Best regards
--
Tibor Simko

Reply via email to