"Could not read text for PDF." The problem exists for all the PDFs.
Waiting for help.
Report ID: 1223751412
[JavaScript Error: "C:\Program Files (x86)\Zotero\pdftotext.exe returned exit status 2" {file: "chrome://zotero/content/xpcom/utilities_internal.js" line: 756}]
[JavaScript Error: "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFile.remove]" {file: "chrome://zotero/content/xpcom/recognizePDF.js" line: 354}]
[JavaScript Error: "Could not read text from PDF"]
version => 6.0.13, platform => Win32, oscpu => Windows NT 10.0; WOW64, locale => en-US, appName => Zotero, appVersion => 6.0.13, extensions => ZotFile (5.1.1, extension), Zotero LibreOffice Integration (6.0.0.SA.6.0.13, extension), Zotero Word for Windows Integration (6.0.0.SA.6.0.13, extension), Better BibTex for Zotero (6.7.23, extension)
How to solve the problem??
Report ID: 1223751412
[JavaScript Error: "C:\Program Files (x86)\Zotero\pdftotext.exe returned exit status 2" {file: "chrome://zotero/content/xpcom/utilities_internal.js" line: 756}]
[JavaScript Error: "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFile.remove]" {file: "chrome://zotero/content/xpcom/recognizePDF.js" line: 354}]
[JavaScript Error: "Could not read text from PDF"]
version => 6.0.13, platform => Win32, oscpu => Windows NT 10.0; WOW64, locale => en-US, appName => Zotero, appVersion => 6.0.13, extensions => ZotFile (5.1.1, extension), Zotero LibreOffice Integration (6.0.0.SA.6.0.13, extension), Zotero Word for Windows Integration (6.0.0.SA.6.0.13, extension), Better BibTex for Zotero (6.7.23, extension)
How to solve the problem??
-
martynas_bMaybe the PDF file is corrupted. Does it work if you open it with a PDF viewer?
-
dstillmanIf it's actually happening for all PDFs, it's likely something on the system — e.g., security software or file permissions — that's preventing pdftotext.exe from opening files. Exit status 2 means "Error opening an output file".