Error storm when rolling log
James Sentman
james at sentman.com
Wed Apr 20 15:27:40 EDT 2016
Sent from my iPhone
> On Apr 20, 2016, at 1:53 PM, Rob Lewis <rob at whidbey.com> wrote:
>
> Thanks for the info. Could this have anything to do with the 1000°F temperature reading from one of my 1-wire sensors?
I can't think how it could be. The calculation of the temperature is done at the device or down in the interface and xtensions main process isn't doing anything except formatting it and passing it to a script. The worse this can do is to delay the update of the unit by 2 seconds or so until it's finished with all the logging. I can't think of a way it would change the value. My 1 wire devices occasionally do this too. I think we need to talk about filtering for such units and how that can be made to fix such things.
>
> (BTW, the freeze I was getting when searching for text in all scripts seems to be fixed, and search is impressively fast! I still, however, occasionally get some kind of bogus characters inserted when editing a script. Typically it takes 3 or so backspaces to eliminate the invisible character. IIRC, it mostly happens when code is copied and pasted into a script.)
There is a mechanism now where I filter out characters that I can obviously identify as being rejected by AppleScript yet valor UTF8 text. I have even intercepted the paste into the window and apply my filter before the text gets in there. If you find a script somewhere that when pasted still blows things up please send me a link to wherever it came from so I can try to duplicate the problem. Anything I can duplicate I can add to the filtering so that it doesn't cause problems in the future.
>
>
>> On Apr 20, 2016, at 09:52 , James Sentman <james at sentman.com> wrote:
>>
>> This is a bug in the automatic log rolling code I added a couple of versions ago. It’s harmless for the time being apart from spamming your log and it’s fixed in the version I’ll be releasing this friday. I THOUGHT I had it fixed for the last release, but it isn’t and can still happen. There is a situation where rolling the log causes a log line to be generated which re-kicks off the log rolling and so forth and those aren’t allowed to be recursive so it drops out.
>>
>>
>>> On Apr 20, 2016, at 10:29 AM, Rob Lewis <rob at whidbey.com> wrote:
>>>
>>> Error in LogSupportModule.RollTheLog( 3)
>>
>> Thanks,
>> James
>>
>>
>> James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com
>>
>>
>>
>>
>> _______________________________________________
>> XTensionList mailing list
>> XTensionList at machomeautomation.com
>> http://mail.machomeautomation.com/mailman/listinfo/xtensionlist
>
> _______________________________________________
> XTensionList mailing list
> XTensionList at machomeautomation.com
> http://mail.machomeautomation.com/mailman/listinfo/xtensionlist
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20160420/e50a9ca2/attachment.html>
More information about the XTensionList
mailing list