Also: After my upgrade to 2.0, I seem to be having...
# troubleshooting
s
Also: After my upgrade to 2.0, I seem to be having an issue with my airflow scheduler:
Copy code
airflow-webserver_1  |   File "/usr/local/lib/python3.8/imp.py", line 171, in load_source
airflow-webserver_1  |     module = _load(spec)
airflow-webserver_1  |   File "<frozen importlib._bootstrap>", line 702, in _load
airflow-webserver_1  |   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
airflow-webserver_1  |   File "<frozen importlib._bootstrap_external>", line 843, in exec_module
airflow-webserver_1  |   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
airflow-webserver_1  |   File "/project/orchestrate/dags/meltano.py", line 62, in <module>
airflow-webserver_1  |     <http://logger.info|logger.info>(f"Considering schedule '{schedule['name']}': {schedule}")
airflow-webserver_1  | TypeError: string indices must be integers
Has anyone experienced this?
a
did you try upgrading your airflow file bundle?
s
How would one do that?
a
Try
meltano upgrade files
If that doesnt do it then: Delete
orchestrate/dags/meltano.py
Then run
meltano add files files-airflow
z
I ran into this, running upgrade didn't update the airflow file. Simply copied the latest file bundle from Github and things started running smoothly again.
s
Oh sorry forgot to update -> @alexander_butler everything worked perfect with option #2 thanks!