[mythtv-users] Orphan recordings cleaned up?
Nicolas Will
nico at youplala.net
Tue Dec 28 12:40:47 UTC 2010
On Tue, 2010-12-28 at 14:05 +0100, Stefan G. Weichinger wrote:
>
> Am 2010-12-28 03:59, schrieb Michael T. Dean:
> > 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).
>
> sure, yes.
>
> Unfortunately it doesn't help much:
>
>
> mythtv at mythtv ~ $ export LC_ALL='de_AT.UTF-8'
> mythtv at mythtv ~ $ ./bin/find_orphans.py
> Recordings with missing files
> mythtv:
> 1048_20090828115911.mpg
> mythtv:
> 10019_20090829174314.mpg
> Traceback (most recent call last):
> File "./bin/find_orphans.py", line 224, in <module>
> main()
> File "./bin/find_orphans.py", line 164, in main
> printrecs("Recordings with missing files", recs)
> File "./bin/find_orphans.py", line 43, in printrecs
> rec.pprint()
> File "./bin/find_orphans.py", line 35, in pprint
> name = '{0.hostname}: {0.title}'.format(self)
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xdf' in
> position 31: ordinal not in range(128)
>
>
> This is gentoo linux, maybe I am missing some library or... or ...
For me it was a bad copy/paste. Try it again!
Nico
More information about the mythtv-users
mailing list