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

PsyArXiv: Error saving last item on search-results page #3154

Open
dstillman opened this issue Oct 2, 2023 · 1 comment
Open

PsyArXiv: Error saving last item on search-results page #3154

dstillman opened this issue Oct 2, 2023 · 1 comment

Comments

@dstillman
Copy link
Member

dstillman commented Oct 2, 2023

Saving "Perceived Muslim Population Growth Triggers Divergent Perceptions and Reactions from Republicans and Democrats" on this page fails.

I get this:

Translate: Translation using OSF Preprints failed: 
TypeError: Cannot read properties of undefined (reading 'attributes')

TypeError: Cannot read properties of undefined (reading 'attributes')
    at osfAPIImport (eval at <anonymous> (chrome-extension://kamnafiakhhkladalejcocpigcjbiidm/inject/sandboxManager.js:63:4), <anonymous>:122:46)

The OP got a different error.

I didn't test if it's something specific to this item or just that it's the last item on the page.

(From https://forums.zotero.org/discussion/108237/persistent-translator-issues, but unrelated to the rest)

@zoe-translates
Copy link
Collaborator

In fact, I think the OSF search-pages changed the layout of results display, so the detection of multiple stopped working altogether. This is addressed in #3162.

The problem with Cannot read properties of undefined suggests that the API response was malformed (it didn't have the expected data field in the JSON response). This was probably a server issue that can no longer be easily reproduced. I'm yet to trigger a similar error message.

The search query URLs are no longer understood by the OSF search pages. It seems that they redid the search function and the former syntax no longer applies.

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

No branches or pull requests

2 participants