-
Notifications
You must be signed in to change notification settings - Fork 23
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
Installation error - can't install #139
Comments
This is odd, what OS and Container are you running ?
|
Docker on a Pi. No trouble with the couple other plugins I’ve installed. |
Not sure why it says closed 🤷🏻♂️ Probably something I did wrong when I responded. |
What OS on the RPI ? |
Pi OS Lite 32-bit |
Version ? |
I think it is related to this |
Same problem on Mac OS Sonoma 14.0
…___________________
From: Northern Man ***@***.***>
Sent: Tuesday, October 17, 2023 9:10:58 AM
To: NorthernMan54/homebridge-tcc ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [NorthernMan54/homebridge-tcc] Installation error - can't install (Issue #139)
I think it is related to this
homebridge/homebridge-apt-pkg#11<homebridge/homebridge-apt-pkg#11>
—
Reply to this email directly, view it on GitHub<#139 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A5MQYFVVKLXNIJSTKANJ6DLX72GXFAVCNFSM6AAAAAA6D2DW32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRWGUYDEMZVHA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
I have the same issue on a brand new installation og Homebridge. All other plugin install fine, this one fails at the end. What might the command line be if I wanted to install from a command prompt. Installing it from the Plugin GUI is all I have tried. Failed 3 times. Other TCC plugins for the "Fan" install but yours appears to be more robust. Can you advise? |
@Nacman What is the error message ? |
This plugin uses node-gyp, which requires this setup for use https://github.com/nodejs/node-gyp#on-macos Most homebridge platforms have this bundled, but am thinking your Mac doesn't |
that fixed the issue...thanks! |
Sorry for first not identifying this is running on Windows 10. Here is the output from the log file referenced. Errors appear to me to only be at the end. 0 verbose cli C:\Program Files\nodejs\node.exe C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js |
Fixed the issue myself. Distutils which is called by your plugin was deprecated in Python 3.10 and later. So, the workaround is to install setuptools which will bring in the deprecated distutils as well. Once I did this, I could get it to install. Becasue your plugin works so well, I would think to either rewrite the PI to use whatever replaced distutils. The stuff I read eluded to much better file handling routines in the latest versions of Python, hence the depracation. Just food for thought. |
This is something under the covers needing Distutils. My package itself doesn't leverage python, but something must be leveraging it under the covers. Am thinking node-gyp |
Analysis
Attempted to instal the Tcc plugin in Homebridge, but the install fails every time
Expected Behavior
Install Tcc plugin
Steps To Reproduce
Logs
Configuration
Environment
Process Supervisor
Docker (Mention image name in
Additional Context
)Additional Context
No response
The text was updated successfully, but these errors were encountered: