Hey guys, i am trying to build a new target, but t...
# troubleshooting
n
Hey guys, i am trying to build a new target, but the meltano integration is not working. I reproduced every step in the instruction. All the time i am trying to use any meltano command it says "'NoneType' object is not iterable". Is there any issue for this? I tried to install meltano with pipx and also with pip. I am using Python 3.9.. Any ideas? Greetings Nick
Its about the meltano.yml file
e
Hi @nick_muller! Can you share your
meltano.yml
? It sounds like there may be some incorrect syntax in there
n
I just created the target and tried meltano install inside the directory.. here my meltano.yml:
Copy code
version: 1
send_anonymous_usage_stats: true
project_id: target-e
plugins:
  extractors:
  loaders:
  - name: target-e
    namespace: target_e
    # TODO: To test using Meltano, replace with absolute path
    #       to the target-e.sh script:
    executable: ./target-e.sh
    capabilities:
    - state
    - catalog
    - discover
    config:
      start_date: '2010-01-01T00:00:00Z'
    settings:
    # TODO: To configure using Meltano, declare settings and their types here:
    - name: username
    - name: password
      kind: password
    - name: start_date
      value: '2010-01-01T00:00:00Z'
e
Yup. I think the cookiecutter has incorrectly indented yaml. Here's the correct one:
Copy code
version: 1
send_anonymous_usage_stats: true
project_id: target-e
plugins:
  extractors:
    loaders:
    - name: target-e
      namespace: target_e
      # TODO: To test using Meltano, replace with absolute path
      #       to the target-e.sh script:
      executable: ./target-e.sh
      capabilities:
      - state
      - catalog
      - discover
      config:
        start_date: '2010-01-01T00:00:00Z'
      settings:
      # TODO: To configure using Meltano, declare settings and their types here:
      - name: username
      - name: password
        kind: password
      - name: start_date
        value: '2010-01-01T00:00:00Z'
t
@edgar_ramirez_mondragon is there an issue for the incorrect indentation?
e