Harmony Hub Won't Start

Posted on
Fri Dec 23, 2016 8:40 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Harmony Hub Won't Start

Try:

Code: Select all
sudo pip2.7 install sleekxmpp


If it says pip2.7 not found, try:

Code: Select all
sudo pip install sleekxmpp

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

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

Re: Harmony Hub Won't Start

Joe,

76WildwoodSt-Indigo-Server:~ 76wildwoodst$ sudo pip install sleekxmpp
Password:
sudo: pip: command not found
76WildwoodSt-Indigo-Server:~ 76wildwoodst$

Posted on
Fri Dec 23, 2016 2:19 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Harmony Hub Won't Start

Then do this first, then the other:

Code: Select all
sudo easy_install pip

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

Posted on
Fri Dec 23, 2016 3:59 pm
maslett offline
Posts: 95
Joined: Aug 09, 2014

Re: Harmony Hub Won't Start

That worked Joe, Thank you so much for your help. I look forward to getting the Harmony up and running. Merry Christmas

Posted on
Fri Dec 23, 2016 4:53 pm
Albatros offline
Posts: 132
Joined: Feb 07, 2015

Re: Harmony Hub Won't Start

I have had a similar problem, it installed sleekxmpp for python 2.6. PIP wasn't the right version. Maybe adjust the instal guides with the note that if people have problems with sleekxmpp.

I did:

1. If "sudo pip2.7 install sleekxmpp" is thats fine. If n't working than:
2 ." sudo easy_install pip" than
3. "sudo pip2.7 install sleekxmpp"

Posted on
Fri Dec 23, 2016 7:15 pm
maslett offline
Posts: 95
Joined: Aug 09, 2014

Re: Harmony Hub Won't Start

So HarmonyHib is now working but I think the install of Py2,7 Sleekxmmp has caused an issue with the Nest Plugin's by Chameleon. I am now getting version errors. Looks like thee maybe an incompatibilities.

Posted on
Fri Dec 23, 2016 7:24 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Harmony Hub Won't Start

maslett wrote:
So HarmonyHib is now working but I think the install of Py2,7 Sleekxmmp has caused an issue with the Nest Plugin's by Chameleon. I am now getting version errors. Looks like thee maybe an incompatibilities.


I saw your other thread. That's definitely a Nest plugin or server error.

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

Posted on
Fri Dec 23, 2016 7:44 pm
maslett offline
Posts: 95
Joined: Aug 09, 2014

Re: Harmony Hub Won't Start

Joe, yes looks that way. It had been working fine. Looks like the update PY install may have caused an issue. Will let you know, Mark

Posted on
Sat Dec 24, 2016 7:16 am
maslett offline
Posts: 95
Joined: Aug 09, 2014

Re: Harmony Hub Won't Start

I reloaded the libraries and attachments from the plug-in menu and the Nest error messages have stopped. Mark

Posted on
Tue Dec 27, 2016 11:25 pm
dnomode offline
Posts: 366
Joined: Apr 12, 2008
Location: North Georgia

Re: Harmony Hub Won't Start

I'm getting the following when trying to enable the plug in.
Code: Select all
   Enabling plugin "Harmony Hub 7.1.0"
   Starting plugin "Harmony Hub 7.1.0" (pid 35667)
   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 35667)
   Stopped plugin "Harmony Hub 7.1.0"


I ran:
Code: Select all
sudo pip2.7 install sleekxmpp

Code: Select all
sudo pip install sleekxmpp

Code: Select all
sudo easy_install pip


Still getting the above error.

What am I missing?

Edmond

Posted on
Wed Dec 28, 2016 7:11 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Harmony Hub Won't Start

dnomode wrote:
What am I missing?


The results of running the three commands above. Can't tell if they worked or not. If you ran them in the order you posted, then the first two probably failed. You need to run the "easy_install" command first, then one or the other of the "pip" commands.

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

Posted on
Sun Jan 01, 2017 9:34 pm
dnomode offline
Posts: 366
Joined: Apr 12, 2008
Location: North Georgia

Re: Harmony Hub Won't Start

OK, I ran it the other way around. It gave me an error and I ran the second command with a -H flag. Please see below.
Code: Select all
Edmonds-Mac-mini:~ edmond$ sudo easy_install pip
Searching for pip
Best match: pip 9.0.1
Adding pip 9.0.1 to easy-install.pth file
Installing pip script to /Library/Frameworks/Python.framework/Versions/2.7/bin
Installing pip3.5 script to /Library/Frameworks/Python.framework/Versions/2.7/bin
Installing pip3 script to /Library/Frameworks/Python.framework/Versions/2.7/bin

Using /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Processing dependencies for pip
Finished processing dependencies for pip
Edmonds-Mac-mini:~ edmond$ sudo pip2.7 install sleekxmpp
The directory '/Users/edmondkloss/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/edmondkloss/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/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Edmonds-Mac-mini:~ edmond$ sudo -H pip2.7 install sleekxmpp
Requirement already satisfied: sleekxmpp in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Edmonds-Mac-mini:~ edmond$

:cry: Im still getting the following when trying to start the plugin.
Code: Select all
   Enabling plugin "Harmony Hub 7.1.0"
   Starting plugin "Harmony Hub 7.1.0" (pid 87511)
   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 87511)
   Stopped plugin "Harmony Hub 7.1.0"


What you think?

Edmond

Posted on
Mon Jan 02, 2017 7:29 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Harmony Hub Won't Start

dnomode wrote:
What you think?


I think it's another case of a non-standard Python install messing things up. If you had a standard install, pip and sleekxmpp would have gotten installed to "/Library/Python/2.7/", which is where Indigo is expecting it to be. Instead, your version of Python is installing things to "/Library/Frameworks/Python.framework/Versions/2.7/".

Did you install a new/different version of Python using the installer from python.org? Or using homebrew or ports?

Please post the output of these commands:

Code: Select all
which python
echo $PATH

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

Posted on
Mon Jan 02, 2017 11:08 am
dnomode offline
Posts: 366
Joined: Apr 12, 2008
Location: North Georgia

Re: Harmony Hub Won't Start

I dont recall how I installed python.

Here is the output
Code: Select all
Last login: Sun Jan  1 19:26:55 on ttys000
Edmonds-Mac-mini:~ edmond$ which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
Edmonds-Mac-mini:~ edmond$ echo $PATH
/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
Edmonds-Mac-mini:~ edmond$

Posted on
Mon Jan 02, 2017 12:10 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Harmony Hub Won't Start

Looks like you installed both Python3.5 and Python2.7 using a non-Apple installer. This is not a Harmony Hub issue. It's a Python install issue. I honestly don't know how to fix that.

You could try forcing it to use the "normal" pip install:

Code: Select all
sudo /usr/local/bin/pip install sleekxmpp

or

sudo /usr/local/bin/pip2.7 install sleekxmpp


It needs to do the install to "/Library/Python/2.7/site-packages".

Or you could just manually copy the files from "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages" to "/Library/Python/2.7/site-packages".

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

Who is online

Users browsing this forum: No registered users and 2 guests

cron