[mythtv-commits] Ticket #5817: Mytharchive 0.22 problem

MythTV mythtv at cvs.mythtv.org
Sun Oct 12 21:45:10 UTC 2008


#5817: Mytharchive 0.22 problem
---------------------------------------+------------------------------------
 Reporter:  martin at schmidt/thomsen.dk  |        Owner:  paulh  
     Type:  task                       |       Status:  new    
 Priority:  minor                      |    Milestone:  unknown
Component:  mytharchive                |      Version:  head   
 Severity:  medium                     |   Resolution:         
  Mlocked:  0                          |  
---------------------------------------+------------------------------------
Description changed by paulh:

Old description:

> I got this error and cant find any solution at all.
> I now that it is something to do with the charset, i do not give this
> error if I do not use the TV guide, and instead try to burn a manual
> recordings, whith no special character.
>
> 2008-10-12 18:29:36 mythburn.py (0.1.20080726-1) starting up...
> 2008-10-12 18:29:36 Found 1 CPUs
> 2008-10-12 18:29:36 Obtaining MythTV settings from MySQL database for
> hostname schmidt-thomsen.dk
> 2008-10-12 18:29:36 temppath: /Data1/video/work
> 2008-10-12 18:29:36 logpath:  /Data1/video/logs
> 2008-10-12 18:29:36 Setting process priority to 10
> 2008-10-12 18:29:36 Processing Mythburn job number 1.
> 2008-10-12 18:29:36 Options - mediatype = 2, doburn = 1, createiso = 0,
> erasedvdrw = 1
> 2008-10-12 18:29:36           savefilename = ''
> 2008-10-12 18:29:36 Looking for:
> /usr/share/mythtv/mytharchive/themes/Simple_-_Autoplay/theme.xml
> 2008-10-12 18:29:36 Loading font 0, /usr/share/mythtv/FreeSans.ttf size
> 23
> 2008-10-12 18:29:36 Loading font 1, /usr/share/mythtv/FreeSans.ttf size
> 18
> 2008-10-12 18:29:36 Loading font 2, /usr/share/mythtv/FreeSans.ttf size
> 16
> 2008-10-12 18:29:36 wantIntro: 0, wantMainMenu: 0, wantChapterMenu:0,
> wantDetailsPage: 0
> 2008-10-12 18:29:36 Final DVD Video format will be pal
> 2008-10-12 18:29:36 There are 1 files to process
> 2008-10-12 18:29:36 Pre-processing recording 1:
> '/Data1/mythtv/standard/1724_20080929225000.nuv'
> 2008-10-12 18:29:37           Er jeg stadig gak gak mor?
> 2008-10-12 18:29:37
> ------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5429, in
> main
>     processJob(job)
>   File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5131, in
> processJob
>     preProcessFile(node,folder,filecount)
>   File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 1794, in
> preProcessFile
>     getFileInformation(file, folder)
>   File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 1525, in
> getFileInformation
>     node.appendChild(infoDOM.createTextNode(unicode(record[5], "UTF-8")))
>   File "/usr/lib/python2.5/encodings/utf_8.py", line 16, in decode
>     return codecs.utf_8_decode(input, errors, True)
> UnicodeDecodeError: 'utf8' codec can't decode bytes in position 8-10:
> invalid data
> 2008-10-12 18:29:37
> ------------------------------------------------------------
> Please help me I have deal with this problem i a hole week now.

New description:

 I got this error and cant find any solution at all.
 I now that it is something to do with the charset, i do not give this
 error if I do not use the TV guide, and instead try to burn a manual
 recordings, whith no special character.
 {{{
 2008-10-12 18:29:36 mythburn.py (0.1.20080726-1) starting up...
 2008-10-12 18:29:36 Found 1 CPUs
 2008-10-12 18:29:36 Obtaining MythTV settings from MySQL database for
 hostname schmidt-thomsen.dk
 2008-10-12 18:29:36 temppath: /Data1/video/work
 2008-10-12 18:29:36 logpath:  /Data1/video/logs
 2008-10-12 18:29:36 Setting process priority to 10
 2008-10-12 18:29:36 Processing Mythburn job number 1.
 2008-10-12 18:29:36 Options - mediatype = 2, doburn = 1, createiso = 0,
 erasedvdrw = 1
 2008-10-12 18:29:36           savefilename = ''
 2008-10-12 18:29:36 Looking for:
 /usr/share/mythtv/mytharchive/themes/Simple_-_Autoplay/theme.xml
 2008-10-12 18:29:36 Loading font 0, /usr/share/mythtv/FreeSans.ttf size 23
 2008-10-12 18:29:36 Loading font 1, /usr/share/mythtv/FreeSans.ttf size 18
 2008-10-12 18:29:36 Loading font 2, /usr/share/mythtv/FreeSans.ttf size 16
 2008-10-12 18:29:36 wantIntro: 0, wantMainMenu: 0, wantChapterMenu:0,
 wantDetailsPage: 0
 2008-10-12 18:29:36 Final DVD Video format will be pal
 2008-10-12 18:29:36 There are 1 files to process
 2008-10-12 18:29:36 Pre-processing recording 1:
 '/Data1/mythtv/standard/1724_20080929225000.nuv'
 2008-10-12 18:29:37           Er jeg stadig gak gak mor?
 2008-10-12 18:29:37
 ------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5429, in
 main
     processJob(job)
   File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5131, in
 processJob
     preProcessFile(node,folder,filecount)
   File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 1794, in
 preProcessFile
     getFileInformation(file, folder)
   File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 1525, in
 getFileInformation
     node.appendChild(infoDOM.createTextNode(unicode(record[5], "UTF-8")))
   File "/usr/lib/python2.5/encodings/utf_8.py", line 16, in decode
     return codecs.utf_8_decode(input, errors, True)
 UnicodeDecodeError: 'utf8' codec can't decode bytes in position 8-10:
 invalid data
 2008-10-12 18:29:37
 ------------------------------------------------------------
 }}}
 Please help me I have deal with this problem i a hole week now.

--

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5817#comment:1>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list