Several problems that have left me nonfunctional. I upgraded astral through pip3 and it is now at 1.1
I also had to upgrade net disco through pip3.
Any ideas?
==============
home-assistant.log
16-05-22 22:11:42 homeassistant.components.automation: Unknown automation platform specified for trigger: None
16-05-22 22:11:52 homeassistant.bootstrap: Not initializing sun because could not install dependency astral==1.0
16-05-22 22:11:52 homeassistant.bootstrap: Unable to prepare setup for platform automation.sun because dependency sun could not be initialized
16-05-22 22:11:52 homeassistant.components.automation: Unknown automation platform specified for trigger: None
16-05-22 22:12:33 homeassistant.bootstrap: Not initializing media_player.roku because could not install dependency https://github.com/bah2830/python-roku/archive/3.1.1.zip#python-roku==3.1.1
=====
pip.log
/usr/local/bin/pip3 run on Sun May 22 22:18:04 2016
Downloading/unpacking python-roku
Getting page https://pypi.python.org/simple/python-roku/
Could not fetch URL https://pypi.python.org/simple/python-roku/: 404 Client Error: Not Found
Will skip URL https://pypi.python.org/simple/python-roku/ when looking for download links for python-roku
Getting page https://pypi.python.org/simple/
Cleaning up...
Operation cancelled by user
Exception information:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 290, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python3/dist-packages/pip/req.py", line 1178, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
File "/usr/lib/python3/dist-packages/pip/index.py", line 196, in find_requirement
url_name = self._find_url_name(Link(self.index_urls[0], trusted=True), url_name, req) or req.url_name
File "/usr/lib/python3/dist-packages/pip/index.py", line 368, in _find_url_name
if norm_name == normalize_name(base):
File "/usr/lib/python3/dist-packages/pip/util.py", line 179, in normalize_name
return _normalize_re.sub('-', name.lower())
There is at least one issue with the roku dependency. You can’t use pip to install roku in your way. You need to point pip to the current archive of the fork -> https://github.com/bah2830/python-roku/releases
I’m still struggling with getting the Roku component to install (even with v.20.2)
sudo pip install https://github.com/bah2830/python-roku/releases
Downloading/unpacking https://github.com/bah2830/python-roku/releases
Downloading releases (unknown size): 9.4kB downloaded
Cleaning up...
Exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 290, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python3/dist-packages/pip/req.py", line 1198, in prepare_files
do_download,
File "/usr/lib/python3/dist-packages/pip/req.py", line 1376, in unpack_url
self.session,
File "/usr/lib/python3/dist-packages/pip/download.py", line 582, in unpack_http_url
unpack_file(temp_location, location, content_type, link)
File "/usr/lib/python3/dist-packages/pip/util.py", line 646, in unpack_file
and is_svn_page(file_contents(filename))):
File "/usr/lib/python3/dist-packages/pip/util.py", line 212, in file_contents
return fp.read().decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
Storing debug log for failure in /root/.pip/pip.log
INFO:homeassistant.util.package:Attempting install of https://github.com/bah2830/python-roku/archive/3.1.1.zip#python-roku==3.1.1
Exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/local/lib/python3.4/dist-packages/pip/commands/install.py", line 377, in run
shutil.rmtree(target_item_dir)
File "/usr/lib/python3.4/shutil.py", line 463, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.4/shutil.py", line 421, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.4/shutil.py", line 419, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
PermissionError: [Errno 13] Permission denied: 'hooks.py'
ERROR:homeassistant.bootstrap:Not initializing media_player.roku because could not install dependency https://github.com/bah2830/python-roku/archive/3.1.1.zip#python-roku==3.1.1