Error in plugin execution runConcurrentThread

Posted on
Wed Jan 22, 2020 8:28 am
Patje73 offline
Posts: 15
Joined: Jan 21, 2017

Error in plugin execution runConcurrentThread

Hi,

I am pretty lost with this error.
EnablingXMPP did not help in solving this error.
Reloainf etc. has not worked eaither.

Does anyone have any advice on this one?


Code: Select all
Harmony Hub Error               Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 71, in runConcurrentThread
TypeError: connect() takes exactly 2 arguments (1 given)

   Harmony Hub Error               plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Thanks a lot..

Posted on
Wed Jan 22, 2020 8:34 am
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Error in plugin execution runConcurrentThread

Turn on debug logging, check the IP address in the Hub device, then restart the plugin. Then post the log.

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

Posted on
Wed Jan 22, 2020 3:06 pm
Patje73 offline
Posts: 15
Joined: Jan 21, 2017

Re: Error in plugin execution runConcurrentThread

Code: Select all
Started plugin "Harmony Hub 7.3.0"
   Harmony Hub                     Starting Harmony Hub
   Harmony Hub Debug               Called deviceStartComm(self, device): Harmony Hub (417987721)
   Harmony Hub Debug               Harmony Hub: Device Current Version = 1
   Harmony Hub Debug               Harmony Hub: Device Version is up to date
   Harmony Hub Debug               Harmony Hub: Starting harmonyHub device (417987721)
   Harmony Hub Warning             Harmony Hub: Socket test failure, skipping hub connection
   Harmony Hub Error               Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 71, in runConcurrentThread
TypeError: connect() takes exactly 2 arguments (1 given)

   Harmony Hub Error               plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Harmony Hub Error               Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 71, in runConcurrentThread
TypeError: connect() takes exactly 2 arguments (1 given)

   Harmony Hub Error               plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


This is what I could take from the logging.
Hub functions via app..

Thanks a lot ,Patrick

Posted on
Wed Jan 22, 2020 3:12 pm
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Error in plugin execution runConcurrentThread

You got this:

Code: Select all
   Harmony Hub Warning             Harmony Hub: Socket test failure, skipping hub connection


Which usually means you have the wrong IP address in the device configuration.

The plugin shouldn't be crashing when that happens. I'll have to fix that.

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

Posted on
Fri Jan 24, 2020 11:07 am
Patje73 offline
Posts: 15
Joined: Jan 21, 2017

Re: Error in plugin execution runConcurrentThread

Anything I can do? As in right IP address setting. Not sure where to do that.

Thanks..

Posted on
Fri Jan 24, 2020 11:11 am
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Error in plugin execution runConcurrentThread

Patje73 wrote:
Anything I can do? As in right IP address setting. Not sure where to do that.


It's in the settings dialog for the Hub Device.
Attachments
Screen Shot 2020-01-24 at 12.11.07 PM.png
Screen Shot 2020-01-24 at 12.11.07 PM.png (753.87 KiB) Viewed 5193 times

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

Posted on
Sun Jan 26, 2020 6:32 pm
denno offline
Posts: 90
Joined: Sep 17, 2004

Re: Error in plugin execution runConcurrentThread

I'm having getting an identical error message. Confirmed that the IP address set in Indigo matches what is showing as the hub address in the Harmony app.


Code: Select all
   Harmony Hub Error               Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 71, in runConcurrentThread
TypeError: connect() takes exactly 2 arguments (1 given)

   Harmony Hub Error               plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)

Posted on
Sun Jan 26, 2020 6:53 pm
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Error in plugin execution runConcurrentThread

denno wrote:
I'm having getting an identical error message. Confirmed that the IP address set in Indigo matches what is showing as the hub address in the Harmony app.


Are you getting this warning as well?
Code: Select all
   Harmony Hub Warning             Harmony Hub: Socket test failure, skipping hub connection


If so, you have the wrong IP address. Or a typo or some other error in the text field.

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

Posted on
Sun Jan 26, 2020 8:05 pm
denno offline
Posts: 90
Joined: Sep 17, 2004

Re: Error in plugin execution runConcurrentThread

No—not that warning

FlyingDiver wrote:
denno wrote:
I'm having getting an identical error message. Confirmed that the IP address set in Indigo matches what is showing as the hub address in the Harmony app.


Are you getting this warning as well?
Code: Select all
   Harmony Hub Warning             Harmony Hub: Socket test failure, skipping hub connection


If so, you have the wrong IP address. Or a typo or some other error in the text field.

Posted on
Sun Jan 26, 2020 8:06 pm
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Error in plugin execution runConcurrentThread

denno wrote:
No—not that warning


Then it's not the same error. I'll need to see a complete log in debug mode from restart.

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

Posted on
Thu Dec 03, 2020 12:07 pm
mgolden50 offline
User avatar
Posts: 259
Joined: Jan 29, 2007
Location: Chandler, AZ

Re: Error in plugin execution runConcurrentThread

Hi,

Your Harmony plugin has worked flawlessly until I just had a brief poser failure. When restored I'm getting same error message as the other folks.

Code: Select all
Traceback (most recent call last):
  File "plugin.py", line 71, in runConcurrentThread
TypeError: connect() takes exactly 2 arguments (1 given)

   Harmony Hub Error               plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Harmony Hub Error               Error in plugin execution runConcurrentThread:

I've confirmed that the IP setting is the same address as my router reports it to be.
If restarted the Harmony. No change.

Any suggestions?

Thanks,
Mike

Posted on
Thu Dec 03, 2020 12:10 pm
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Error in plugin execution runConcurrentThread

Then make sure that XMPP didn't get turned off on the hub.

Menu -> Harmony Setup -> Add/Edit -> Remote & Hub

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

Posted on
Thu Dec 03, 2020 12:11 pm
mgolden50 offline
User avatar
Posts: 259
Joined: Jan 29, 2007
Location: Chandler, AZ

Re: Error in plugin execution runConcurrentThread

Heres the debug log

Code: Select all
 Harmony Hub Debug               Called deviceStopComm(self, device): Harmony Hub (1766988387)
   Harmony Hub                     Shutting down Harmony Hub
   Stopped plugin "Harmony Hub 7.3.0"
   Starting plugin "Harmony Hub 7.3.0" (pid 2284)
   Harmony Hub Debug               logLevel = 10
   Started plugin "Harmony Hub 7.3.0"
   Harmony Hub                     Starting Harmony Hub
   Harmony Hub Debug               Called deviceStartComm(self, device): Harmony Hub (1766988387)
   Harmony Hub Debug               Harmony Hub: Device Current Version = 1
   Harmony Hub Debug               Harmony Hub: Device Version is up to date
   Harmony Hub Debug               Harmony Hub: Starting harmonyHub device (1766988387)
   Harmony Hub Warning             Harmony Hub: Socket test failure, skipping hub connection
   Harmony Hub Error               Error in plugin execution runConcurrentThread:

Posted on
Thu Dec 03, 2020 12:16 pm
mgolden50 offline
User avatar
Posts: 259
Joined: Jan 29, 2007
Location: Chandler, AZ

Re: Error in plugin execution runConcurrentThread

Checked XMPP
It was enabled So disabled and re enabled it. No Change

Posted on
Thu Dec 03, 2020 12:21 pm
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Error in plugin execution runConcurrentThread

Confirm the IP address in the mobile app, Menu->About->Versions.

Also, post the Hub Software version and the App version.

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

Who is online

Users browsing this forum: No registered users and 4 guests