SAPConversationalAI icon indicating copy to clipboard operation
SAPConversationalAI copied to clipboard

not able to import csv file

Open KarimKdj opened this issue 7 years ago • 20 comments

I cannot upload a *.csv file to upload a list of expressions to create a gazette for a custom entity, even though the the file should be accepted.

I get error "Csv parameter format is not supported (accepted format is 'text/csv')"

KarimKdj avatar Oct 05 '18 20:10 KarimKdj

Hi @KarimKdj can you send me your file that i can reproduce?

thanks

aurelie-lamy avatar Oct 18 '18 15:10 aurelie-lamy

Hello @aurelie-lamy here is the file https://cdn.recast.ai/blog/pokebot/pokedex.csv

KarimKdj avatar Oct 23 '18 16:10 KarimKdj

Hi @KarimKdj thanks for the file. Do you use a Windows machine?

aurelie-lamy avatar Oct 25 '18 10:10 aurelie-lamy

Hello @aurelie-lamy , yes I do use a Windows machine (Windows 10)

KarimKdj avatar Oct 25 '18 12:10 KarimKdj

Thanks ! we will fix it in the next days (SAPMLCONV-766)

aurelie-lamy avatar Oct 25 '18 19:10 aurelie-lamy

Did you remove the Gazette feature ? I can't find it anymore :)

KarimKdj avatar Nov 21 '18 12:11 KarimKdj

Hi @KarimKdj what do you mean? can you provide us a screenshot please?

aurelie-lamy avatar Nov 21 '18 13:11 aurelie-lamy

Hi All, What is the status of this issue? I'm still not able to upload a valid csv file from a windows machine. Error: "Csv parameter format is not supported (accepted format is 'text/csv')" is popping up.

kristofdemoor avatar Nov 22 '18 10:11 kristofdemoor

Hi, it will be fixed by the end of december.

aurelie-lamy avatar Nov 26 '18 10:11 aurelie-lamy

Hi,

We're running behind, this issue will be fixed by the end of January .. our team is currently working on it

best

aurelie-lamy avatar Dec 31 '18 08:12 aurelie-lamy

Hi @kristofdemoor , @KarimKdj

can you try now? we have pushed to production a fix!

thanks,

Aurélie

aurelie-lamy avatar Feb 02 '19 22:02 aurelie-lamy

I've succeed uploading a csv of gazettes! from a windows machine. It took some time to display after the import, but after a few refreshed it appeared. The paging though isn't comfortable, you should show all of the page numbers and not only the current with arrows.

tiulimg avatar Feb 05 '19 20:02 tiulimg

Still, the issue is there. I tried importing a CSV File to create Custom Entities. But I'm getting the same error "File format is not supported (accepted format is 'text/csv')"

linkeshkanna avatar Feb 19 '19 14:02 linkeshkanna

I think that I had to save the csv as UTF-8, not unicode and then it worked...

tiulimg avatar Feb 19 '19 19:02 tiulimg

Hi guys, (@tiulimg @linkeshkanna @KarimKdj @kristofdemoor )

Do you still have the issue? If yes, could you send me your csv file please?

Many thanks,

Aurélie

aurelie-lamy avatar Feb 26 '19 09:02 aurelie-lamy

Hi @aurelie-lamy I'm still facing the issue. I tried uploading a normal csv file. I also used online tools to convert my csv to utf-8 encoded and tried uploading. But still, I'm facing the issue.

MAMTRL_PART_1_1.txt

I have reduced my file size to < 400 MB and the number of synonyms to less than 10000, because of the validation "10,000 synonyms at once, while not exceeding the file size limit of 1 MB."

But still the issue exists.

linkeshkanna avatar Feb 26 '19 10:02 linkeshkanna

I have added my comments and also attached the text file.

Please have a look.

Thanks, Linkesh Kanna Velu

On Tue, 26 Feb 2019 at 15:23, aurelie-lamy [email protected] wrote:

Hi guys, (@tiulimg https://github.com/tiulimg @linkeshkanna https://github.com/linkeshkanna @KarimKdj https://github.com/KarimKdj @kristofdemoor https://github.com/kristofdemoor )

Do you still have the issue? If yes, could you send me your csv file please?

Many thanks,

Aurélie

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SAPConversationalAI/SAPConversationalAI/issues/88#issuecomment-467372876, or mute the thread https://github.com/notifications/unsubscribe-auth/AFez4J7ETDWOjPtrrFHw23AUTV_cqOlrks5vRQQRgaJpZM4XK23p .

linkeshkanna avatar Feb 26 '19 10:02 linkeshkanna

thanks for the file @linkeshkanna

aurelie-lamy avatar Feb 26 '19 10:02 aurelie-lamy

Hello, have you found a solution/workaround for the bug? I am still facing the error message.

Thanks, Stefano

ilsaina avatar Jul 08 '19 08:07 ilsaina

File format is not supported (accepted format is 'text/csv')

mrgod0xff avatar Sep 13 '19 12:09 mrgod0xff