Giter Club home page Giter Club logo

Comments (3)

wengerm50 avatar wengerm50 commented on May 17, 2024

Hi,

i've investigated and came up with a few things.

  • First the stacktrace that you posted is actually due to a ValidationError raised if the labels you specify when creating a project do not match the labels in the file you uploaded. See this commit for more info 14b6796

  • Next the actual issue with newlines is due to how we load the data into the database. We are using Postgres COPY and its expects every line from a csv to be a newline (which is causing issues when there are new lines in the text). I've replaced new lines with spaces. The UI would not render new lines anyway, so hopefully this is okay for now.

If you want to try it out and see if this works for you the changes are in #10

from smart.

wengerm50 avatar wengerm50 commented on May 17, 2024

We've reviewed and merged the pull request. I'm going to go ahead and close the issue now. If you are still having this issue with the most recent version feel free to comment again.

from smart.

ts2095 avatar ts2095 commented on May 17, 2024

Hey,

sorry for not replying earlier.
We'd actually really like to have multiple lines as we're displaying emails that get really hard to read without linebreaks. I don't honestly understand enough about how the frontend works. Is there a chance to use something like <br> if \n breaks Postgres?

Thanks!

from smart.

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.