[mythtvnz] tv_grab_nz-py configuration issues
Andrew Taylor
aretaylor at gmail.com
Wed Dec 18 08:31:27 GMT 2013
Hi Steve
I gave it a go... but no luck...
Traceback (most recent call last):
File "./tv_grab_nz-py", line 227, in <module>
use = raw_input('Use channel %s (%s)? [y/N]' % (channel[1], channel[0]))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0101' in
position 13: ordinal not in range(128)
Cheers
A.
On 18 December 2013 13:46, Steve Holdoway <steve at greengecko.co.nz> wrote:
> On Wed, 2013-12-18 at 11:28 +1300, Andrew Taylor wrote:
> > Hi
> >
> >
> > Apologies if this has been answered before, I had a search through the
> > archive but couldn't find a working answer.
> >
> >
> > I downloaded the latest tv_grab_nz-py from nice.net.nz and made the
> > adjustments mentioned by stephen in this thread:
> > http://www.gossamer-threads.com/lists/mythtv/mythtvnz/559187
> >
> >
> > From:
> > doc = ElementTree.parse(StringIO(text)).getroot()
> > ----
> > To:
> > parser = ElementTree.XMLParser(encoding="ISO-8859-1")
> > doc = ElementTree.parse(StringIO(text), parser=parser).getroot()
> >
> >
> >
> > But it still dies in the configuration for me when it gets to Marori
> > TV with the unicodeEncodeError .
> >
> >
> > Is there anything else I am missing?
> > Running Ubuntu 12.04LTS Server (fresh install) with tvheadend and xbmc
> >
> >
> >
> >
> > Cheers
> >
> >
> >
> >
> > Andrew
> >
> I have no idea if this is relevant or not, but ISO-8859-1 usually means
> the old windows-1252 character set, which probably doesn't support Maori
> specific characters. Does UTF-8 encoding work any better??
>
> Cheers,
>
>
> Steve
>
> --
> Steve Holdoway BSc(Hons) MIITP
> http://www.greengecko.co.nz
> Linkedin: http://www.linkedin.com/in/steveholdoway
> Skype: sholdowa
>
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/mythtvnz/attachments/20131218/06d84878/attachment.html>
More information about the mythtvnz
mailing list