Git Product home page Git Product logo

Comments (10)

chrisgorgo avatar chrisgorgo commented on August 19, 2024

Happened after user tried to delete one of the .nii files.

from openneuro.

nellh avatar nellh commented on August 19, 2024

Looks like they deleted the only .nii file and that's important because it leads to a special case where the validator returns 'Invalid' instead of a list of errors.

I'm writing tests and a fix for this on the frontend but maybe it would be better to remove this special case from the validator? It would be more consistent to return a regular validator error quickTest fails.

from openneuro.

nellh avatar nellh commented on August 19, 2024

Last step to finish this is to upgrade OpenNeuro to [email protected]

from openneuro.

nellh avatar nellh commented on August 19, 2024

@chrisfilo The bids-validator fixes prevent this from crashing the page but it is still impossible to recover from it. You can't add a subject because the directory is removed automatically and you can't create directories. You can delete the dataset and start over with these fixes and it's much clearer what went wrong with the error code.

Should we support adding subjects after upload so you can recover from this situation without recreating the dataset?

from openneuro.

chrisgorgo avatar chrisgorgo commented on August 19, 2024

Yes. Adding new subjects after upload is very useful when you run apps while still acquiring data.

from openneuro.

chrisgorgo avatar chrisgorgo commented on August 19, 2024

Even after update this error is still affecting this dataset. Maybe revalidation needs to be forced?

In addition, there is a new one as well now:

Uncaught TypeError: Cannot read property 'body' of undefined
    at scitran.js:169
    at o (request.js:131)
    at request.js:26
    at u.callback (client.js:615)
    at u.<anonymous> (client.js:415)
    at u.t.emit (index.js:133)
    at XMLHttpRequest.e.onreadystatechange (client.js:705)

from openneuro.

chrisgorgo avatar chrisgorgo commented on August 19, 2024

The second error is probably #6

from openneuro.

chrisgorgo avatar chrisgorgo commented on August 19, 2024

I confirmed the original error on a connection not affected by #6

from openneuro.

nellh avatar nellh commented on August 19, 2024

@chrisfilo I did miss revalidating this in my deployment steps. I just tried it now and ran into a problem with the dataset hashes not matching up. I'll put together a workaround tomorrow.

from openneuro.

nellh avatar nellh commented on August 19, 2024

@chrisfilo I cleared the bad validation data but it looks like this dataset was deleted. Revalidation didn't work since the files are missing.

from openneuro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.