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

OpenAlex: [error] request-default-error-callback #1114

Closed
FilConscious opened this issue May 8, 2024 · 3 comments
Closed

OpenAlex: [error] request-default-error-callback #1114

FilConscious opened this issue May 8, 2024 · 3 comments

Comments

@FilConscious
Copy link

Hi,

I've recently seen your video tutorials on how to use org-ref to retrieve data via OpenAlex. Thanks for this, these new functionalities look amazing!

Unfortunately, I'm not able to use them in Doom Emacs (with helm and helm-bibtex).

When I click on a reference, I get the following hydra in which two of the OpenAlex functions are missing (Related documents and Cited by documents):

Screenshot from 2024-05-08 22-41-19

Then, if I try to use References from, the OpenAlex buffer appears but consistently zero results are found, and the following errors are displayed:

[error] request--callback: peculiar error: 404
[error] request-default-error-callback: https://api.openalex.org/worksdoi:https://doi.org/10.1016/j.neuron.2018.07.035?mailto=myemail@me.com&api_key=nil&filter=nil error

A quick look at the OpenAlex API makes me think that there should be a / between works and doi , otherwise the call is incorrect, hence the 404 error.

If you could provide any further insight or explanation, to help fix this issue, I would greatly appreciate it.

jkitchin added a commit that referenced this issue May 9, 2024
I think this fixes the bug on getting related, cited and references.
@jkitchin
Copy link
Owner

jkitchin commented May 9, 2024

I think I fixed some of these issues. I don't know why there is only xf showing initially. If I reload the openalex library then all of them appear. I will keep looking into that.

jkitchin added a commit that referenced this issue May 9, 2024
It seems like only the last one shows. Maybe this single call will do the right thing in adding them all.
@FilConscious
Copy link
Author

Thanks a lot!

Everything seems to be working now:

  • I can see all thex- functions when the hydra is invoked
  • each returns a list of related entries in a new buffer

@jkitchin
Copy link
Owner

jkitchin commented May 9, 2024

thanks for reporting it. It was bugging me every once in a while, and I am glad to have fixed it!

@jkitchin jkitchin closed this as completed May 9, 2024
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