hey folks! I’m trying to set up the CSV tutorial f...
# announcements
f
hey folks! I’m trying to set up the CSV tutorial for GitFlix and am running into an issue with the custom models. Is this a good place to ask?
the model is showing in the Analyze section. when I try to run the Analyze, I get this error on the server:
Copy code
Traceback (most recent call last):
  File "/root/.venv/meltano/lib/python3.6/site-packages/flask/app.py", line 2446, in wsgi_app
    response = self.full_dispatch_request()
  File "/root/.venv/meltano/lib/python3.6/site-packages/flask/app.py", line 1951, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/root/.venv/meltano/lib/python3.6/site-packages/flask_restful/__init__.py", line 269, in error_router
    return original_handler(e)
  File "/root/.venv/meltano/lib/python3.6/site-packages/flask/app.py", line 1820, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/root/.venv/meltano/lib/python3.6/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/root/.venv/meltano/lib/python3.6/site-packages/flask/app.py", line 1949, in full_dispatch_request
    rv = self.dispatch_request()
  File "/root/.venv/meltano/lib/python3.6/site-packages/flask/app.py", line 1935, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/root/.venv/meltano/lib/python3.6/site-packages/meltano/api/controllers/sql.py", line 106, in get_sql
    m5oc.content["plugin_namespace"]
  File "/root/.venv/meltano/lib/python3.6/site-packages/meltano/core/schedule_service.py", line 135, in find_namespace_schedule
    raise NotFound(f"Cannot find a schedule for namespace '{namespace}'.")
meltano.core.utils.NotFound: Cannot find a schedule for namespace 'model'. was not found.
y
Hey @franklin_sarkett! That seems like a bug! What do you think @micael_bergeron?
m
It think it has to do with the
plugin_namespace
in the custom model. @franklin_sarkett I'll update the docs and get back to you.
Here's the MR with the proper changes, notice the
plugin_namespace
addition in
gitflix.topic.m5o
f
awesome, thanks!
got it working, meltano is awesome, thanks for your hard work!