-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency update required but update not working #134
Comments
Hey @SteffenBurger , thanks for submitting this issue. First I wanted to double-check your az cli was installed via the recommended installation process for Macs. Next, the "dependency update" for this version of the IoT extension is specifically uamqp 1.1.0 and its dependencies. Normally (in working condition) you would run into the dependency prompt only once per new installation of the extension (this is of course only used for amqp based commands). Now to see a lot more detail about the operation append "--debug" to the command. This should provide more info on the failure. One potential issue is you could be running into a "No matching distribution found" error. If so, that's because the extension is using a dated version of uamqp which doesn't support your environment. We are working on an update to upgrade the uamqp version to be released in the near future. But lets see what the debug logs say and go from there.
Other than better error handling to show what went wrong without debug switches, is there something else about the message you would like to see improved? |
I have exactly the same atm, I thought it was my local pyenv as well .. so i tried the azure-cli docker image. But in there I got the same
|
@Plork , its expected that event monitoring will not work in the azure-cli docker image because the image is based on alpine linux. The key for event monitoring to work is the native We just released version To install the latest remove any previous IoT extension version if it exists then install the newest release with the following command: @SteffenBurger can you also give 0.8.9 a try? |
nice the 0.8.9 works fine again! thnx |
This issue should be resolved in |
@pihai This is because the Azure CLI docker image uses alpine linux, which the AMQP provider You can get around this by building the package locally. When you run the monitor-events command and there is no installable distribution available it will attempt to build, but that error is caused by the environment not having the required build dependencies. Installing the following build dependency packages prior to running the command should resolve the issue.
Let me know if this workaround works for you. |
Yes that works, thank you. |
First of all, I am pretty aware that the issue might be related to my local Mac + Homebrew + Python config.
But maybe it is not my fault and the CLI has an issue? π€·ββοΈ
My main goal is to monitor my events via CLI...
So my first question is - does this download new/different python packages?
Does it download
uamqp 1.1.0
or other abstract dependencies?I personally think this message is kind of irritating.
Furthermore - what went wrong?
Ich think the error message is a bit too generic. A bit more details would help a lot.
Any idea where the issue is?
The text was updated successfully, but these errors were encountered: