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

Trying to import a CSV, doesn't do anything (just outputs a single comma) #49

Open
dacoinminster opened this issue Jun 19, 2018 · 5 comments

Comments

@dacoinminster
Copy link

I think something is broken with pgfutter on OSX. I had to install from source before I could run it at all (issue #48). Now when I try to import a CSV, all I get is a single comma:

$ ~/go/bin/pgfutter csv ./test.csv
,
$ ~/go/bin/pgfutter csv ./foo.csv
,

test.csv is a real CSV file. foo.csv doesn't exist. Either way, it just prints a comma to the console and exits.

pgfutter is a really cool concept, and looks very helpful. Hope this is easy to fix.

@pbar1
Copy link

pbar1 commented Jul 5, 2018

I'm getting the same thing on Linux. Installed with go get and when trying to import using pgfutter csv, I just get a comma as well. JSON import is working fine though! This is a very cool project, definitely looking forward to seeing how it grows

@lukasmartinelli
Copy link
Owner

Should be fixed in https://github.com/lukasmartinelli/pgfutter/releases/tag/v1.2 in master.

@rosenjcb
Copy link

I don't get any output at all. It's just a new line. Is this really fixed?

@markaschneider
Copy link

markaschneider commented Jul 15, 2019

Using v1.2 on OSX (both the downloaded version and one I compiled), and , I get just a new line. No table is created in the database and no data is imported.

➜ ~/ pgfutter csv friends.csv
➜ ~/

No table is created in the postgres database. Also tried specifying options, same result:
➜ ~/ pgfutter --db postgis_import --table fl_tallahassee_taxroll csv friends.csv

@raginjason
Copy link

I suspect that #67 might fix the silent error here

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

No branches or pull requests

6 participants