Author Topic: WeatherCat Version 1.2.3 Released  (Read 18830 times)

Administrator

  • Administrator
  • Strong Breeze
  • *****
  • Posts: 108
WeatherCat Version 1.2.3 Released
« on: October 24, 2013, 05:39:10 PM »
We are very pleased to announce the release and immediate availability of WeatherCat version 1.2.3.

A few customers were seeing high CPU usage on Mac OS X 10.9 - this update fixes the issue.

[Edit: This build has been updated to build 16 to fix an issue with years with commas in stats - if you have build 14 please download again to get build 16]


Requirements
Mac OS X 10.6.8 or later (Intel only)
An older release that supports PowerPC machines is available to download from our WeatherCat page: http://trixology.com/weathercat/


Download:
http://data.trixology.com/downloads/WeatherCat.zip (19.0MB, build 16)

SDK
A software development kit is also available for WeatherCat, documentation and example project included (Xcode 4)): http://data.trixology.com/downloads/WeatherCatSDK120.zip
« Last Edit: October 26, 2013, 12:51:12 PM by WCDev »

JosBaz

  • Strong Breeze
  • ***
  • Posts: 232
    • INBRSON2
    • Weatherstation Son en Breugel, The Netherlands
  • Station Details: Davis Vantage Pro2 Wireless, WeatherCat on Mac OS X 10.13.6
Re: WeatherCat Version 1.2.3 Released
« Reply #1 on: October 24, 2013, 07:16:48 PM »
Thanks Stu.

Up and running on my 2012 Mac Mini with 10.9.

Checked the CPU usage with 1.2.2 and it was in the 40%-50% range often. Guess that was a bit 'high'...  ???
Anyway, now it is around 2% with peaks into the 20's while updating.

Regards,

Jos

WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2911
    • CW9739
    • ISCOTLAN25
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, soil/leaf station, extra temp stations, no U.V. WeatherLink IP.
Re: WeatherCat Version 1.2.3 Released
« Reply #2 on: October 25, 2013, 10:05:43 PM »
Good to know  [tup]

V1.2.3 is an important update for Mavericks users - tell your friends, spread the word!


WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2911
    • CW9739
    • ISCOTLAN25
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, soil/leaf station, extra temp stations, no U.V. WeatherLink IP.
Re: WeatherCat Version 1.2.3 Released
« Reply #3 on: October 26, 2013, 01:54:18 PM »
The build has been updated to fix a build issue. If you have build 14, please download again to update to build 16.

http://data.trixology.com/downloads/WeatherCat.zip (19.0MB, build 16)

JosBaz

  • Strong Breeze
  • ***
  • Posts: 232
    • INBRSON2
    • Weatherstation Son en Breugel, The Netherlands
  • Station Details: Davis Vantage Pro2 Wireless, WeatherCat on Mac OS X 10.13.6
Re: WeatherCat Version 1.2.3 Released
« Reply #4 on: October 26, 2013, 03:25:44 PM »
I was just troubleshooting an issue where the Pressure gauge (Live weather using SteelSeries Gauges) was not updating properly. Instead of showing the actual measured value, it was stuck at 950hPa (see screenshot).

Installing Build 16 seems to have resolved it. Could that be the case?  [interesting]

Jos

WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2911
    • CW9739
    • ISCOTLAN25
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, soil/leaf station, extra temp stations, no U.V. WeatherLink IP.
Re: WeatherCat Version 1.2.3 Released
« Reply #5 on: October 26, 2013, 04:14:33 PM »
I wouldn't have thought so, the issue was with the app meta-data which tells the OS stuff about the app (which is why the OS was formatting numbers differently). There were no code changes between the builds.

