Project Gutenberg / Could not save item

Adding from Project Gutenberg gives the following error "Could not save item / An error occurred while saving this item. Check Known Translator Issues for more information."

Trying to add the work pasted below, but a few others I tried at random also give the same error:

http://www.gutenberg.org/ebooks/20321

I have gone through your troubleshooting steps.

1 I have the latest version of Zotero. (2.09)
2. I have the latest version of firefox. (3.6.13)
3. I have the latest available translators.
4. Hovering over the icon gives "project gutenberg" as text.
5. I see no "known translator issues."
6. 3rd party cookies are enabled.
7. I see no "incompatable extensions" (and I only have two add-ins installed besides zotero: delicious bookmarks and firefox sync.)
8. The address bar icon is visible.
9. Ditto.

Following your steps for reporting errors:

1. I have searched documentation for similar errors and only get older issues that have been since fixed.
2. No error report under the action menu gear icon.
3. Steps to reproduce are to go to the url above and click the icon.

Thanks!

P.S. Your "reporting bugs" page might benefit from a direct link to the error reporting forum. I had a bit of uncertainty on this step (even though a few seconds of thinking about it led me here.)
  • I'm experiencing the same problem. (Zotero 2.15, Firefox 4.0, Ubuntu 11.04 beta)
  • Please go to http://github.com/ajlyon/zotero-bits/raw/master/Project Gutenberg.js and save the file to the translators directory of your Zotero data directory (http://www.zotero.org/support/zotero_data).

    It should start working again. If this works for you, please post here so that I can submit this change to be pushed to all users.
  • ajlyon,

    Yes it works!!

    Zotero now saves the entry as it should and it also captures the name of the author.

    Thank you so much :)
  • Glad it worked. This is now in the repository and should go out with the next update of Zotero.
  • It did not work for me, exact same problem
  • Safari 5, zotero 2.1.8, file downloaded as indicated, to get the same error message.
  • Please go to http://github.com/ajlyon/translators/raw/master/Project Gutenberg.js and save the file to the translators directory of your Zotero data directory (http://www.zotero.org/support/zotero_data).

    It should start working again. If this works for you, please post here so that I can submit this change to be pushed to all users.

    This works at least for the de las Casas book linked to in the thread.
  • Unfortunately, it did not
  • Double check http://www.zotero.org/support/troubleshooting_translator_issues -- and submit an error report (http://www.zotero.org/support/reporting_bugs) and post the report ID here if it still doesn't work.
  • So, this is the error report number

    1752938552

    This is the error:

    I tried to have this e-book's bibliographic record into my library:

    http://www.gutenberg.org/ebooks/35753

    After following the instructions in this thread, I keep getting an error message that vaguely mentions "problemas con el traductor" (problems with the translator). The record is not imported into my library.

    Thanks for the support
  • Dan: Can you post the relevant portion of the error report?
  • Translate: translator called select items with no items
  • ajlyon - you saw that tortugamarina is using safari?
  • tortugamarina: Wait, so you're using the Safari plugin and the hidden setting in Zotero to enable saving from the connectors? It's really important to be very clear about that at this point. The connectors are still alpha code and differ quite a bit from saving within Firefox.
  • Dan's point covers the main thing that threw me off-- I took Zotero 2.1.8 to mean that tortugamarina was using Firefox 5 and just mistyped.

    tortugamarina: Try running the updated code from within Firefox and let us know how it goes.

    Also, it'd be good if others could try the updated code as well, to make sure it isn't just me who can get it to work.
  • Sorry about the silence, I went on vacation. I am using Ubuntu natty with Firefox 5. Will try the updated code and let you know. No Safari plugin that I am aware of. The hidden setting I wouldn't know about.
  • Ok, here we go again. I take it that the updated code you mention is here:

    https://raw.github.com/ajlyon/translators/master/Project%20Gutenberg.js

    So I saved it as indicated, and it kept refusing to save the quote. This is the error message.

    [JavaScript Error: "TypeError: title is undefined" {file: "file:///home/renatog/.mozilla/firefox/7b31z3j5.default/zotero/translators/Project%20Gutenberg.js" line: 0}]

    The report number is:

    1196323748

    No Safari or other code that I know about, I'm 100% linux. As for the hidden settings you mention, I'll be glad to check them if u tell me how.

    Thanks again.
  • Am I correct to assume that the Project Gutenberg interface isn't displaying in English for you? The translator currently assumes that you are using the English PG, and it will break otherwise. It is possible to make the translator language-agnostic, but that hasn't happened yet.
  • Well, thanks anyway. At this point I'd rather quit: it looks easier to type the entries than to solve the problem. Zotero is automatically installed in Spanish by Firefox 5, and I see no obvious detour from this--except for installing Firefox 5 in English, which is no option--, so I guess I can wait for things this to get worked out in the future. Thanks anyway. I don't think it will do any good, because the rest of the translators seem to work fine, but I'll try installing java's updated engine--I use the open source linux thing--, and will let you know if it improves.
  • http://www.zotero.org/support/supported_languages#switching_languages

    The 'useragent' setting described there would tell websites (such as PG) to use English, without your installing the English version of Firefox. It would have the side effect of setting the Zotero interface (and the interfaces of other Firefox extensions) to English.

    I wouldn't be surprised if there was a Firefox add-on that let you just send different user-agent locales to different websites, though.
  • (Well, assuming PG is detecting based on the user-agent string and not your IP address.)
  • You don't even need to switch languages-- can you confirm that Project Gutenberg's interface is displaying in Spanish?

    If so, that's the problem-- but I'll look into making the translator work equally well for all interface languages.
  • Good news is, it was solved when installing Firefox 6.0
  • An error occurred while saving this item. Check Known Translator Issues for more information.
    I did this Please go to http://github.com/ajlyon/translators/raw/master/Project%20Gutenberg.js and save the file to the translators directory of your Zotero data directory (http://www.zotero.org/support/zotero_data).
    But problem still exists.
Sign In or Register to comment.