[mythtv-users] list my "damaged" recordings

Michael T. Dean mtdean at thirdcontact.com
Tue Oct 27 12:06:14 UTC 2015


On 10/26/2015 11:09 PM, Evuraan wrote:
> While I  agree bindings is the safe way forward, I went my way since I
> cannot use the bindings presently:
>
>      _program=recordings.getRecordedProgram()
>    File "/usr/lib/pymodules/python2.6/MythTV/dataheap.py", line 345, in
> getRecordedProgram
>      return RecordedProgram.fromRecorded(self)
>    File "/usr/lib/pymodules/python2.6/MythTV/dataheap.py", line 546, in
> fromRecorded
>      return cls((recorded.chanid, recorded.progstart), recorded._db)
>
> ERROR: An unexpected error occurred while tokenizing input
> The following traceback may be corrupted or invalid
> The error message is: ('EOF in multi-line statement', (341, 0))
>
> Likely a  scar from my past transgressions - and I still run 0.25 -
> and I needed something quick to work given my situation.

That looks like a copy/paste error where the program you're running 
isn't properly formatted.  If it was from trying to run Bill's script, 
it's likely due to your mail client (or the mailing list archive) 
messing up the formatting.  Either that or your python bindings modules 
are corrupted.  Basically, it's getting to the end of file when it 
expects more to the program--possibly from unclosed brackets or some 
portion of the program/module is really just missing.

Mike


More information about the mythtv-users mailing list