Unable to reterieve metadata from pdf

Dear Friends,
I am using Zotero for last two years and recently I have updated my OS from Linux Mint-12 to Mint-14 Gnome. After this, I am not able to reterieve metadata from any pdf. I have tried to reinstall the zotero but did not help. I have updated zotero from preferance/General and as well as Preferance/search path. I don't know, what is the probelem. Then I followed some of the previous discussions thread in which they have suggested to run debug and I got the following output and as well as I have submitted the output to zotero server which provide following ID also.
Dear ones please get me out from this trouble.

Thanks alot
Best Regards
Himanshu




This is the ID for DEBUG OUTPUT-D1835545076.
Debug output was
[JavaScript Error: "gBrowser.addProgressListener was called with a second argument, which is not supported. See bug 608628." {file: "chrome://browser/content/tabbrowser.xml" line: 1980}]

[JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "jar:file:///home/sharma/.mozilla/firefox/mwad0hks.default/extensions/zotero@chnm.gmu.edu/chrome/zotero.jar!/content/zotero/tinymce/note.html" line: 0}]

[JavaScript Error: "gBrowser.addProgressListener was called with a second argument, which is not supported. See bug 608628." {file: "chrome://browser/content/tabbrowser.xml" line: 1980}]

[JavaScript Error: "this.editor is null" {file: "chrome://browser/content/urlbarBindings.xml" line: 159}]

[JavaScript Error: "this.editor is null" {file: "chrome://browser/content/urlbarBindings.xml" line: 159}]

[JavaScript Error: "The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature." {file: "zotero://debug/" line: 0}]

[JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "file:///home/sharma/.cache/.fr-bqD6eG/content/zotero/tinymce/note.html" line: 0}]

[JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "file:///home/sharma/.cache/.fr-bqD6eG/content/zotero/tinymce/note.html" line: 0}]

[JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "file:///home/sharma/.cache/.fr-bqD6eG/content/zotero/tinymce/note.html" line: 0}]

[JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "file:///home/sharma/.cache/.fr-bqD6eG/content/zotero/tinymce/note.html" line: 0}]

version => 3.0.11, platform => Linux x86_64, oscpu => Linux x86_64, locale => en-US, appName => Firefox, appVersion => 19.0

=========================================================

