Hi I have installed the plugin but I am not able to get it to work. I see the extract text option in the context menu. Once I select the extract text option it scans the library but nothing works after that. I am using a mac with OSX 10.6.8, firefox version 15.0.1, java version JAVA SE6 1.6.0_33-b03-424. Is there something I am missing?
If you click on another library/folder in Zotero and click again on the original one, do the other processing options become visible? Some people seem to get these options only after quitting and restarting Firefox -- I've tried to look into this, but I haven't been able to replicate it on any of my machines.
If that doesn't work, try going to the Tools menu -> Web Developer -> Error Console, click on the "Errors" tab at the top of the window, and check for any errors that have "chrome://papermachines/" in the Source File section. If you copy those and paste them here, it might clarify what is going wrong.
The first error you mentioned ("Warning: WARN addons.manager: Exception calling callback: TypeError: target is null") seems to indicate that the Python files were not copied to the appropriate location. The second one comes from not finding the log file for the extraction process, which presumably results from the absence or failure to run of the Python scripts.
Is there anything unusual about the location or set-up of your Zotero data directory (read/write permissions or located on an external drive)? Also, what version of Python do you have?
I have gotten access to a system with similar specs (Mac OS X 10.6.8, Firefox 15.0.1) and it seems like the version of Python included with that system is the culprit. Some of the scripts use syntax that was not introduced until Python 2.7.
I will add a note to the README that a more recent version of Python is required. In the meantime, try using the version here: http://www.python.org/ftp/python/2.7.3/python-2.7.3-macosx10.6.dmg
Sorry for the delay in figuring this out! I hope that updating Python will be the solution. Please let me know if it works now.
I believe we're getting closer... I realize now that even after I installed Python 2.7.3 on the 10.6.8 machine, Firefox is still trying to run the scripts with the old version of Python. This is because the Python installer saves the Python executable to /Library/Frameworks/Python.framework/Versions/2.7/bin/python (as well as creating a link to it as /usr/local/bin/python), but neither of those is in Firefox's internal search path.
I've altered the latest version of the plugin (0.2.5) to search for Python executables in some other common locations, and added the path to Python as a user-configurable preference. Please try with this new version and see what happens. Also, if you look in your Zotero data directory, do you see a "papermachines" folder inside it, with a variety of other folders (most crucially "processors") inside that?
It seems that in trying to fix the way that Python scripts were run, I inadvertently introduced another bug that failed any processes from registering as finished. This should now be repaired as well. Please try with 0.2.6 and see if that allows it to work.
I meant to ask earlier, are you using Zotero Standalone as well as Zotero for Firefox? I get similar errors if Zotero Standalone is open at the same time.
You should be able to run them from the main library as well, so this still indicates a bug of some kind. Can you try again with 0.2.8? (I fear you'll have to run the extraction on the library again, so that it properly updates the database with which collection the files are in.)