Everything in my Meltano project was working, then...
# troubleshooting
c
Everything in my Meltano project was working, then today I am getting errors when using the tap-gitlab: extractor 'tap-gitlab' variant 'meltano' is not known to Meltano. Variants: meltanolabs (default) - This happened when trying to install the tap-gitlab after troubleshooting the reason why the Pipeline wasn't running.
I changed the variant to 'meltanolabs' now it is working....
a
Hey Carolus. Same here today. The issue arises if you have a project created using an older meltano version without a discovery.yml persisted in your project. The meltano.yml has the 'meltano' variant of the tap / plugin specified, but when meltano attempts to install it no longer knows anything about the variant you are trying to install. An alternative so changing your meltano.yml to specify the 'meltanolabs' variant is to commit a discovery.yml to your project with the variants you expect. Hope this helps someone - maybe 2 options to getting the project stable is better than one!
p
@carolus_holman thanks for calling that out! We're in the process of moving away from the meltano variants in favor of other community supported or MeltanoLabs variants. I created an issue related to this because its not clearly documented that you can and whether you should pin your discovery.yml.
and thanks @aaron_phethean for the quick response!
t
@carolus_holman how are you deploying your Meltano project? Is this something you’re running locally or have you containerized it somewhere?
c
Locally
t
Ok, makes sense then. AJ will share more in a moment but this is because we’re making some changes to the discovery.yml file. We’re going to make a quick MR (see this issue) to fix it and then have a discussion about how to prevent it going forward. Apologies for the troubles!
e
@carolus_holman how did you switch to the meltanolabs variant.. I tried and it seemed not to work for
tap-csv
Copy code
meltano add extractor tap-csv --variant meltanolabs
Extractor 'tap-csv' variant 'meltano' is not known to Meltano. Variants: meltanolabs (default)
thanks
c
I added meltanolabs for the variant name.
e
just in your .yml file ?
c
in the Meltano.yml file.
e
got it, thank you. Edit : That worked, thanks again