cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with upload the 'unsearchable' PDF and metadata

bbukvic
Champ in-the-making
Champ in-the-making
When I want to upload the PDF document the following error appears to me in log file: 
———————————–
16:32:32005 INFO [org.alfresco.web.scripts.AbstractRuntime] Caught exception & redirecting to template status: Exception wrapped (with the status of template): Failed to execute script '/ org / alfresco / repository / upload / upload.post . js (in classpath store file: C: / Alfresco / Tomcat / webapps / alfresco / WEB-INF / classes / alfresco / templates / webscripts) ': Metadata extraction failed:
    reader: ContentAccessor [contentUrl = store: / / 2009/4/17/16/32/fd584fbe-bf5c-4471-bbd4-de4cfcda86a9.bin, mimetype = application / pdf, size = 48790, encoding = UTF-8, locale =hr_HR]
———————————–

It seems to me that the problem is that PDF is not created as 'searchable' (perhaps this is not the right term, but I do not know how to describe it otherwise).  I can upload a normal PDF and all other document (different type) files without any problems.

What should I do and change in the configuration so that I could upload these PDF documents (I am using Alfresco Labs 3 Final version of the application)?
6 REPLIES 6

derek
Star Contributor
Star Contributor
Hi,
I have raised a bug for this: ALFCOM-2796
It would help if you could upload one of the failing PDF documents to the bug for quicker analysis and resolution.
Regards

bbukvic
Champ in-the-making
Champ in-the-making
I upload a dummy PDF file to JIRA

mikeh
Star Contributor
Star Contributor
The PDF only contains images (scanned text) - no actual text. That's why it's not searchable. I agree with Derek: this shouldn't be allowed to affect the upload process - does the file upload correctly or do you get an "Upload failure" message?

By the way, you can "watch" JIRA issues to be notified of updates.

Thanks,
Mike

derek
Star Contributor
Star Contributor
Mike,
I think the term 'searchable' here means 'metadata extractable' hence
Metadata extraction failed:
reader: ContentAccessor [contentUrl = store: / / 2009/4…

bbukvic
Champ in-the-making
Champ in-the-making
Hello,
Just to clarify, this file can not be uploded and the error is 'upload fail'. In the first post you can see the error in the log file.

derek
Star Contributor
Star Contributor