[Edit - thinking about it, it could have been actually. Build 14 affected number formatting so it may be the gauges script was seeing data in a format it wasn't expecting]


Tailspin45

  • Gentle Breeze
  • **
  • Posts: 45
    • EW0995
    • KCACARLS17
    • Carlsbad Science and Technology Observatory
  • Station Details: Davis 6250, 6520 USB logger, iMac, Evocam
Re: WeatherCat Version 1.2.3 Released
« Reply #6 on: October 26, 2013, 09:55:50 PM »
WeatherCat log isn't showing any issues, but Console shows almost continuous stream of problems similar to this:

Code: [Select]
10/26/13 1:40:06.006 PM WeatherCat[265]: AppleEvents/sandbox: Returning errAEPrivilegeError/-10004 and denying dispatch of event misc/curd from process 'osascript'/0x0-0x8e08e, pid=1154, because it is not entitled to send an AppleEvent to this process.
And WeatherCat is chewing up 10-20% of CPU, but at least it doesn't spit it up as fur balls!
Tailspin Tommy
http://carlsbadwx.com


WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2911
    • CW9739
    • ISCOTLAN25
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, soil/leaf station, extra temp stations, no U.V. WeatherLink IP.
Re: WeatherCat Version 1.2.3 Released
« Reply #7 on: October 27, 2013, 02:10:00 PM »
WeatherCat log isn't showing any issues, but Console shows almost continuous stream of problems similar to this:

Code: [Select]
10/26/13 1:40:06.006 PM WeatherCat[265]: AppleEvents/sandbox: Returning errAEPrivilegeError/-10004 and denying dispatch of event misc/curd from process 'osascript'/0x0-0x8e08e, pid=1154, because it is not entitled to send an AppleEvent to this process.
And WeatherCat is chewing up 10-20% of CPU, but at least it doesn't spit it up as fur balls!

Apologies for the delay in getting to you - had an early night for the grand prix this morning.

I can't reproduce this here, but it might be you have a copy of build 14 hanging about which is screwing something up (especially as this appears to be Apple event related).

Could you check if you still have a copy of build 14 on your hard-drive and if so, either delete it or zip it up then delete it. Once done,  reboot the machine and check if the problem has gone away.


Tailspin45

  • Gentle Breeze
  • **
  • Posts: 45
    • EW0995
    • KCACARLS17
    • Carlsbad Science and Technology Observatory
  • Station Details: Davis 6250, 6520 USB logger, iMac, Evocam
Re: WeatherCat Version 1.2.3 Released
« Reply #8 on: October 27, 2013, 03:25:50 PM »
Had a half dozen prior releases on drive, so I deleted them and restarted machine. Still getting msg every minute, which is the sample interval I have set (with adaptive checked)

Code: [Select]
10/27/13 8:22:00.434 AM WeatherCat[284]: AppleEvents/sandbox: Returning errAEPrivilegeError/-10004 and denying dispatch of event misc/curd from process 'osascript'/0x0-0x77077, pid=940, because it is not entitled to send an AppleEvent to this process.
10/27/13 8:22:00.443 AM WeatherCat[284]: AppleEvents/sandbox: Returning errAEPrivilegeError/-10004 and denying dispatch of event misc/curd from process 'osascript'/0x0-0x78078, pid=941, because it is not entitled to send an AppleEvent to this process.
Tailspin Tommy
http://carlsbadwx.com


WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2911
    • CW9739
    • ISCOTLAN25
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, soil/leaf station, extra temp stations, no U.V. WeatherLink IP.
Re: WeatherCat Version 1.2.3 Released
« Reply #9 on: October 27, 2013, 08:02:05 PM »
If you change your sample rate, does the frequency of the messages change?

Looking at the log entries they seem to be saying that an apple event is denied dispatch from process 940 and 941 - any idea what those processes are? (Have a look with Activity Monitor to see if you can identify them).

Tailspin45

  • Gentle Breeze
  • **
  • Posts: 45
    • EW0995
    • KCACARLS17
    • Carlsbad Science and Technology Observatory
  • Station Details: Davis 6250, 6520 USB logger, iMac, Evocam
Re: WeatherCat Version 1.2.3 Released
« Reply #10 on: October 27, 2013, 10:03:22 PM »
The PID changes with each error report, of course, but the process is always 'osascript'.

Changing the sample rate doesn't change the report interval, must be related to something else.
Tailspin Tommy
http://carlsbadwx.com


WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2911
    • CW9739
    • ISCOTLAN25
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, soil/leaf station, extra temp stations, no U.V. WeatherLink IP.
Re: WeatherCat Version 1.2.3 Released
« Reply #11 on: October 28, 2013, 06:22:41 PM »
Are you running any scripts against WeatherCat - maybe its a permissions issue on one of the scripts?

N8NOE

  • Strong Breeze
  • ***
  • Posts: 144
    • N8NOE-WX
    • KMIWATER7
    • N8NOE's Home Page (WX Link of Front )
  • Station Details: OSX Mountain Lion Server, WMR968
Re: WeatherCat Version 1.2.3 Released
« Reply #12 on: November 10, 2013, 03:49:38 AM »
All Seems Fine here, Great work and THANKS for updates Stu and all....

Tailspin45

  • Gentle Breeze
  • **
  • Posts: 45
    • EW0995
    • KCACARLS17
    • Carlsbad Science and Technology Observatory
  • Station Details: Davis 6250, 6520 USB logger, iMac, Evocam
Re: WeatherCat Version 1.2.3 Released
« Reply #13 on: November 12, 2013, 12:05:45 AM »
Just had time to get back to this...and the problem remains. I'm running Saratoga-Weather scripts, so yes, a number of scripts use WCT. Davis USB is plugged directly into my iMac, BTW.

Thoughts?
Tailspin Tommy
http://carlsbadwx.com


Tailspin45

  • Gentle Breeze
  • **
  • Posts: 45
    • EW0995
    • KCACARLS17
    • Carlsbad Science and Technology Observatory
  • Station Details: Davis 6250, 6520 USB logger, iMac, Evocam
Re: WeatherCat Version 1.2.3 Released
« Reply #14 on: November 15, 2013, 03:46:35 PM »
Apparently the problem is that WeatherCat is making an illegal request to the Unix 'curd' process and Apple sandboxing system is blocking it.

You need to add an entry to the entitlements file bundle to allow the Apple event with 'System Events'.
Tailspin Tommy
http://carlsbadwx.com