a
new issue
trying to do the covid 19 tap
(settings) [[]]: api_tokenpassword,user agentstring,start_date:date_iso8601 Added extractor 'tap-covid-19' to your project 2024-05-31T204107.974968Z [info ] Installing extractor 'tap-covid-19' 2024-05-31T204110.560052Z [info ] Logged pip install output to /home/aoi/my-new-project/.meltano/logs/pip/extractors/tap-covid-19/pip.log 2024-05-31T204110.560386Z [error ] Extractor 'tap-covid-19' could not be installed: Failed to install plugin 'tap-covid-19'. 2024-05-31T204110.560530Z [info ] ERROR: extract/tap-covid-19 is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file). Need help fixing this problem? Visit http://melta.no/ for troubleshooting steps, or to join our friendly Slack community. Failed to install plugin(s) aoi@Bladerunner:~/my-new-project$
from here
e
What value did you input for
pip_url
?
a
Default: plugin name as PyPI package name (pip_url) [tap-covid-19]: -e extract/tap-covid-19 Specify the plugin's executable name Default: name derived from
pip_url
(executable) [tap-covid-19]: tap-covid-19
e
can you trying changing that to
./extract/tap-covid-19
?
a
2024-05-31T204813.386704Z [info ] Installing extractor 'tap-covid-19' 2024-05-31T204816.024884Z [info ] Logged pip install output to /home/aoi/my-new-project/.meltano/logs/pip/extractors/tap-covid-19/pip.log 2024-05-31T204816.025292Z [error ] Extractor 'tap-covid-19' could not be installed: Failed to install plugin 'tap-covid-19'. 2024-05-31T204816.025444Z [info ] ERROR: extract/tap-covid-19 is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file). Need help fixing this problem? Visit http://melta.no/ for troubleshooting steps, or to join our friendly Slack community. Failed to install plugin(s) aoi@Bladerunner:~/my-new-project$
still doing it
e
ok so what does the plugin look like in
meltano.yml
?
a
version: 1 default_environment: dev project_id: e6f7dbba-31bd-4d10-b256-12f4e27f26d8 environments: - name: dev - name: staging - name: prod plugins: extractors: - name: tap-github variant: meltanolabs pip_url: git+https://github.com/MeltanoLabs/tap-github.git config: start_date: '2022-01-01' repositories: - sbalnojan/meltano-lightdash select: - commits.url - commits.sha - commits.commit_timestamp - commits.* - name: tap-gitlab variant: meltanolabs pip_url: git+https://github.com/MeltanoLabs/tap-gitlab.git - name: tap-postgres--billing inherit_from: tap-postgres variant: meltanolabs pip_url: git+https://github.com/MeltanoLabs/tap-postgres.git - name: tap-covid-19 namespace: tap_covid_19 pip_url: ' -e extract/tap-covid-19' executable: tap-covid-19 capabilities: - catalog - discover - state settings: - name: api_token kind: password sensitive: true - name: user_agent kind: string - name: start_date kind: date_iso8601 loaders: - name: target-jsonl variant: andyh1203 pip_url: target-jsonl - name: target-postgres variant: meltanolabs pip_url: meltanolabs-target-postgres config: user: meltano database: postgres add_record_metadata: true host: localhost utilities: - name: jupyterlab namespace: jupyterlab pip_url: jupyterlab executable: jupyter commands: launch_ip0: #important for Mac users running Meltano inside Docker. args: lab --ip=0.0.0.0 description: Start lab server, on any ip range for Mac users inside docker. launch: args: lab description: Start lab server - name: dbt-postgres variant: dbt-labs pip_url: dbt-core dbt-postgres<1.8 git+https://github.com/meltano/dbt-ext.git@main config: host: localhost port: 5432 user: meltano dbname: postgres schema: analytics - name: dbt-snowflake variant: dbt-labs pip_url: dbt-core dbt-snowflake git+https://github.com/meltano/dbt-ext.git@main - name: airflow variant: apache pip_url: git+https://github.com/meltano/airflow-ext.git@main apache-airflow==2.8.1 --constraint https://raw.githubusercontent.com/apache/airflow/constraints-2.8.1/constraints-no-providers-${MELTANO__PYTHON_VERSION}.txt
e
Oh, I think you rather need to set
pip_url: git+<https://github.com/singer-io/tap-covid-19.git>
. The
-e extract/tap-covid-19
only makes sense if you actually pulled the source code of the tap into that directory.