Posts: 3,571
Joined: Sep 2009
Reputation:
110
Ok So I am setting up an old 2009 Mac Mini for some friends as an XBMC box (has a broadcom card etc). It's running 10.6 with Frodo 12.2
Now, I was under the impression that XBMC OSX uses system python, so I updated that to 2.7.5...however I am finding that my addon (Oz Weather in the Frodo Repo) - is crashing with an error that relates to Python 2.4 (and runs fine with the same code under Windows, Openelec, etc).
So - any ideas on that one? I spend very little time with OSX so while my stsem python appears to be 2.7 now (start term, run python) - xbmc is behaving as if it is using 2.4
(The error is that ftplib does note expose socket.create_connection. Has been fixed between 2.4 and 2.6 apparently - can't find the bug report right now but saw the fix was accepted between those versions).
Any help appreciated!
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.
Posts: 3,571
Joined: Sep 2009
Reputation:
110
I definitely believe you!
I'm stuck without a Mac. Basically, if you donwload OzWeather, configure it with a postcode of 5064 say, and then run it as your weather app. It will crash ... same code that works on OE/Windows. But I can't get the log to prove it - so unless anyone with a Mac has 5 spare minutes for me...
(otherwise I am visiting my friends at Christmas, might be able to get one then!)
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.
Posts: 3,571
Joined: Sep 2009
Reputation:
110
Hey Jonathan
Is that an error during config? I.e. while getting a location? That's not actually what I meant. Mind you that same '5076' postcode works fine on my Windows box just now.
I actually meant an error post configuration when it's running and downloading radar backgrounds etc.
Apparently the issues are worse than I thought?! I will have to look into that - makes no sense at first glance, there's no port specified and I don't think you have to with basic http
Many thanks
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
2013-11-16, 01:44
(This post was last modified: 2013-11-16, 01:45 by jmarshall.)
That's during config, yes. Doesn't matter what postcode you put in as it's throwing an exception prior to URL open. Dunno what the error actually means - does seem like an odd one as the request looks OK.
If I can't config it, I can't do much else. This is Gotham btw.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
2013-11-16, 01:50
(This post was last modified: 2013-11-16, 01:52 by jmarshall.)
EDIT: Ok, got it running on Alpha6. That one complained about no PIL being present.
Perhaps OSX isn't bundling PIL? Are they running it with the radar stuff turned on (without should be fine?)
EDIT2: Yes, without radar stuff on, Gotham Alpha 6 works fine with Glen Osmond weather.
Posts: 3,571
Joined: Sep 2009
Reputation:
110
PIL was one issue I've hit before on OSX/iOS - though that was solved to be honest (certainly some ATV2 users seemed to work it out). The other error I hit was ftplib as in the first post.
I had onyl tried with Frodo on OSX before I gave away my Mac. I should have kept it maybe but it was a tossup between having a Mac debug platform or getting some friends on to XBMC so I chose the latter! I'm kinda evangelistic with my xbmc...
And yes, they are running with radar turned on - it's most of the point of the addon really, the radars - so you can watch the storms roll in etc (the radars pop up during pause with a modified DialogOnSeek etc.)
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Ask 'em if it works fine with the radar disabled. If so, there's a fair chance that it's PIL.
Though I should think Frodo would have included it just fine (else we would have heard about it!)
Posts: 3,571
Joined: Sep 2009
Reputation:
110
IIRC it does work without the radar stuff.
But the error I was getting was not PIL - it was ftp related...damn it I wish I'd kept that Mac.
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.
Posts: 16,946
Joined: Feb 2011
Reputation:
256
please try the next nightly and report back if its working then ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much:
click here
HowTo setup NFS for Kodi:
NFS (wiki)
HowTo configure avahi (zeroconf):
Avahi_Zeroconf (wiki)
READ THE IOS FAQ!:
iOS FAQ (wiki)
Posts: 3,571
Joined: Sep 2009
Reputation:
110
Ok don't have a mac so will try get someone to try for me, thanks!
(latest nightlies appear to be 8th/11th so I presume I wait for one after that...)
Addons I wrote &/or maintain:
OzWeather (Australian BOM weather) | Check Previous Episode | Playback Resumer | Unpause Jumpback | XSqueezeDisplay | (Legacy - XSqueeze & XZen)
Sorry, no help w/out a
*full debug log*.