Page 1 of 1

Error RFXcom 2.18

PostPosted: Fri Mar 30, 2018 5:17 am
by marcel langelaan
Please advice, i get the following errors:

30 Mar 2018 at 13:14:28
RFXCOM Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 309, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 2233, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 749, in processPacket
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1333, in handleRFXSensor
UnboundLocalError: local variable 'temp' referenced before assignment

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

Re: Error RFXcom 2.18

PostPosted: Fri Mar 30, 2018 5:21 am
by marcel langelaan
Downgraded and re-installed => working
Sorry

Error RFXcom 2.18

PostPosted: Fri Mar 30, 2018 5:49 am
by kw123
fixed typo "temperture" ==> temp as variable name should work now, but not tested

https://www.dropbox.com/s/3kev5jvqh18qeav/RFXCOM-v-2.1.9.zip?dl=1

as I am not the authorI can't push to the plugin store.

Karl

Re: Error RFXcom 2.18

PostPosted: Fri Mar 30, 2018 9:46 am
by jay (support)
kw123 wrote:
as I am not the authorI can't push to the plugin store.


Did you issue a pull request in Github with the fix?

Re: Error RFXcom 2.18

PostPosted: Fri Mar 30, 2018 9:58 am
by marcel langelaan
Issue occurs again, after certain time.

RFXCOM Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 309, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM-218indigoPlugin.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 2233, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM-218indigoPlugin.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 749, in processPacket
File "/Library/Application Support/Perceptive Automation/Indigo 7/Plugins/RFXCOM-218indigoPlugin.indigoPlugin/Contents/Server Plugin/RFXTRX.py", line 1333, in handleRFXSensor
UnboundLocalError: local variable 'temp' referenced before assignment

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

I will try the 2.19 version later.

Re: Error RFXcom 2.18

PostPosted: Fri Mar 30, 2018 10:15 am
by kw123
Jay

just downloaded the latest and changed the code. Changed v # and posted on my Dropbox.


Sent from my iPhone using Tapatalk

Re: Error RFXcom 2.18

PostPosted: Fri Mar 30, 2018 10:27 am
by jay (support)
kw123 wrote:
just downloaded the latest and changed the code. Changed v # and posted on my Dropbox.


If you follow the standard process (fork, fix, issue pull request) on Github then fixing bugs like this would result in a new release. We don't want lots of different versions (potentially with the same version #) floating around. And this is exactly why we use Github in the first place.

Re: Error RFXcom 2.18

PostPosted: Fri Mar 30, 2018 10:28 am
by kw123
sorry need to get used to GitHub

Re: Error RFXcom 2.18

PostPosted: Fri Mar 30, 2018 4:02 pm
by jay (support)
I've written up a guide to contributing to existing open source plugins on GitHub that may be of some help.

Re: Error RFXcom 2.18

PostPosted: Sun Apr 01, 2018 3:30 am
by marcel langelaan
2.19 seems to work, thx

Re: Error RFXcom 2.18

PostPosted: Mon Apr 09, 2018 10:52 am
by matt (support)
I've added this fix into a new release (2.1.10).