Git Product home page Git Product logo

Comments (5)

sorenwacker avatar sorenwacker commented on June 3, 2024

In addition, new lines are introduced inside the uploaded files:

            </binaryDataArray>
          </binaryDataArrayList>
        </spectrum>
        <sp
ectrum index="1154" id="controllerType=0 controllerNumber=1 scan=1155" defaultArrayLength="894">
          <cvParam cvRef="MS" accession="MS:1000511" name="ms level" value="1"/>
          <cvParam cvRef="MS" accession="MS:1000129" name="negative scan" value=""/>
          <cvParam cvRef="MS" accession="MS:1000579" name="MS1 spectrum" value=""/>

Should be:

            </binaryDataArray>
          </binaryDataArrayList>
        </spectrum>
        <spectrum index="1154" id="controllerType=0 controllerNumber=1 scan=1155" defaultArrayLength="894">
          <cvParam cvRef="MS" accession="MS:1000511" name="ms level" value="1"/>
          <cvParam cvRef="MS" accession="MS:1000129" name="negative scan" value=""/>
          <cvParam cvRef="MS" accession="MS:1000579" name="MS1 spectrum" value=""/>

from dash-uploader.

sorenwacker avatar sorenwacker commented on June 3, 2024

Setting the chunksize to 50 removes the empty lines within the files but keeps the empty line in the beginning. One file is around 10 - 20 MB.

from dash-uploader.

sorenwacker avatar sorenwacker commented on June 3, 2024

Using werkzeug==2.2.3 seems to fix it.

from dash-uploader.

davidism avatar davidism commented on June 3, 2024

If you can find a minimal reproducing example with Werkzeug only, can you report it there? This is the second report I've seen of this, but I can't reproduce it with a simple example.

from dash-uploader.

davidism avatar davidism commented on June 3, 2024

Reported at pallets/werkzeug#2675

from dash-uploader.

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.