[moin-user] Can't index PDF attachments (bug?)
Volker Wysk
post at volker-wysk.de
Mon Dec 3 08:22:12 EST 2018
Am Montag, 3. Dezember 2018, 13:59:00 CET schrieb Thomas Waldmann:
> > [Errno 1] Operation not permitted' for file ...
>
> That is an OS level error.
>
> Either there is a permissions problem on that file or it is locked by
> another process (happens frequently on windows, usually not on linux) or ...
Does that mean, that you should stop the Apache server for the time the
indexing takes place? I've tried this, but it's the same.
> Does this also happen if the file has no blanks in the filename?
Yes, it does.
> > I CAN access the attachment in question from the wiki.
>
> Then I guess it is not a "normal" permissions issue.
Yes, it occured to me too, that it looks like a file permission error. I've
double-checked the permissions, but they seem okay.
> > I have the poppler-utils installed:
> >
> > desktop ~ % ll /usr/bin/pdftotext
> > -rwxr-xr-x 1 root root 35024 Aug 28 15:49 /usr/bin/pdftotext*
>
> You could try running pdftotext filename.pdf manually and see what happens.
That works.
Bye
Volker
More information about the moin-user
mailing list