singer-io / tap-marketo

GNU Affero General Public License v3.0
9 stars 17 forks source link

target-csv not working with tap-marketo #5

Open nicholassewitz opened 7 years ago

nicholassewitz commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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