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

Issue with config file #11

Open
MrKim42 opened this issue Oct 4, 2019 · 4 comments
Open

Issue with config file #11

MrKim42 opened this issue Oct 4, 2019 · 4 comments

Comments

@MrKim42
Copy link

MrKim42 commented Oct 4, 2019

Wonderful work here guys!
I'm new to coding and i'm trying to get this to work.

I just don't understand what to do with my JSON config file, and where to copy it.

I constantly get this error:

FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

Can somebody help me ?

@MrKim42
Copy link
Author

MrKim42 commented Oct 8, 2019

https://github.com/singer-io/getting-started/blob/master/docs/RUNNING_AND_DEVELOPING.md#running-a-singer-tap

Thanks for your help, however I couldn't find the solution. In the link you sent me, they just say:

"Edit the Tap's config file (tap_config.json) to include any necessary credentials or parameters."

But they doesn't say how/where to edit this file ... And that's where I'm blocked at the moment ...

@luandy64
Copy link

luandy64 commented Oct 8, 2019

what to do with my JSON config file

I'm assuming this means you have a config file. So then you just need to know the path to that file.

If you move the config file into the tap repo, then running the tap is basically

/path/to/virtualenv/tap-klavio/bin/tap-klavio -c my_config.json

If you don't put the config file in the same repo, then it'll look something like

/path/to/virtualenv/tap-klavio/bin/tap-klavio -c /path/to/my_config.json

doesn't say how/where to edit this file

Pick your favorite text editor and create/edit a file called tap_config.json or something

@skinnms
Copy link

skinnms commented Jun 15, 2020

I'm having the same issue and my config.json file at the top level of my tap repo. ei tap-covid-19/config.json . I'm getting this error when running the tap outside of the virtual environment from the command line.

/c/Users/username/Envs/tap-covid-19/Scripts/tap-covid-19 --config config.json --catalog catalog.json | /c/Users/username/Envs/target-csv/Scripts/target-csv --config config.json

Says neither config file can be found.

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

3 participants