Skip to content

(args-out-of-range [] 0) error for gscholar-bibtex-retrieve-and-show-bibtex() #38

@asberk

Description

@asberk

My error is similar in nature to #10 and #28. I'm not an elisp expert; however, what I've noticed from edebug is that search-results in gscholar-bibtex's definition of gscholar-bibtex-urls-cache (L754), is populated with a string, but (gscholar-bibtex-dispatcher :bibtex-urls search-results) on line 755 returns nil. This therefore means that the call to make-vector in the definition of gscholar-bibtex-entries-cache on L756 returns []. ergo, it's impossible to access index 0 of that vector.

Is there an issue with how the dispatcher is parsing search-results? Is there a cookies issue like what's suggested in other issues? Note that I do not have this problem on my other laptop (both running Mac OS).

Debugger entered--Lisp error: (args-out-of-range [] 0)
  gscholar-bibtex-retrieve-and-show-bibtex()
  gscholar-bibtex--write-bibtex-to-database-impl(t)
  gscholar-bibtex-append-bibtex-to-database()
  funcall-interactively(gscholar-bibtex-append-bibtex-to-database)
  call-interactively(gscholar-bibtex-append-bibtex-to-database nil nil)
  command-execute(gscholar-bibtex-append-bibtex-to-database)

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