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

csvlink example drawing errors #70

Open
mgrogger opened this issue Jul 10, 2017 · 3 comments
Open

csvlink example drawing errors #70

mgrogger opened this issue Jul 10, 2017 · 3 comments

Comments

@mgrogger
Copy link

Hello, I followed your csvlink example and ran a command in the following format:

csvlink dir/file_1.csv dir/file_2.csv \ --field_names_1 different name \ --field_names_2 other fields \ --output dedupe_output.csv

However, upon running the program I was immediately thrown the error "csvlink: error: You must provide two input files." with a usage description that suggested I should put the input files at the end rather than the begininning (different from the example on your github page). So I then tried:

csvlink --field_names_1 different name \ --field_names_2 other fields \ --output dedupe_output.csv \ dir/file_1.csv dir/file_2.csv

But got the error "csvlink: error: too few arguments"

Since I followed the exact syntax on your github page, I'd like to know what might be causing these errors. Thank you.

@mgoddyn
Copy link

mgoddyn commented Apr 24, 2018

I am having the same issue, it seems like csvlink does correctly parse the positional arguments for the dir/file of csv1 and csv2 I can't seem to get it to work. Error is always ""csvlink: error: You must provide two input files."

@jsacco1
Copy link

jsacco1 commented May 7, 2019

I am having the same issue

@sskadamb
Copy link

sskadamb commented Nov 25, 2019

Same issue for me using a config file as the following:

csvlink csv_1.csv csv_2.csv \ --config_file=config.json

Just remove the \ to:

csvlink csv_1.csv csv_2.csv --config_file=config.json

This fixed the issue for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants