Just created a new tap with cookiecutter as the do...
# troubleshooting
c
Just created a new tap with cookiecutter as the doc suggested, updated it, works well and all, but I can't seem to list this new tap.
Copy code
meltano --log-level=debug select --list tap-beefyfinance

Cannot list the selected attributes: Could not find catalog. Verify that the tap supports discovery mode and advertises the `discover` capability as well as 
either `catalog` or `properties`
When running in debug log level I see the the error is caused by this
Copy code
FileNotFoundError: [Errno 2] No such file or directory: '/workspaces/beefy-databarn/.meltano/run/tap-beefyfinance/tap.properties.json'
I am however able to run
meltano invoke tap-beefyfinance --discover
successfully
t
what’s your meltano.yml look like?
c
It's there https://github.com/prevostc/beefy-databarn/blob/main/meltano.yml Looks like this:
Copy code
version: 1
default_environment: dev
send_anonymous_usage_stats: false
snowplow:
  collector_endpoints: [] # fix a bug from meltano where it isn't compatible with snowplow Emitter
project_id: 538874bf-400e-4e09-aeef-848ab343cf54
environments:
  - name: dev
  - name: staging
  - name: prod
plugins:
  extractors:
    - name: tap-github
      variant: meltanolabs
      pip_url: git+<https://github.com/MeltanoLabs/tap-github.git>
    - name: tap-beefyfinance
      namespace: tap_beefyfinance
      pip_url: -e ./extract/tap-beefyfinance
  loaders:
    - name: target-jsonl
      variant: andyh1203
      pip_url: target-jsonl
    - name: target-postgres
      variant: meltanolabs
      pip_url: git+<https://github.com/MeltanoLabs/target-postgres.git>
      config:
        database: beefy
        user: beefy
        host: db
        port: 5432
        default_target_schema: raw_data
thank you for looking at this btw 🥰
t
you likely need to add
Copy code
capabilities:
- catalog
- discover
- state
to the definition of the extractor. so
Copy code
- name: tap-beefyfinance
      namespace: tap_beefyfinance
      pip_url: -e ./extract/tap-beefyfinance
      capabilities:
      - catalog
      - discover
      - state
c
oh that works
I was assuming the tap's meltano.yaml was going to be used
thank you for your time sir 🙏