[mythtvnz] mhegepgsnoop problem

Stephen Worthington stephen_agent at jsw.gen.nz
Thu Feb 4 15:57:14 GMT 2016


On Fri, 5 Feb 2016 00:40:46 +1300, you wrote:

>Greetings all
>
>I've seen this problem before but never solved it and now I only have a
>couple of days of scheduling left :(
>
>
>Traceback (most recent call last):
>  File "/usr/local/bin/mhegepgsnoop-0.6.1.py", line 1611, in <module>
>    main()
>  File "/usr/local/bin/mhegepgsnoop-0.6.1.py", line 772, in main
>    download2(the_pid, datablocks, module_numbers, dmxfd, demux_filter)
>  File "/usr/local/bin/mhegepgsnoop-0.6.1.py", line 1147, in download2
>    buffer.extend(dmxfd.read(3))
>IOError: [Errno 75] Value too large for defined data type
>
>
>No idea what is means (not a python person!!) but presumably data related
>somehow.
>
>Anyone with a fix?

I just downloaded and tried mhegepgsnoop-0.6.1.py and immediately got
an error when I ran a test command (./mhegepgsnoop-0.6.1.py -v -d
/dev/dvb/adapter2/demux0 -T 1001 -p):

Traceback (most recent call last):
  File "./mhegepgsnoop-0.6.1.py", line 1611, in <module>
    main()
  File "./mhegepgsnoop-0.6.1.py", line 734, in main
    verbose('\nTuning ' + frontend + ' to channel ' + + (('ID ' +
str(options.tune_chanid)) if options.tune_chanid else
str(options.tune_ch)) + '\n')
TypeError: bad operand type for unary +: 'str'

That seems to be a typo in line 734 - there are two adjacent +
operators.  Deleting one of them fixes this.

After that fix, it worked for me in the script I normally use to run
it, using these options:

mhegepgsnoop.py -v -zp -d /dev/dvb/adapter2/demux0 -o /tmp/xmltv.xml

I run dvbtune externally in the script that runs mhegepgsnoop as I
have never been able to get it to work with its own internal tuning
code on my tuners.  I probably could now if I used the -e option to
add all the extra options I need for dvbsnoop.

What options are you using on the command line?



More information about the mythtvnz mailing list