Hi All, Working through the ELT Walkthrough and I...
# troubleshooting
c
Hi All, Working through the ELT Walkthrough and I've stalled out installing Superset. Running Windows 11 Meltano installed under admin priv with pipx install meltano (venv) PS C:\..\my-meltano-project> meltano --version meltano, version 3.3.1 (venv) PS C:\..\my-meltano-project> python --version Python 3.9.13 The install throws a couple of warnings then fails with 'unicodeescape' error. I've seen a few other posts with this error but no resolution. Can anyone provide guidance?
Copy code
(venv) PS C:\..\my-meltano-project> meltano add utility superset
2024-03-06T17:03:25.706218Z [warning  ] Failed to create symlink to 'meltano.exe': administrator privilege required
2024-03-06T17:03:26.697979Z [warning  ] `kind: password` is deprecated for setting definitions in favour of `sensitive: true`, and is currently in use by the following settings of utility 'superset': 'SECRET_KEY'. Please open an issue or pull request to update the plugin definition on Meltano Hub at <https://github.com/meltano/hub/blob/main/_data/meltano/utilities/superset/meltano.yml>.
Added utility 'superset' to your project
Variant:        meltano (default)
Repository:     <https://github.com/apache/superset>
Documentation:  <https://hub.meltano.com/utilities/superset--meltano>

Installing utility 'superset'...
Need help fixing this problem? Visit <http://melta.no/> for troubleshooting steps, or to
join our friendly Slack community.

'unicodeescape' codec can't decode bytes in position 143-144: truncated \uXXXX escape
1
e
Hi @Chris Jones! Can run that with
--log-level=debug
and share the traceback? I suspect this is similar to https://github.com/meltano/meltano/issues/8377 and may be preventing the actual installation error from being displayed.
c
dumb question but: meltano add utility superset --log-level=debug errors with Error: No such option: --log-level Where is the log level param placed in the command?
e
Oh, you wanna put it right after meltano, so
meltano --log-level=debug ...
👍 1
c
Attaching the full log/traceback. Thanks!
e
Thanks for sharing that! I can confirm that https://github.com/meltano/meltano/pull/8436 should fix it. I'll try to cut a release later today 🙂
c
Great - thanks so much and really appreciate the quick response.
e
Np! 3.3.2 is out on PyPI so you should be able to upgrade if you installed with pip/pipx.
👍 1
c
Progressed to a new error. I don't know if this is specific to my environment or would error on all builds: ERROR: Cannot install apache-superset==2.0.0 and superset-ext because these package versions have conflicting dependencies. The conflict is caused by: apache-superset 2.0.0 depends on typing-extensions<4 and >=3.10 pydantic 1.10.14 depends on typing-extensions>=4.2.0 apache-superset 2.0.0 depends on typing-extensions<4 and >=3.10 pydantic 1.10.13 depends on typing-extensions>=4.2.0 apache-superset 2.0.0 depends on typing-extensions<4 and >=3.10 pydantic 1.10.12 depends on typing-extensions>=4.2.0 apache-superset 2.0.0 depends on typing-extensions<4 and >=3.10 pydantic 1.10.11 depends on typing-extensions>=4.2.0 apache-superset 2.0.0 depends on typing-extensions<4 and >=3.10 pydantic 1.10.10 depends on typing-extensions>=4.2.0 apache-superset 2.0.0 depends on typing-extensions<4 and >=3.10 pydantic 1.10.9 depends on typing-extensions>=4.2.0 apache-superset 2.0.0 depends on typing-extensions<4 and >=3.10 pydantic 1.10.8 depends on typing-extensions>=4.2.0 apache-superset 2.0.0 depends on typing-extensions<4 and >=3.10 pydantic 1.10.7 depends on typing-extensions>=4.2.0 apache-superset 2.0.0 depends on typing-extensions<4 and >=3.10 pydantic 1.10.6 depends on typing-extensions>=4.2.0 apache-superset 2.0.0 depends on typing-extensions<4 and >=3.10 pydantic 1.10.5 depends on typing-extensions>=4.2.0 apache-superset 2.0.0 depends on typing-extensions<4 and >=3.10 pydantic 1.10.4 depends on typing-extensions>=4.2.0 apache-superset 2.0.0 depends on typing-extensions<4 and >=3.10 pydantic 1.10.2 depends on typing-extensions>=4.1.0 apache-superset 2.0.0 depends on typing-extensions<4 and >=3.10 pydantic 1.10.1 depends on typing-extensions>=4.1.0 apache-superset 2.0.0 depends on typing-extensions<4 and >=3.10 pydantic 1.10.0 depends on typing-extensions>=4.1.0
e
Progress! Can you try updating the
pip_url
value in
meltano.yml
for the superset plugin to have
apache-superset==3.1.1
?
c
Updated to resolve a few more conflicts but it just finished building without error. additional conflicts: The user requested cryptography==3.4.7 apache-superset 3.1.1 depends on cryptography<41.1.0 and >=41.0.2 The user requested flask==2.0.3 apache-superset 3.1.1 depends on flask<3.0.0 and >=2.2.5 The user requested werkzeug==2.0.3 apache-superset 3.1.1 depends on werkzeug<3 and >=2.3.3 Updated pip_url that build successfully: plugins: utilities: - name: superset variant: meltano pip_url: apache-superset==3.1.1 flask==2.2.5 werkzeug==2.3.3 jinja2==3.0.1 wtforms==2.3.3 git+https://github.com/meltano/superset-ext.git@main cryptography==41.0.2 Thanks again for the help
🙌 1
e
That's very helpful!
🦜 1