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

CSV importing wrong parsing #25

Closed
alexauvray opened this issue Sep 25, 2018 · 3 comments
Closed

CSV importing wrong parsing #25

alexauvray opened this issue Sep 25, 2018 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@alexauvray
Copy link

image

@vitorfs
Copy link
Owner

vitorfs commented Sep 25, 2018

The idea here is that you instruct Colossus on how to import your data properly, from a csv file in any format.

On the select input on the header of the table you can define the mapping and tell Colossus what to do with this field. For now we have limited fields. Custom fields are on the roadmap.

@alexauvray
Copy link
Author

alexauvray commented Sep 26, 2018

Okay. The issue was that I only had email addresses and not names associated with them. The issue is that there is no way to repair this by pasting together the "broken" email lists (example : iloveyou@gmail.com becomes iloveyou as the email address and @gmail.com becomes the name). The only workaround is to force a second column in the CSV file and write names.

@vitorfs
Copy link
Owner

vitorfs commented Sep 26, 2018

Ah that's interesting. Thanks for reporting that!

It is indeed a bug. The way I'm using Python's csv utility, I try to guess what is the column separator (comma, semicolon, tabs, etc).

Because you only had emails in the csv file, the parser thought the "@" was the separator, so it ended up splitting the name and domain into two columns, instead of keeping only one column.

I'll release a fix soon

@vitorfs vitorfs self-assigned this Sep 26, 2018
@vitorfs vitorfs added the bug Something isn't working label Sep 26, 2018
@vitorfs vitorfs closed this as completed in 062141d Nov 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants