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
Import of sotorrent CSV data files fails on MacOS #7
Comments
Could you check for which of the tables the import is failing? |
i first tried with the another thing: on the terminal if I do: |
I should also clarify that I executed individual import statements to load data into specific tables. I did not run the entire Essentially, I did this:
I did this for all the |
Could you execute |
Output: Just realized for osx i need the |
I executed |
@sbaltes what file encoding of the |
I was able to reproduce this on macOS 10.13:
However, when executing the same commands on an Ubuntu 16.04 LTS system, the extraction works as expected:
This issue seems to be specific to macOS. I don't have time to look into this now, but as a workaround you could either use an Ubuntu system to unzip the files or setup a VirtualBox VM on your macOS system. |
I downloaded the file from Zenodo on both systems (macOS and Ubuntu). |
I'm currently traveling, but I will take a closer look at this next week. |
thanks! I have three different people confirm that it works on |
I just installed gzip 1.9 using Homebrew, but the same error occurs when using |
Interesting observation:
|
This works for me on macOS 10.13:
Could you try this on your system? |
@sbaltes: great, yes this works for me on MacOs |
I will update the README file in the next SOTorrent release and I also added a remark to the SOTorrent project page. |
Importing the sotorrent
csv
data files, using6_load_sotorrent.sql
, fails with the following error msg:ERROR 1300 (HY000): Invalid utf8mb4 character string: ''
.@sbaltes: Any idea why this is happening? Am running MySQL version 5.7.24, running on MacOs High Sierra
The text was updated successfully, but these errors were encountered: