2023.2
2023.2
So just a bit of confusion here. I've updated to Indigo 2023.2, and found a Red Dot for the HomeKitLink Siri plugin. I followed the Plugin Store link, downloaded the latest version (modified on Jan 16, 2024) and ran the installer. This is version 0.6.60 of the plugin, but I still have the Red Dot in the plugin window.
I thought it may just take a bit to get everything loaded, and also did a restart, but still have the Red Dot. I did read the READ.MD that came with the plugin but didn't see anything in particular with reference to Indigo 2023.2.
Guessing I'm doing something wrong, but just not sure what... Decided to reload the plugin and got a lot of errors in the Event log which is attached...
I thought it may just take a bit to get everything loaded, and also did a restart, but still have the Red Dot. I did read the READ.MD that came with the plugin but didn't see anything in particular with reference to Indigo 2023.2.
Guessing I'm doing something wrong, but just not sure what... Decided to reload the plugin and got a lot of errors in the Event log which is attached...
- Attachments
-
- Error Log.txt
- (52.98 KiB) Downloaded 126 times
2023.2
Hi
Thats not a great start…
0.6.60 is running well and faster on a couple of 2023.2 systems currently.. as per the announcement thread.
Will check further but this likely is because you do not have xcode command-line tools installed on your system and this is required to build some of the libraries required. Probably zeroconf being the issue here because of how they package the requested version.
I suspect this will be the commonest issue unfortunately for some, hopefully easy to fix and once xcode tools are installed never will happen again. (and this version does remove need for xattr and pip terminal commands forever)
See here:
Would try tun this terminal command in first instance, this will install xcode command line tools only
And then restart plugin.
Google, “install xcode command line tools”:
(Don’t need the massive Xcode package - just the command line tools)
https://forums.developer.apple.com/forums/thread/677124
Glenn
Sent from my iPad using Tapatalk
Thats not a great start…
0.6.60 is running well and faster on a couple of 2023.2 systems currently.. as per the announcement thread.
Will check further but this likely is because you do not have xcode command-line tools installed on your system and this is required to build some of the libraries required. Probably zeroconf being the issue here because of how they package the requested version.
Code: Select all
SystemError: Cannot locate working compiler\See here:
Would try tun this terminal command in first instance, this will install xcode command line tools only
Code: Select all
xcode-select --installGoogle, “install xcode command line tools”:
(Don’t need the massive Xcode package - just the command line tools)
https://forums.developer.apple.com/forums/thread/677124
Glenn
Sent from my iPad using Tapatalk
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: 2023.2
Glenn - try zeroconf 0.130.0 instead of 0.131.0. That seems to work on all the systems I tested on without a compiler.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: 2023.2
Got it
I've got to dash out for the evening but will re-visit tomorrow and post.
Guessing this command:
installs the big Xcode package. I'm not familiar enough with the Terminal to tell it to only install the command line tools... is there a different command for that? AND just read the suppled link to apple forums for that info.
Again... will revisit tomorrow...
I've got to dash out for the evening but will re-visit tomorrow and post.
Guessing this command:
Code: Select all
xcode-select --installAgain... will revisit tomorrow...
Re: 2023.2
Thanks - did see your earlier comment regarding this, and have changed zeroconf backFlyingDiver wrote:Glenn - try zeroconf 0.130.0 instead of 0.131.0. That seems to work on all the systems I tested on without a compiler.
But Looks like it is also
Code: Select all
ERROR: Failed building wheel for chacha20poly1305-reuseable- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: 2023.2
Delete ~/Library/Cache/pip and try again.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: 2023.2
jltnol wrote:Got it
I've got to dash out for the evening but will re-visit tomorrow and post.
Guessing this command:installs the big Xcode package. I'm not familiar enough with the Terminal to tell it to only install the command line tools... is there a different command for that? AND just read the suppled link to apple forums for that info.Code: Select all
xcode-select --install
Again... will revisit tomorrow...
Code: Select all
xcode-select --installeg. I get this messaging
Code: Select all
Indigo$ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updatesRe: 2023.2
I'm no sure that is going to help.FlyingDiver wrote:Delete ~/Library/Cache/pip and try again.
Basing this on the Error.txt logging in the first post
chacha20poly1305-reusable fails first
Code: Select all
SystemError: Cannot locate working compilerCode: Select all
SystemError: Cannot locate working compilerCode: Select all
ERROR: Could not build wheels for chacha20poly1305-reuseable, zeroconf, which is required to install pyproject.toml-based projectsGlenn
- FlyingDiver
- Posts: 7830
- Joined: Sat Jun 07, 2014 10:36 am
- Location: Southwest Florida, USA
Re: 2023.2
I don't know what chacha20poly1305-reuseable is, but I guarantee that zeroconf-0.130.0 can be installed without a compiler.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Re: 2023.2
Yeah understand.FlyingDiver wrote:I don't know what chacha20poly1305-reuseable is, but I guarantee that zeroconf-0.130.0 can be installed without a compiler.
https://github.com/python-zeroconf/pyth ... ssues/1319
Doesn't solve the other problem which is chacha20poly1305 which is a reusable cryptography cipher that has significant speed improvements compared to recreated the cipher with every use (which is what old cryptography does).
Pretty wide spread use in HA and Homekit Libraries - amongst others.
Could bundle it...
Still
Code: Select all
xcode-select --installRe: 2023.2
Gentelmen
Just a quick update that installing the Command line tools solved this problem. All is will with the HomeKitLink Siri Plugin.
Just a quick update that installing the Command line tools solved this problem. All is will with the HomeKitLink Siri Plugin.
Re: 2023.2
Yah!
(You’ll see I added a detailed post because think this will potential trip up a few)
Sent from my iPhone using Tapatalk
(You’ll see I added a detailed post because think this will potential trip up a few)
Sent from my iPhone using Tapatalk
Re: 2023.2
I installed as others described above, but when I launch the newly updated plugin, I get the error below:
Error Requirements file for "HomeKitLink Siri 0.6.60" failed to process correctly, contact the developer with the following information:
Error error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Cargo, the Rust package manager, is not installed or is not on PATH.
This package requires Rust and Cargo to compile extensions. Install it through
the system's package manager or via https://rustup.rs/
Checking for Rust toolchain....
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
HomeKitLink Siri Error Error in plugin execution InitializeMain:
File "plugin.py", line 21, in <module>
type: No module named 'ifaddr'
Stopping plugin "HomeKitLink Siri 0.6.60" (pid 1063)
I verified that I have the command line tools already installed.
Thank you,
Sam
Error Requirements file for "HomeKitLink Siri 0.6.60" failed to process correctly, contact the developer with the following information:
Error error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
Cargo, the Rust package manager, is not installed or is not on PATH.
This package requires Rust and Cargo to compile extensions. Install it through
the system's package manager or via https://rustup.rs/
Checking for Rust toolchain....
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
HomeKitLink Siri Error Error in plugin execution InitializeMain:
File "plugin.py", line 21, in <module>
type: No module named 'ifaddr'
Stopping plugin "HomeKitLink Siri 0.6.60" (pid 1063)
I verified that I have the command line tools already installed.
Thank you,
Sam
Re: 2023.2
We will need to post the contents of the /Packages folder in the homekitlink bundle.
And the pip-success.txt or failure.txt within this directory to have an idea as to what is going on.
& probably the startup plugin info detailing versions and system Info.
I have no idea why pip on your system wishes Rust - although that would appear the issue here...
Edit:
Seems like issue is orjson library from process of elimination which when binary wheel is missing needs rust to compile.
Not quite sure what version you must be on to trigger this when others aren't
Will see if can find a library version with binary wheels for everyone.
If can let me know what system version/and/or plugin startup info will cover some of it.
And the pip-success.txt or failure.txt within this directory to have an idea as to what is going on.
& probably the startup plugin info detailing versions and system Info.
I have no idea why pip on your system wishes Rust - although that would appear the issue here...
Edit:
Seems like issue is orjson library from process of elimination which when binary wheel is missing needs rust to compile.
Not quite sure what version you must be on to trigger this when others aren't
Will see if can find a library version with binary wheels for everyone.
If can let me know what system version/and/or plugin startup info will cover some of it.