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

Invalid CSV type error #1192

Closed
Gojo-Taqi opened this issue Apr 10, 2024 · 3 comments
Closed

Invalid CSV type error #1192

Gojo-Taqi opened this issue Apr 10, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Gojo-Taqi
Copy link

Describe the bug
On uploading a valid CSV type file, you get an error saying "Select a valid CSV type file"
This is caused by an extra symbol in the values of the file that contained the degree symbol °.

To Reproduce

  1. Create a CSV file for any sample org
  2. And under location properties, for the values of latitude and longitude, have the degree symbol °.
  3. On trying to upload, you should get the error.
    Refer to the attached file for an example.

WB location_Uploads Fromat (1).csv

@Gojo-Taqi Gojo-Taqi added the bug Something isn't working label Apr 10, 2024
@mahalakshme
Copy link
Contributor

@Gojo-Taqi this is already dealt in avniproject/avni-product#1531

@Gojo-Taqi
Copy link
Author

@mahalakshme I don't think the issue should be closed.
Even with this card, avniproject/avni-product#1531, it doesn't say anywhere that on adding the degree symbol, the csv will not break.
Or maybe it is handling and not mentioned in the card.

@mahalakshme
Copy link
Contributor

mahalakshme commented Apr 10, 2024

@Gojo-Taqi The issue here is users have added coordinates with degree. Currently in sample file there is no sample for coordinates. So there is no way for users to understand currently the format for coordinates. I think some things we can understand only iteratively. In the card I have mentioned this --- degree - solved by data in sample file

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
Archived in project
Development

No branches or pull requests

3 participants