Comments (3)
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.
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.
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)
- WebpackError at /accounts/login/ HOT 2
- Are there any plans for supporting multi-labels categorization ? HOT 2
- Label's that are Numbers appear to cause problems...
- Issue when uploading more data after annotation completion
- Service 'smart_frontend' failed to build HOT 3
- Using SMART for judging search queries? HOT 1
- Setting the number of examples for annotation
- E: Unable to locate package msodbcsql17
- Any plans for keyboard shortcuts in annotation?
- Getting Errors from Skipped tab
- Display newlines for project descriptions, tag descriptions and annotation cards HOT 1
- Add instructions for deploying in production HOT 2
- Change dev environment so it actually rebuilds webpack as you edit files
- Automatically create links from urls in annotation cards AND massively update the packages HOT 2
- TypeError at /projects/add HOT 1
- Model not running HOT 3
- Add short cut HOT 1
- File error while mounting container
- docker-compose run --rm smart_backend ./migrate.sh HOT 4
- `docker-compose build` throws Error in Windows 10 and Docker with WSL2 backend because of incompatible node HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smart.