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

RO-Crate: There is no pointer to the root dataset #106

Open
Tracked by #175
pdurbin opened this issue Feb 24, 2025 · 0 comments
Open
Tracked by #175

RO-Crate: There is no pointer to the root dataset #106

pdurbin opened this issue Feb 24, 2025 · 0 comments

Comments

@pdurbin
Copy link
Member

pdurbin commented Feb 24, 2025

I'm getting some strange errors when I try the ro-crate-metadata.json file from the zip at https://dataverse.lib.virginia.edu/file.xhtml?fileId=79676&version=1.2

Uncaught (in promise) Error: There is no pointer to the root dataset
    u https://gdcc.github.io/dataverse-previewers/previewers/v1.4/js/ro-crate-dynamic.min.js:29
    h https://gdcc.github.io/dataverse-previewers/previewers/v1.4/js/ro-crate-dynamic.min.js:29
    <anonymous> https://gdcc.github.io/dataverse-previewers/previewers/v1.4/js/ro-crate-dynamic.min.js:29
    <anonymous> https://gdcc.github.io/dataverse-previewers/previewers/v1.4/js/ro-crate-dynamic.min.js:29
    <anonymous> https://gdcc.github.io/dataverse-previewers/previewers/v1.4/js/ro-crate-dynamic.min.js:29
ro-crate-dynamic.min.js:29:151715

Here are the errors in context from https://demo.dataverse.org/file.xhtml?persistentId=doi:10.70122/FK2/5BRA4M/MKCFRV&version=1.0

Image

Here's the PR where we originally added the RO-Crate previewer:

It seems to work fine on simple files. Below is an example from https://demo.dataverse.org/file.xhtml?persistentId=doi:10.70122/FK2/RS3ZA9/CEFMAO using this ro-crate-metadata.json file.

Image

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

1 participant