Harmony Hub Won't Start

Posted on
Sun Dec 18, 2016 8:27 pm
maslett offline
Posts: 95
Joined: Aug 09, 2014

Harmony Hub Won't Start

I get the following error message. I installed py2.6 and Sleekxmmp\

_____________________________________________________

Dec 18, 2016, 9:24:06 PM
Disabling plugin "Harmony Hub 7.1.0"
Enabling plugin "Harmony Hub 7.1.0"
Starting plugin "Harmony Hub 7.1.0" (pid 1394)
Harmony Hub Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "plugin.py", line 9, in <module>
ImportError: No module named sleekxmpp

Stopping plugin "Harmony Hub 7.1.0" (pid 1394)
Stopped plugin "Harmony Hub 7.1.0"

Reloading plugin "Harmony Hub 7.1.0"
Starting plugin "Harmony Hub 7.1.0" (pid 1397)
Harmony Hub Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "plugin.py", line 9, in <module>
ImportError: No module named sleekxmpp

Stopping plugin "Harmony Hub 7.1.0" (pid 1397)
Stopped plugin "Harmony Hub 7.1.0"

Posted on
Sun Dec 18, 2016 8:30 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Harmony Hub Won't Start

First, don't use the pre-release versions. Those are only for testing by people with working configurations. You should be using: https://github.com/FlyingDiver/Indigo-H ... v7.0.1.zip

Second, Indigo 7 uses Python 2.7. So you need to install sleekxmpp for Python 2.7.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Dec 18, 2016 8:34 pm
maslett offline
Posts: 95
Joined: Aug 09, 2014

Re: Harmony Hub Won't Start

Joe,I installed 2.6 - will it cause an issue - do I need to uninstall. How do I install 2.7? Thanks for the help. Mark

Posted on
Sun Dec 18, 2016 8:37 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Harmony Hub Won't Start

No, you can ignore the old sleekxmpp install. Or did you install a different version of Python itself? That usually causes other problems.

Just doing "sudo pip install sleekxmpp" should install it for 2.7

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Dec 18, 2016 8:40 pm
maslett offline
Posts: 95
Joined: Aug 09, 2014

Re: Harmony Hub Won't Start

Joe, I tried the sudo command and I get the following error

DEPRECATION: Python 2.6 is no longer supported by the Python core team, please upgrade your Python. A future version of pip will drop support for Python 2.6
The directory '/Users/76wildwoodst/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/76wildwoodst/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied: sleekxmpp in /Library/Python/2.6/site-packages
/Library/Python/2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/lates ... ingwarning.
SNIMissingWarning
/Library/Python/2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/lates ... ormwarning.
InsecurePlatformWarning

Posted on
Sun Dec 18, 2016 8:46 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Harmony Hub Won't Start

OK, somehow you've got Python 2.6 as the default when it should be Python 2.7.

What version of Mac OS (OSX) are you running?

In a terminal window, enter these commands then post the results.

Code: Select all
which python
python --version
echo $PATH

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Dec 18, 2016 8:49 pm
maslett offline
Posts: 95
Joined: Aug 09, 2014

Re: Harmony Hub Won't Start

Joe, I looked at the path

/Library/Python/

There are two directories 2.6 and 2.7. 2.7 is empty. So maybe py2.7 isn't installed.

Below is the output of the commands you sent.

Code: Select all
76WildwoodSt-Indigo-Sever:~ 76wildwoodst$ which python
/usr/bin/python
76WildwoodSt-Indigo-Sever:~ 76wildwoodst$ python --version
Python 2.7.10
76WildwoodSt-Indigo-Sever:~ 76wildwoodst$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
76WildwoodSt-Indigo-Sever:~ 76wildwoodst$

Posted on
Sun Dec 18, 2016 8:50 pm
maslett offline
Posts: 95
Joined: Aug 09, 2014

Re: Harmony Hub Won't Start

OSX 10.12.2

Posted on
Sun Dec 18, 2016 9:01 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Harmony Hub Won't Start

Ok it's not your version of Python, it's pip that's set up with the wrong default, so try "sudo pip2.7 install sleekxmpp".

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Dec 18, 2016 9:08 pm
maslett offline
Posts: 95
Joined: Aug 09, 2014

Re: Harmony Hub Won't Start

Joe,

I did as suggested. I reran the commands you asked previously

Code: Select all
76WildwoodSt-Indigo-Sever:~ 76wildwoodst$ which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
76WildwoodSt-Indigo-Sever:~ 76wildwoodst$ python --version
Python 2.7.13
76WildwoodSt-Indigo-Sever:~ 76wildwoodst$ echo $PATH
/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin

_______________

I disabled then re-enabled the plugin and get the following message:

Disabling plugin "Harmony Hub 7.0.1"
Enabling plugin "Harmony Hub 7.0.1"
Starting plugin "Harmony Hub 7.0.1" (pid 795)
Harmony Hub Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "plugin.py", line 10, in <module>
ImportError: No module named sleekxmpp

Stopping plugin "Harmony Hub 7.0.1" (pid 795)
Stopped plugin "Harmony Hub 7.0.1"

Posted on
Sun Dec 18, 2016 9:17 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Harmony Hub Won't Start

What did you do to add "/Library/Frameworks/Python.framework/Versions/2.7/bin" to your PATH? Nothing I told you to do would have done that.

You're seriously messing up your Python install. And you still haven't installed sleekxmpp for Python 2.7.

Maybe you need to post your entire terminal session. But I won't be able to look at again until tomorrow.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Dec 18, 2016 9:20 pm
maslett offline
Posts: 95
Joined: Aug 09, 2014

Re: Harmony Hub Won't Start

Joe, I downloaded and ran the py2.7,13 installer from https://www.python.org/downloads/mac-osx/ Mark

Posted on
Mon Dec 19, 2016 6:21 am
maslett offline
Posts: 95
Joined: Aug 09, 2014

Re: Harmony Hub Won't Start

Joe, I am going todo a clean install of the OS and reinstall Indigo and the Harmony Hub. Thanks for your assistance, I'll let you know how I get on. Mark

Posted on
Tue Dec 20, 2016 9:05 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Harmony Hub Won't Start

maslett wrote:
Joe, I am going todo a clean install of the OS and reinstall Indigo and the Harmony Hub. Thanks for your assistance, I'll let you know how I get on. Mark


Any success?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Fri Dec 23, 2016 8:38 am
maslett offline
Posts: 95
Joined: Aug 09, 2014

Re: Harmony Hub Won't Start

Joe,

thanks for reaching out. So I did a clean OS and Indigo 7.02 install and reloaded the plugin. I get the following error message which I guess is due to the Py module not being loaded. As I don't want to mess things up I will follow your directions to the letter on how to load the Sleek PY module. How should I proceed.

Thank you for your patience. Mark

Dec 23, 2016, 9:35:23 AM
Reloading plugin "Harmony Hub 7.0.1"
Starting plugin "Harmony Hub 7.0.1" (pid 41563)
Harmony Hub Error Error in plugin execution InitializeMain:

Traceback (most recent call last):
File "plugin.py", line 10, in <module>
ImportError: No module named sleekxmpp

Stopping plugin "Harmony Hub 7.0.1" (pid 41563)
Stopped plugin "Harmony Hub 7.0.1"

Who is online

Users browsing this forum: No registered users and 1 guest