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

Error when trying to add citation from arXiv via Zotero #28

Closed
awmercer opened this issue Mar 4, 2018 · 2 comments
Closed

Error when trying to add citation from arXiv via Zotero #28

awmercer opened this issue Mar 4, 2018 · 2 comments

Comments

@awmercer
Copy link

awmercer commented Mar 4, 2018

I'm attempting to insert a citation from my Zotero database that originally comes from arXiv. When I copy the raw bibtex from Zotero I get the following:

@article{tan2018a,
  archivePrefix = {arXiv},
  eprinttype = {arxiv},
  eprint = {1801.03147},
  primaryClass = {stat},
  title = {"{{Robust}}-Squared" {{Imputation Models Using BART}}},
  journal = {arXiv:1801.03147 [stat]},
  author = {Tan, Yaoyuan V. and Flannagan, Carol A. C. and Elliott, Michael R.},
  month = jan,
  year = {2018},
  keywords = {Statistics - Applications},
  file = {/Users/andrewmercer/Zotero/storage/EP3AHQZ6/Tan et al. - 2018 - Robust-squared Imputation Models Using BART.pdf;/Users/andrewmercer/Zotero/storage/I3ZV4QQ7/1801.html}
}

However, I get the following error in citr:

Writing 1 Bibtex entries ... Warning: Error in .BibEntryCheckBibEntry1: A bibentry of bibtype ‘Article’ has to specify the field: c("journaltitle", "journal")
Stack trace (innermost first):
    73: .BibEntryCheckBibEntry1
    72: $<-.BibEntry
    71: $<-
    70: toBiblatex
    69: writeLines
    68: RefManageR::WriteBib
    67: observeEventHandler
     3: shiny::runApp
     2: runGadget
     1: citr:::insert_citation
ERROR: [on_request_read] connection reset by peer

Clearly there is a journal field in the bibtex exported by Zotero. I assume this has something to do with the various eprint tags. Any idea what might be causing this or if there's a workaround?

@crsh
Copy link
Owner

crsh commented Apr 9, 2018

Hi, sorry for the huge delay, this issue somehow slipped passed me. 🙇‍♂️

I can't reproduce the problem. Could you try updating the bibtex and RefManageR packages? If the problem persists could you provide your devtools::session_info()-output?

@no-response
Copy link

no-response bot commented Apr 29, 2019

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@no-response no-response bot closed this as completed Apr 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants