Juris-M / zotero-odf-scan-plugin

RTF/ODF-Scan for Zotero add-on
https://zotero-odf-scan.github.io/zotero-odf-scan/
Other
87 stars 14 forks source link

`zotero-odf-scan-v2.0.43.xpi` doesn't install the `Scannable Cite.js` in to the translators dir #41

Open kjambunathan opened 4 years ago

kjambunathan commented 4 years ago

I am running

~$ dpkg -l | grep firefox ii firefox-esr 68.10.0esr-1 amd64 Mozilla Firefox web browser - Extended Support Release (ESR)

~$ uname -a Linux debian 5.7.0-1-amd64 #1 SMP Debian 5.7.6-1 (2020-06-24) x86_64 GNU/Linux

zotero-odf-scan-v2.0.43.xpi doesn't install the Scannable Cite.js in to the ~/Zotero/translators dir

Unless I move the Scannable Cite.js file to Zotero dir, the Scannable Cite doesn't show up in the Zotero Export Prefereces pane. (Screenshot after the manual workaround)

Screenshot from 2020-07-22 14-29-28

kjambunathan commented 4 years ago

Looks like this is a common issue that is faced by many people.

I solved the problem after reading forum message which is as recent as Jan 2020.

No, don't copy the code. Simply right-click on this link: https://raw.githubusercontent.com/Juris-M/zotero-odf-scan-plugin/master/resource/translators/Scannable%20Cite.js (right-here in the forum) and save the downloaded file into the translator folder in the Zotero data directory. Restart Zotero and Scannable Cite shoudl be available. https://www.zotero.org/support/zotero_data#the_zotero_data_directory

Pharkie commented 4 years ago

Had the same issue. The fix suggested works fine (manual install of the JS file). Windows 10 here.

mfwesq commented 4 years ago

As suggested above, I manually download "Scannable Cite.js" from this github folder: https://github.com/Juris-M/zotero-odf-scan-plugin/tree/master/resource/translators. I then manually copied the file to the "Zotero\translators" folder on my hard drive. I had previously installed the add-on (zotero-odf-scan-v2.0.43.xpi) using the Zotero add-on dialog.

When I restarted Zotero, the "Scannable Cite.js" file was deleted while I was looking at the file in File Explorer. I am unsure what I can do at this point. I am running Zotero 5.0.92 on Windows 10.

kerim commented 3 years ago

The URL for the download gives me a 404 error 😢

adam3smith commented 3 years ago

The GitHub comment software cut off the last part (Cite.js) when hyperlinking. Use the link in the Zotero forum post Edit: I've also fixed the link above to avoid confusion

mfwesq commented 3 years ago

The work around of manually installing Scannable Cite.js in the translators folder does not work for me because Zotero deletes the Scannable Cite.js file when it starts. Running 5.0.96.3 on Windows 10.

adam3smith commented 3 years ago

If Zotero deletes the file, you are putting the wrong file in the directory, most likely saving the webpage instead of the raw .js file

mfwesq commented 3 years ago

Thanks. That does seem to be the problem. I didn't realize the link "Scannable Cite.js" in the github page was to an html webpage rather than a js file.

adam3smith commented 3 years ago

I've updated the documentation to make people aware of this during install. Still hoping to fix this, but hopefully this will avoid some confusion.

crscnc commented 2 years ago

Greetings! I'm trying it with Zotero 6.0.15 on Zorin OS Pro 16.1 (Ubuntu 20.04 based). While Zotero directory is /usr/lib/zotero and do not have translator folder, i managed to find this folder inside home/$myuser/zotero/translators. It works! Thank you!