monika_rajput
12/18/2022, 12:30 PMmeltano schedule run <pipeline-name>
it's throwing this below error.
Usage: bin elt [OPTIONS] EXTRACTOR LOADER
Try 'bin elt --help' for help.
Error: no such option: --state-id
I have found this meltano doc where we need to update job_id with state-id, can you please tell me where i need to make these changes?
@douwe_maan @edgar_ramirez_mondragonedgar_ramirez_mondragon
12/19/2022, 4:50 PMmonika_rajput
12/19/2022, 5:40 PMmeltano elt <extractor-name> <loader-name> --state-id=<pipeline-name>
monika_rajput
12/19/2022, 5:42 PMRUN Now
button on Meltano UI and also when i am trying to run meltano schedule run <pipeline-name>
it's throwing Error: no such option: --state-id
. I am using this command to run the pipelines meltano elt facebook-ads-insights Facebook --state-id=facebook-ads-insights
edgar_ramirez_mondragon
12/19/2022, 5:47 PMI am not able to run theAre you seeing any error messages in the UI? Note that we’re not focusing on porting features to the UI at the moment: https://github.com/meltano/meltano/issues/7075button on Meltano UIRUN Now
when i am trying to runHow isit’s throwingmeltano schedule run <pipeline-name>
Error: no such option: --state-id
<pipeline-name>
defined in your project?monika_rajput
12/19/2022, 5:54 PMEx:And i am not seeing any error in the UI.<pipeline-name> == facebook-ads
monika_rajput
12/19/2022, 5:58 PMmonika_rajput
12/19/2022, 6:29 PMFile "/home/ubuntu/rm-projects/meltano-projects/dev-vegamour/orchestrate/dags/meltano.py", line 192, in create_dags
if schedule_export.get("schedules"):
AttributeError: 'list' object has no attribute 'get'
And when i run the scheduler meltano invoke airflow scheduler
It's throwing below error for every pipeline.
ERROR - DAG 'meltano_recharge-subscriptions_redshift-datamill' not found in serialized_dag table
Traceback (most recent call last):
File "/home/ubuntu/rm-projects/meltano-projects/dev-vegamour/.meltano/orchestrators/airflow/venv/lib/python3.8/site-packages/airflow/jobs/scheduler_job.py", line 1668, in _update_dag_next_dagruns
dag = self.dagbag.get_dag(dag_model.dag_id, session=session)
File "/home/ubuntu/rm-projects/meltano-projects/dev-vegamour/.meltano/orchestrators/airflow/venv/lib/python3.8/site-packages/airflow/utils/session.py", line 67, in wrapper
return func(*args, **kwargs)
File "/home/ubuntu/rm-projects/meltano-projects/dev-vegamour/.meltano/orchestrators/airflow/venv/lib/python3.8/site-packages/airflow/models/dagbag.py", line 186, in get_dag
self._add_dag_from_db(dag_id=dag_id, session=session)
File "/home/ubuntu/rm-projects/meltano-projects/dev-vegamour/.meltano/orchestrators/airflow/venv/lib/python3.8/site-packages/airflow/models/dagbag.py", line 258, in _add_dag_from_db
raise SerializedDagNotFound(f"DAG '{dag_id}' not found in serialized_dag table")
airflow.exceptions.SerializedDagNotFound: DAG 'meltano_recharge-subscriptions_redshift-datamill' not found in serialized_dag table
Added my meltano.py file.douwe_maan
12/19/2022, 9:37 PMfacebook-ads-insights
schedule definition from meltano.yml
?monika_rajput
12/20/2022, 4:32 AM- name: facebook-ads-insights
interval: '@hourly'
extractor: facebook-ads-insights
loader: Facebook
transform: skip
start_date: 2020-01-01 00:00:00
douwe_maan
12/20/2022, 2:47 PMmonika_rajput
12/21/2022, 5:54 AM