BryceStevenWilley / visioning_texts

A D3 project that locally visualizes your messages from Signal or Whatsapp
GNU General Public License v3.0
37 stars 6 forks source link

Signal CSV to upload #15

Closed ellieboydarttt closed 4 years ago

ellieboydarttt commented 4 years ago

Hello there,

I found you post of r/dataisbeautiful and I have been trying all night to upload the text conversation with my boyfriend and I to your code. It seems very interesting. Thank you for going through the time to build the program. Although I am running into a problem when I try to upload a csv file to the site. When I download the windows_amd64 it automatically wants to format the signal.backup to a xml. So I re-worded the code with the line of code on your help page, except with the windows format of course. That worked and it did make a .csv file in the local folder. Although when I go to upload that file it fails. I'm wondering if you've come across this problem in testing and maybe have a solution.

Thanks so much,

Ellie

BryceStevenWilley commented 4 years ago

Hey Ellie,

What's error say when the upload fails? I added a bit that says what file type it is when the upload fails. What ever's in the console log (F12 in chrome, go to the "console" tab) would also help!

ellieboydarttt commented 4 years ago

Also when I press f12 and go to the console tab it appears to be empty.

On Tue, Jan 21, 2020, 1:47 AM Bryce Willey notifications@github.com wrote:

Hey Ellie,

What's error say when the upload fails? I added a bit that says what file type it is when the upload fails. What ever's in the console log (F12 in chrome, go to the "console" tab) would also help!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BryceStevenWilley/visioning_texts/issues/15?email_source=notifications&email_token=AOKXUX7DRODAU43W5HV3KTTQ62K7PA5CNFSM4KJOHZ32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJOVIEQ#issuecomment-576541714, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKXUX5CNIXCP76CGOUZZITQ62K7PANCNFSM4KJOHZ3Q .

ellieboydarttt commented 4 years ago

Hi Bryce,

Thanks for responding. The error says "Can't read this type of file () at the moment.Please try a Signal csv, or a WhatsApp text file" .

and the Console tab when I press f12 is empty. Ellie

On Tue, Jan 21, 2020 at 1:47 AM Bryce Willey notifications@github.com wrote:

Hey Ellie,

What's error say when the upload fails? I added a bit that says what file type it is when the upload fails. What ever's in the console log (F12 in chrome, go to the "console" tab) would also help!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BryceStevenWilley/visioning_texts/issues/15?email_source=notifications&email_token=AOKXUX7DRODAU43W5HV3KTTQ62K7PA5CNFSM4KJOHZ32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJOVIEQ#issuecomment-576541714, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKXUX5CNIXCP76CGOUZZITQ62K7PANCNFSM4KJOHZ3Q .

BryceStevenWilley commented 4 years ago

Strange, in that case it doesn't seem to be finding a file type at all. The file you are uploading does have an extension, right?

ellieboydarttt commented 4 years ago

Yup it's a .csv file although it doesn't seem to have an data in it. The converter for GitHub has no problem converting the messages into an xml program but I can't seem to find any command for Windows to convert the messages to csv. I'll keep testing to see if i can figure it out.

On Tue, Jan 21, 2020, 2:35 AM Bryce Willey notifications@github.com wrote:

Strange, in that case it doesn't seem to be finding a file type at all. The file you are uploading does have an extension, right?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BryceStevenWilley/visioning_texts/issues/15?email_source=notifications&email_token=AOKXUX45THD4XW2BICBN463Q62QT5A5CNFSM4KJOHZ32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJOYRCI#issuecomment-576555145, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKXUX2VK54NFTPYHCWWH4DQ62QT5ANCNFSM4KJOHZ3Q .

BryceStevenWilley commented 4 years ago

I'll also take a look at the process for Windows this evening, and let you know if I come across any similar problems.

dwbnerd commented 4 years ago

I just tried to upload a random document on windows and it isn't getting the extension on it either for the denial.

BryceStevenWilley commented 4 years ago

Hey @ellieboydarttt, @dwbnerd, with https://github.com/BryceStevenWilley/visioning_texts/commit/3c620379fc1bdbd9a19f310bf2b3a951328cbf7e I've changed the website to not assume that there will be a type associated with the file given. Give it another shot and let me know if it's working.

BryceStevenWilley commented 4 years ago

This should be fixed. Let me know if you're still running into issues!