(4)(+0006975): Registering observer for [collection,search,share,group,trash,bucket] in notifier with hash pR'
  • start by upgrading to Zotero 4.0.3 from zotero.org/download
  • Thanks adamsmith.
    I will try and hopefully things will resolve. I will give the feedback as soon as possible.

    Himanshu
  • Hi Adam

    I have updated the version from 3.0.2 to 4.0.3 but it did not help. One more thing, the pdfotext and pdfinfo are 3.02 version only. I don't whether this problem is related to these indexing tools or not.

    Himanshu
  • Dear friends,

    I have updated my zotero version to 4.0.3 and then I have run the debug output loging and the following output I recieved.

    [JavaScript Error: "Translator with ID a8e51f4e-0372-42ad-81a8-bc3dcea6dc03 already loaded from "Schweizer Radio DRS.js"" {file: "file:///home/sharma/.mozilla/firefox/mwad0hks.default/zotero/translators/Schweizer%20Radio%20und%20Fernsehen%20SRF.js" line: 0}]

    [JavaScript Error: "Translator with ID 59cce211-9d77-4cdd-876d-6229ea20367f already loaded from "Bibliotheque et Archives nationales du Quebec.js"" {file: "file:///home/sharma/.mozilla/firefox/mwad0hks.default/zotero/translators/Biblioth%C3%A8que%20et%20Archives%20nationales%20du%20Qu%C3%A9bec.js" line: 0}]

    [JavaScript Error: "Translator with ID 737216af-fc48-4aa5-bfae-560c9cfc5df5 already loaded from "737216af-fc48-4aa5-bfae-560c9cfc5df5.js"" {file: "file:///home/sharma/.mozilla/firefox/mwad0hks.default/zotero/translators/%D0%90%D0%B3%D0%B5%D0%BD%D1%81%D1%82%D0%B2%D0%BE%20%D0%BF%D0%BE%D0%BB%D0%B8%D1%82%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D1%85%20%D0%BD%D0%BE%D0%B2%D0%BE%D1%81%D1%82%D0%B5%D0%B9.js" line: 0}]

    [JavaScript Error: "Translator with ID 8afd6209-ef61-4e64-ae6c-3b2d6f71aa50 already loaded from "8afd6209-ef61-4e64-ae6c-3b2d6f71aa50.js"" {file: "file:///home/sharma/.mozilla/firefox/mwad0hks.default/zotero/translators/%D0%93%D0%B0%D1%81%D1%8B%D1%80%D0%BB%D0%B0%D1%80%20%D0%B0%D0%B2%D0%B0%D0%B7%D1%8B%20%20%D0%AD%D1%85%D0%BE%20%D0%B2%D0%B5%D0%BA%D0%BE%D0%B2.js" line: 0}]

    [JavaScript Error: "Translator with ID 1b9ed730-69c7-40b0-8a06-517a89a3a278 already loaded from "Library Catalog (PICA).js"" {file: "file:///home/sharma/.mozilla/firefox/mwad0hks.default/zotero/translators/Sudoc.js" line: 0}]

    [JavaScript Error: "Overwriting translator with same filename 'Schweizer Radio und Fernsehen SRF.js' in Zotero.Schema.updateBundledFiles()" {file: "chrome://zotero/content/xpcom/schema.js" line: 767}]

    [JavaScript Error: "Translator with ID 59cce211-9d77-4cdd-876d-6229ea20367f already loaded from "Bibliotheque et Archives nationales du Quebec.js"" {file: "file:///home/sharma/.mozilla/firefox/mwad0hks.default/zotero/translators/Biblioth%C3%A8que%20et%20Archives%20nationales%20du%20Qu%C3%A9bec.js" line: 0}]

    [JavaScript Error: "Translator with ID 737216af-fc48-4aa5-bfae-560c9cfc5df5 already loaded from "737216af-fc48-4aa5-bfae-560c9cfc5df5.js"" {file: "file:///home/sharma/.mozilla/firefox/mwad0hks.default/zotero/translators/%D0%90%D0%B3%D0%B5%D0%BD%D1%81%D1%82%D0%B2%D0%BE%20%D0%BF%D0%BE%D0%BB%D0%B8%D1%82%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D1%85%20%D0%BD%D0%BE%D0%B2%D0%BE%D1%81%D1%82%D0%B5%D0%B9.js" line: 0}]

    [JavaScript Error: "Translator with ID 8afd6209-ef61-4e64-ae6c-3b2d6f71aa50 already loaded from "8afd6209-ef61-4e64-ae6c-3b2d6f71aa50.js"" {file: "file:///home/sharma/.mozilla/firefox/mwad0hks.default/zotero/translators/%D0%93%D0%B0%D1%81%D1%8B%D1%80%D0%BB%D0%B0%D1%80%20%D0%B0%D0%B2%D0%B0%D0%B7%D1%8B%20%20%D0%AD%D1%85%D0%BE%20%D0%B2%D0%B5%D0%BA%D0%BE%D0%B2.js" line: 0}]

    [JavaScript Error: "Translator with ID 1b9ed730-69c7-40b0-8a06-517a89a3a278 already loaded from "Library Catalog (PICA).js"" {file: "file:///home/sharma/.mozilla/firefox/mwad0hks.default/zotero/translators/Sudoc.js" line: 0}]

    [JavaScript Error: "Translator with ID 59cce211-9d77-4cdd-876d-6229ea20367f already loaded from "Bibliotheque et Archives nationales du Quebec.js"" {file: "file:///home/sharma/.mozilla/firefox/mwad0hks.default/zotero/translators/Biblioth%C3%A8que%20et%20Archives%20nationales%20du%20Qu%C3%A9bec.js" line: 0}]

    [JavaScript Error: "Translator with ID 737216af-fc48-4aa5-bfae-560c9cfc5df5 already loaded from "737216af-fc48-4aa5-bfae-560c9cfc5df5.js"" {file: "file:///home/sharma/.mozilla/firefox/mwad0hks.default/zotero/translators/%D0%90%D0%B3%D0%B5%D0%BD%D1%81%D1%82%D0%B2%D0%BE%20%D0%BF%D0%BE%D0%BB%D0%B8%D1%82%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D1%85%20%D0%BD%D0%BE%D0%B2%D0%BE%D1%81%D1%82%D0%B5%D0%B9.js" line: 0}]

    [JavaScript Error: "Translator with ID 8afd6209-ef61-4e64-ae6c-3b2d6f71aa50 already loaded from "8afd6209-ef61-4e64-ae6c-3b2d6f71aa50.js"" {file: "file:///home/sharma/.mozilla/firefox/mwad0hks.default/zotero/translators/%D0%93%D0%B0%D1%81%D1%8B%D1%80%D0%BB%D0%B0%D1%80%20%D0%B0%D0%B2%D0%B0%D0%B7%D1%8B%20%20%D0%AD%D1%85%D0%BE%20%D0%B2%D0%B5%D0%BA%D0%BE%D0%B2.js" line: 0}]

    [JavaScript Error: "Translator with ID 1b9ed730-69c7-40b0-8a06-517a89a3a278 already loaded from "Library Catalog (PICA).js"" {file: "file:///home/sharma/.mozilla/firefox/mwad0hks.default/zotero/translators/Sudoc.js" line: 0}]

    [JavaScript Error: "Could not read text from PDF."]

    [JavaScript Error: "Could not read text from PDF."]

    [JavaScript Error: "Could not read text from PDF."]

    [JavaScript Error: "gBrowser.addProgressListener was called with a second argument, which is not supported. See bug 608628." {file: "chrome://browser/content/tabbrowser.xml" line: 1980}]

    [JavaScript Error: "this.editor is null" {file: "chrome://browser/content/urlbarBindings.xml" line: 159}]

    [JavaScript Error: "this.editor is null" {file: "chrome://browser/content/urlbarBindings.xml" line: 159}]

    [JavaScript Error: "The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature." {file: "zotero://debug/" line: 0}]

    [JavaScript Error: "gBrowser.addProgressListener was called with a second argument, which is not supported. See bug 608628." {file: "chrome://browser/content/tabbrowser.xml" line: 1980}]

    [JavaScript Error: "this.editor is null" {file: "chrome://browser/content/urlbarBindings.xml" line: 159}]

    [JavaScript Error: "this.editor is null" {file: "chrome://browser/content/urlbarBindings.xml" line: 159}]

    [JavaScript Error: "The character encoding of the plain text document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the file needs to be declared in the transfer protocol or file needs to use a byte order mark as an encoding signature." {file: "zotero://debug/" line: 0}]

    version => 4.0.3, platform => Linux x86_64, oscpu => Linux x86_64, locale => en-US, appName => Firefox, appVersion => 19.0

    =========================================================

    (4)(+0014585): Registering observer for [collection,search,share,group,trash,bucket] in notifier with hash Ws'

    (4)(+0000003): Registering observer for [item-tag,setting] in notifier with hash 6M'
  • Have you tried this with a PDF that's available online? Which?
    This will only work with PDFs that contain OCRd text.

    (also, though probably unrelated, something seems odd with your translator directory - are you working on coding translators somehow?

    3.0.2 is the latest version of the pdftools.
  • 1. http://www.annualreviews.org/doi/abs/10.1146/annurev.bb.09.060180.002343
    Title:Comparative Properties and Methods of Preparation of Lipid Vesicles (Liposomes)
    Author: Szoka and Papahadjopoulos.

    2. http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3464401/
    Title: Targeted Antimicrobial Peptides
    Author: Devocelle

    3. http://dx.doi.org/10.1021/bi049944h
    Title: Effect of Drastic Sequence Alteration and d-Amino Acid Incorporation on the Membrane Binding Behavior of Lytic Peptides.

    Author: Papo and Shai.


    Like these pdfs, all others are also available online and I am able to directly save pdf from the url but when I am trying to get the metadata from the pdf directly. It always shows "cannot read text from pdf". I am not using any scanned pdf so all are ocrd pdf only as they are available online.

    I dint understand about translator. But do you think it can be related to this problem and what should i do with my translator folder.

    I m stucked and i m really not able to understand the actual problem.

    I appreciate your quick replies.

    best regards
    himanshu
  • Yes, those should work.

    When you download the items using the URL bar icon and then select the PDF in Zotero - do they show up as "indexed" in the right hand panel?

    You could try moving the files pdftotext... and pdfinfo... (there are probably out of your zotero data directory http://www.zotero.org/support/zotero_data (with Zotero closed), then restart Zotero and re-install them from the search tab of the Zotero preferences.
  • I love you adam.

    Its working now flawlessely.

    Thanks alot
    I really appreciate your all guidance and time what you have given.

    Best regards
    Himanshu

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.