View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Feb 03, 2007 2:43 pm 
Offline
Joined: Sat Feb 03, 2007 11:59 am
Posts: 3
Hi,

Living in Denmark I've had some post-install problems. Danish keyboard was one of them and now I have another.

I have a full working backend running on a Gentoo Linux and decided to use KnoppMyth for a frontend. It installed painlessly and I added some automouting and stuff and it seems to work fine. However, when I try to archive some recordings to a DVD (not an archive). The recordings have Danish national characters in the description.

It starts off fine copying the recordings to /myth/tmp and shortly after that it fails with the following in the /myth/tmp/logs/mythburn.log:

Code:
mythburn.py (0.1.20061201-1) starting up...
Process priority 8
script path:/usr/share/mythtv/mytharchive/scripts
myth share path:/usr/share/mythtv
passed job file: /myth/tmp/config/mydata.xml
passed progress log file: /myth/tmp/logs/progress.log
mythburn.py (0.1.20061201-1) starting up...
Found 1 CPUs
Obtaining MythTV settings from MySQL database for hostname berserk
Processing Mythburn job number 1.
Options - mediatype = 0, doburn = 1, createiso = 0, erasedvdrw = 0
          savefilename = ''
Looking for: /usr/share/mythtv/mytharchive/themes/G.A.N.T./theme.xml
Loading font 0, /usr/share/mythtv/FreeSans.ttf size 23
Loading font 1, /usr/share/mythtv/FreeSans.ttf size 19
Loading font 2, /usr/share/mythtv/FreeSans.ttf size 17
wantIntro: 1, wantMainMenu: 1, wantChapterMenu:1, wantDetailsPage: 1
Final DVD Video format will be pal
There are 2 files to process
Copying file from /mythtv/live/1502_20070107195500.mpg
to /myth/tmp/work/localcopy/1502_20070107195500.mpg
/myth/tmp/work/localcopy/1502_20070107195500.mpg
Copying file from /mythtv/live/1502_20070114195500.mpg
to /myth/tmp/work/localcopy/1502_20070114195500.mpg
/myth/tmp/work/localcopy/1502_20070114195500.mpg
Pre-processing file '1502_20070107195500.mpg' of type 'recording'
          Forbrydelsen
------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 3600, in ?
    processJob(job)
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 3378, in proces
sJob
    preProcessFile(node,folder)
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 1091, in prePro
cessFile
    getFileInformation(file, os.path.join(folder, "info.xml"))
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 882, in getFile
Information
    node.appendChild(infoDOM.createTextNode(unicode(record[4], "UTF-8")))
  File "encodings/utf_8.py", line 16, in decode
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 24-28: unsupport
ed Unicode code range
------------------------------------------------------------


I am running out of ideas (and disk space) so any help is very much appreciated.

Thanks,
Søren


Top
 Profile  
 
PostPosted: Sun Feb 04, 2007 1:53 am 
Offline
Joined: Sat Feb 03, 2007 11:59 am
Posts: 3
I just noticed that utf-8 texts don't display properly in the program guide.

Any help is much appreciated.

Søren


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 04, 2007 4:36 am 
Offline
Joined: Sat Nov 12, 2005 3:52 pm
Posts: 65
If the descriptions are wrong in the TV guide then it sounds like your listings grabber is passing bad charactors to mythfilldatabase and that is what gets inserted into the DB.

One thing you could try is when you use MythArchive on the page where you select files to add to the DVD if you press MENU and then 'Edit Details' you can edit the description removing the bad characters.

If that still doesn't work then let me know maybe there is a problem with the way the description is handled.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 04, 2007 4:44 am 
Offline
Joined: Sat Feb 03, 2007 11:59 am
Posts: 3
I have another frontend which is compiled with utf-8 and that system shows everything just fine, also if I use the frontend on the backend server everything is fine.

If I edit the title on my KnoppMyth frontend the result is that garbage is inserted in the sql database. So basically I think that a utf-8 distribution of KnoppMyth would fix the problems. Mixing latin1 and utf8 is an eternal struggle so I have decided (oh no) to switch to a manual install of linux + myth to see if I can get better results.

If there is a quick fix for a backend with everything in utf8 and a KnoppMyth frontend, I can plug in my old harddrive and try that.

Thanks,
Soren


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 04, 2007 5:24 am 
Offline
Joined: Sat Nov 12, 2005 3:52 pm
Posts: 65
Not sure if this will help but have you tried running 'locale' on each machine to see if there are any differences between your locale settings.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu