hi there, has anyone had any issues recently with ...
# troubleshooting
g
hi there, has anyone had any issues recently with dockerising Meltano? In particular,
tap-postgres
(the default one) and
target-duckdb
. I’m getting the
unexpected keyword argument 'request_timeout'
error. Full context:
Copy code
RUN meltano install extractor tap-postgres &&     meltano install loader target-duckdb                                                                                                           0.8s
------
 > [7/8] RUN meltano install extractor tap-postgres &&     meltano install loader target-duckdb:
#0 0.645 Need help fixing this problem? Visit <http://melta.no/> for troubleshooting steps, or to
#0 0.645 join our friendly Slack community.
#0 0.645
#0 0.645 __init__() got an unexpected keyword argument 'request_timeout'
I’m using
python:3.9-bullseye
base image.
h
I haven’t seen that one, but I have a prepared
meltano.yml
file and run
meltano install
in the Dockerfile. Also, about the syntax, isn’t it
meltano add
?
j
I already reported this
u
@greg_goltsov Are you installing anything into the Python virtual environment alongside Meltano? It might help to share the full Dockerfile here, if possible.
g
Wow, can’t believe that was only yesterday, @jan_soubusta. Thanks for linking, that really helps.
@Will Da Silva (Arch), yes, it’s part of my packaged pipeline image, which includes dbt, Dagster and Meltano. Sounds like I might need to split out Meltano and use
pipx
for installing it…
u
I've opened a PR to update our installation docs to promote
pipx
, and make it clear that installing into a virtual environment alongside other packages is fraught. https://github.com/meltano/meltano/pull/7639
h
This also doesn't help me in solving my issue.
u
Could you explain what you mean by that @hitesh? It might help to explain how you installed Meltano, and what is installed alongside it.