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

target-csv not working with tap-marketo #5

Open
nicholassewitz opened this issue Apr 27, 2017 · 2 comments
Open

target-csv not working with tap-marketo #5

nicholassewitz opened this issue Apr 27, 2017 · 2 comments

Comments

@nicholassewitz
Copy link

When I try and send marketo data to the singer target-csv I am getting this error

artsy-nicholass:marketo-fulcrum nicholassewitz$ tap-marketo -c config.json -s state.json | target-csv -c csv-config.json
Traceback (most recent call last):
  File "/usr/local/bin/tap-marketo", line 7, in <module>
    from tap_marketo import main
  File "/usr/local/lib/python3.6/site-packages/tap_marketo/__init__.py", line 12, in <module>
    from singer import utils
ImportError: cannot import name 'utils'
@nicholassewitz
Copy link
Author

got it working when i ran on separate virtualenvs now getting this error

    sys.exit(main())
  File "/Users/nicholassewitz/marketo-fulcrum/tap-marketo/lib/python3.6/site-packages/tap_marketo/__init__.py", line 320, in main
    do_sync()
  File "/Users/nicholassewitz/marketo-fulcrum/tap-marketo/lib/python3.6/site-packages/tap_marketo/__init__.py", line 267, in do_sync
    singer.write_schema("leads", schema, ["id"])
  File "/Users/nicholassewitz/marketo-fulcrum/tap-marketo/lib/python3.6/site-packages/singer/__init__.py", line 91, in write_schema
    key_properties=key_properties))
  File "/Users/nicholassewitz/marketo-fulcrum/tap-marketo/lib/python3.6/site-packages/singer/__init__.py", line 52, in _write_message
    sys.stdout.write(message.tojson() + '\n')
BrokenPipeError: [Errno 32] Broken pipe

@cmerrick
Copy link
Contributor

Is there more to that stack trace? Or some stderror output? BrokenPipe is typically just one python process complaining that the other one died.

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

2 participants