[mythtv-users] Orphan recordings cleaned up?

Michael T. Dean mtdean at thirdcontact.com
Tue Dec 28 02:59:59 UTC 2010


  On 12/25/2010 01:43 PM, Stefan G. Weichinger wrote:
> Sorry, not for me:
>
> # ./find_orphans.py
> Recordings with missing files
>    mythtv:
>       1048_20090828115911.mpg
>    mythtv:
>      10019_20090829174314.mpg
> Traceback (most recent call last):
>    File "./find_orphans.py", line 225, in<module>
>      main()
>    File "./find_orphans.py", line 164, in main
>      printrecs("Recordings with missing files", recs)
>    File "./find_orphans.py", line 43, in printrecs
>      rec.pprint()
>    File "./find_orphans.py", line 38, in pprint
>      print u'  {0:<70}{1:>28}'.format(name,self.basename)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xdf' in
> position 41: ordinal not in range(128)

Just guessing--I know nothing of Python or localization issues, but how 
about something like:

$ export LC_ALL='de_AT.UTF-8'
$ ./find_orphans.py

(also, FWIW, there's no reason to run the script as root--any user 
configured to run MythTV applications should be fine).

Mike


More information about the mythtv-users mailing list