[mythtv-users] find_orphans.py (UnicodeEncodeError)

Blammo blammo.doh at gmail.com
Sun Jul 7 18:24:18 UTC 2013


Trying to clean up my recordings folder, discovered the backend hadn't been
deleting for months... :(

Running 0.25 mythbuntu, grabbed find_orphans.py script... ran it, and I get
this error:

------

recordings with missing files
< LOTS OF RECORDINGS TO FIX>

Traceback (most recent call last):
  File "/usr/local/bin/find_orphans.py", line 230, in <module>
    main(sys.argv[1])
  File "/usr/local/bin/find_orphans.py", line 170, in main
    printrecs("Recordings with missing files", recs)
  File "/usr/local/bin/find_orphans.py", line 43, in printrecs
    rec.pprint()
  File "/usr/local/bin/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'\xf1' in
position 46: ordinal not in range(128)

---------

Any ideas what library I might be missing? (Or what command-line option I
might be missing?)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130707/ff9c3559/attachment.html>


More information about the mythtv-users mailing list