[mythtvnz] Using tv_grab_nz-py to configure
Curtis Walker
sultanoswing at gmail.com
Mon Dec 30 04:01:40 GMT 2013
On 30 December 2013 16:16, Alex Marshall <alexmnz at yahoo.com> wrote:
> Hi,
>
> Getting very frustrated with setting this up and have a number of questions
> or if relevant pointer to the appropriate web-site
>
> 1. When using mythtv-setup do you have to be root
> 2. trying to use tv_grab_nz-py get the following error
>
> alex at Lothlorien:~$ tv_grab_nz-py --configure
> INFO - Downloading data from epg.org.nz...
> INFO - Done
> INFO - Parsing channel data...
> INFO - Done (36 channels)
> Please select the channels you wish to use for
> this source by pressing y or n when prompted:
> Use channel Al Jazeera (aljazeera.freeviewnz.tv)? [y/N]y
> Use channel BaseFM (basefm.freeviewnz.tv)? [y/N]y
> Use channel C4 (c4.freeviewnz.tv)? [y/N]y
> Use channel Canterbury Television (canterbury-tv.freeviewnz.tv)? [y/N]n
> Use channel Channel North Television (channel-north-tv.freeviewnz.tv)?
> [y/N]y
> Use channel ChineseTV8 (chinese-tv8.freeviewnz.tv)? [y/N]n
> Use channel ChoiceTV (choice.freeviewnz.tv)? [y/N]y
> Use channel CUE (cue.freeviewnz.tv)? [y/N]y
> Use channel Dunedin Television (dunedin-tv.freeviewnz.tv)? [y/N]n
> Use channel Firstlight (firstlight.freeviewnz.tv)? [y/N]n
> Use channel FOUR (four.freeviewnz.tv)? [y/N]y
> Use channel Info-Rotorua (info-rotorua.freeviewnz.tv)? [y/N]n
> Traceback (most recent call last):
> File "/usr/bin/tv_grab_nz-py", line 226, 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)
> alex at Lothlorien:~$
>
> can anyone point me in the right direction please
>
> Alex Marshall
> Mob: 027 444 0759
>
> _______________________________________________
> 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/
>
Does your distro use python2 or python3 ? If I recall, I had a similar
error under Arch linux, which uses python3 by default (the script is
written in python2) and had to adjust the script's first line to:
#!/usr/bin/python2
More information about the mythtvnz
mailing list