You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of problem:
Can't install tradfri component because DTLSSocket fails to install.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
tradfri:
host: !secret tradfrihost
Error log when trying to install DTLSSocket
pip3 install DTLSSocket -v
Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect
Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect
Collecting DTLSSocket
1 location(s) to search for versions of DTLSSocket:
* https://pypi.python.org/simple/dtlssocket/
Getting page https://pypi.python.org/simple/dtlssocket/
Looking up "https://pypi.python.org/simple/dtlssocket/" in the cache
Current age based on date: 209
Freshness lifetime from max-age: 600
Freshness lifetime from request max-age: 600
The response is "fresh", returning cached response
600 > 209
Analyzing links from page https://pypi.python.org/simple/dtlssocket/
Found link https://pypi.python.org/packages/05/aa/2ce2b75307a9293d02dec980d2fbac2187175840c64e3b7c232fd04b14b9/DTLSSocket-0.1.0.tar.gz#md5=c5d7d2c7d8505973282fcfeefa28d549 (from https://pypi.python.org/simple/dtlssocket/), version: 0.1.0
Found link https://pypi.python.org/packages/ef/38/2442b0bccd2dbf2b2dcc472612a061b3479d40f82feebba864b44dd65983/DTLSSocket-0.1.1.tar.gz#md5=91a349d31ea48e5f5068719c1b96e986 (from https://pypi.python.org/simple/dtlssocket/), version: 0.1.1
Found link https://pypi.python.org/packages/0c/3f/f65ca50a68b2e4d993e09fec508a65f85529fa9e0a07347ed1a73b7d3732/DTLSSocket-0.1.2.tar.gz#md5=08ea55c4968b3d4e68bd592ac3e1b6be (from https://pypi.python.org/simple/dtlssocket/), version: 0.1.2
Found link https://pypi.python.org/packages/28/ea/9a8f0a55cfb06643c9ca6533d0fab63c413caf4e67cfbbc88b23436dbcf4/DTLSSocket-0.1.3.tar.gz#md5=3f38a270ca4ade57f18e3030b209a7de (from https://pypi.python.org/simple/dtlssocket/), version: 0.1.3
Found link https://pypi.python.org/packages/3a/c1/d1f41b90a58fcba9202bf649be117abbed884176260302fed5e1144f09f6/DTLSSocket-0.1.4.tar.gz#md5=bcef26a5320348905e3df61d65e983c3 (from https://pypi.python.org/simple/dtlssocket/), version: 0.1.4
Found link https://pypi.python.org/packages/72/e9/0aeb10e1f2ad9e5b78b44ff8207e812f0c19a25fe7523de56182e79d696f/DTLSSocket-0.1.5.tar.gz#md5=2fa10784b45a5b7e28d52dea0e52f1d0 (from https://pypi.python.org/simple/dtlssocket/), version: 0.1.5
Found link https://pypi.python.org/packages/d3/4d/7bb7699aa4ba47e0b4287165ebaabca13461e17fafe7d2d99e3bfb2c3299/DTLSSocket-0.1.7.tar.gz#md5=1815c3f1d58a62ce93e044f9a0cd1b0e (from https://pypi.python.org/simple/dtlssocket/), version: 0.1.7
Using version 0.1.7 (newest of versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.7)
Looking up "https://pypi.python.org/packages/d3/4d/7bb7699aa4ba47e0b4287165ebaabca13461e17fafe7d2d99e3bfb2c3299/DTLSSocket-0.1.7.tar.gz" in the cache
Current age based on date: 41901
Freshness lifetime from max-age: 31557600
The response is "fresh", returning cached response
31557600 > 41901
Using cached DTLSSocket-0.1.7.tar.gz
Downloading from URL https://pypi.python.org/packages/d3/4d/7bb7699aa4ba47e0b4287165ebaabca13461e17fafe7d2d99e3bfb2c3299/DTLSSocket-0.1.7.tar.gz#md5=1815c3f1d58a62ce93e044f9a0cd1b0e (from https://pypi.python.org/simple/dtlssocket/)
Running setup.py (path:C:\Users\ADMINI~1\AppData\Local\Temp\2\pip-build-wa5kc22e\DTLSSocket\setup.py) egg_info for package DTLSSocket
Running command python setup.py egg_info
running egg_info
creating pip-egg-info\DTLSSocket.egg-info
writing pip-egg-info\DTLSSocket.egg-info\PKG-INFO
writing dependency_links to pip-egg-info\DTLSSocket.egg-info\dependency_links.txt
writing requirements to pip-egg-info\DTLSSocket.egg-info\requires.txt
writing top-level names to pip-egg-info\DTLSSocket.egg-info\top_level.txt
writing manifest file 'pip-egg-info\DTLSSocket.egg-info\SOURCES.txt'
reading manifest file 'pip-egg-info\DTLSSocket.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'pip-egg-info\DTLSSocket.egg-info\SOURCES.txt'
Source in c:\users\admini~1\appdata\local\temp\2\pip-build-wa5kc22e\dtlssocket has version 0.1.7, which satisfies requirement DTLSSocket from https://pypi.python.org/packages/d3/4d/7bb7699aa4ba47e0b4287165ebaabca13461e17fafe7d2d99e3bfb2c3299/DTLSSocket-0.1.7.tar.gz#md5=1815c3f1d58a62ce93e044f9a0cd1b0e
Requirement already satisfied: Cython in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from DTLSSocket)
Installing collected packages: DTLSSocket
Running setup.py install for DTLSSocket ... Running command c:\users\administrator\appdata\local\programs\python\python36-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\2\\pip-build-wa5kc22e\\DTLSSocket\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\ADMINI~1\AppData\Local\Temp\2\pip-mcdkeoh9-record\install-record.txt --single-version-externally-managed --compile
running install
running build
running build_py
creating build
creating build\lib.win32-3.6
creating build\lib.win32-3.6\DTLSSocket
copying DTLSSocket\__init__.py -> build\lib.win32-3.6\DTLSSocket
copying DTLSSocket\DTLSSocket.py -> build\lib.win32-3.6\DTLSSocket
running build_ext
Running: autoconf
error
Cleaning up...
Removing source in C:\Users\ADMINI~1\AppData\Local\Temp\2\pip-build-wa5kc22e\DTLSSocket
Exception:
Traceback (most recent call last):
File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\pip\compat\__init__.py", line 73, in console_to_str
return s.decode(sys.__stdout__.encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe5 in position 25: invalid continuation byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\pip\commands\install.py", line 342, in run
prefix=options.prefix_path,
File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\pip\req\req_set.py", line 784, in install
**kwargs
File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\pip\req\req_install.py", line 878, in install
spinner=spinner,
File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\pip\utils\__init__.py", line 676, in call_subprocess
line = console_to_str(proc.stdout.readline())
File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\pip\compat\__init__.py", line 75, in console_to_str
return s.decode('utf_8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe5 in position 25: invalid continuation byte
Traceback (if applicable):
Additional information:
The text was updated successfully, but these errors were encountered:
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 👍
Home Assistant release with the issue:
0.65.6
Python release with the issue:
3.6.4
Last working Home Assistant release (if known):
None, just bought tradfri
Operating environment (Hass.io/Docker/Windows/etc.):
Windows 2016 Server
Component/platform:
https://www.home-assistant.io/components/tradfri/
Description of problem:
Can't install tradfri component because DTLSSocket fails to install.
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Error log when trying to install DTLSSocket
Traceback (if applicable):
Additional information:
The text was updated successfully, but these errors were encountered: