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

extraction error #13

Open
rui-chen-1 opened this issue Apr 30, 2024 · 1 comment
Open

extraction error #13

rui-chen-1 opened this issue Apr 30, 2024 · 1 comment

Comments

@rui-chen-1
Copy link

Thank you for creating this wonderful tool!
However, today I have been trying both methods of adding the link but keep getting the same error below:

fetching citation from url https://www.sciencedirect.com/science/article/pii/S0376738818326115
extraction error Error: could not fetch citation from https://www.sciencedirect.com/science/article/pii/S0376738818326115: {"type":"[https://mediawiki.org/wiki/HyperSwitch/errors/not_found","title":"Not](https://mediawiki.org/wiki/HyperSwitch/errors/not_found%22,%22title%22:%22Not) found.","method":"get","uri":"/en.wikipedia.org/v1/data/citation/bibtex/https%3A%2F%[2Fwww.sciencedirect.com](http://2fwww.sciencedirect.com/)%2Fscience%2Farticle%2Fpii%2FS0376738818326115"}
at getCslForUrl (/opt/homebrew/lib/node_modules/pandoc-url2cite/dist/index.js:51:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Url2Cite.getCslForUrlCached (/opt/homebrew/lib/node_modules/pandoc-url2cite/dist/index.js:80:19)
at async Object.astTransformer [as single] (/opt/homebrew/lib/node_modules/pandoc-url2cite/dist/index.js:169:17)
at async walk (/opt/homebrew/lib/node_modules/pandoc-url2cite/node_modules/pandoc-filter/index.js:60:28)
at async walk (/opt/homebrew/lib/node_modules/pandoc-url2cite/node_modules/pandoc-filter/index.js:79:22)
at async walk (/opt/homebrew/lib/node_modules/pandoc-url2cite/node_modules/pandoc-filter/index.js:67:32)
at async walk (/opt/homebrew/lib/node_modules/pandoc-url2cite/node_modules/pandoc-filter/index.js:79:22)
at async Object.filter (/opt/homebrew/lib/node_modules/pandoc-url2cite/node_modules/pandoc-filter/index.js:178:13)
at async Url2Cite.transform (/opt/homebrew/lib/node_modules/pandoc-url2cite/dist/index.js:236:16)
Error running filter pandoc-url2cite:
Filter returned error status 1

Is there a easy fix here? I am using the same pandoc command in README here.

@phiresky
Copy link
Owner

It looks like you have some parsing error. Please send the content of your document (/ a minimal reproduction)

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

2 participants