Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kjambunathan opened this issue Jul 22, 2020 · 10 comments

Comments

@kjambunathan
Copy link

kjambunathan commented Jul 22, 2020

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
Copy link
Author

kjambunathan commented Jul 22, 2020

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
Copy link

Pharkie commented Jul 25, 2020

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

@mfwesq
Copy link

mfwesq commented Nov 2, 2020

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
Copy link

kerim commented Oct 17, 2021

The URL for the download gives me a 404 error 😢

@adam3smith
Copy link
Collaborator

adam3smith commented Oct 17, 2021

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
Copy link

mfwesq commented Oct 17, 2021

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
Copy link
Collaborator

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
Copy link

mfwesq commented Oct 17, 2021

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
Copy link
Collaborator

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
Copy link

crscnc commented Oct 11, 2022

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants