Skip to content

Error loading Bibtex for second citation insert, citr crashes after inserting one citation #86

Description

@SamSWebb

Describe the bug
I have just downloaded citr using the remotes code
remotes::install_github("ropensci/RefManageR"); remotes::install_github("crsh/citr") and restarted R studio (and have the pluggins for zotero etc). When I went to insert a citation, I connected to the Zotero library and inserted a citation. Then I went to insert another citation elsewhere and I consistently encountered an error where citr would not cite additional references.

I have a reference list exported from Zotero in the working directory and in the YAML header, this error reproduces with or without this YAML header and when or not the references.bib is character vector or not.

To Reproduce
my R version:
_
platform x86_64-apple-darwin17.0
arch x86_64
os darwin17.0
system x86_64, darwin17.0
status
major 4
minor 0.4
year 2021
month 02
day 15
svn rev 80002
language R
version.string R version 4.0.4 (2021-02-15)
nickname Lost Library Book

Go to 'addins' -> 'insert citations' -> connect to zotero library -> insert the citation -> move to different area and repeat process.

Expected behavior
I expected citr to allow a second citation.

Screenshots
Here is what happens as soon as I click insert citations for any additional citation
Screenshot 2021-03-16 at 11 13 30

This is an error on the setting page of citr
image

And this was an error I found but could not reproduce.
image

Additional context
This is a new macbook pro 2019, I have previously used citr very sucessfully on a different computer and earlier R version!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions