Mailing List Archive

Using tv_grab_nz-py to configure
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@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@Lothlorien:~$

can anyone point me in the right direction please

 
Alex Marshall
Mob: 027 444 0759
Re: Using tv_grab_nz-py to configure [ In reply to ]
On 30 December 2013 16:16, Alex Marshall <alexmnz@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@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@Lothlorien:~$
>
> can anyone point me in the right direction please
>
> Alex Marshall
> Mob: 027 444 0759
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@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

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
Re: Using tv_grab_nz-py to configure [ In reply to ]
On Mon, Dec 30, 2013 at 4:16 PM, Alex Marshall <alexmnz@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@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@Lothlorien:~$
>
> can anyone point me in the right direction please

this issue was dealt with in the last month. Please read the archives.

_______________________________________________
mythtvnz mailing list
mythtvnz@lists.linuxnut.co.nz
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/