[mythtv-users] mythfilldatabase problem (accented characters)

Claude Boucher (mailing lists) lists at boucher-frappier.net
Tue Nov 20 15:01:10 UTC 2007


I have had a few problems with mythfilldatabase for the last 3 days. I 
run a backend on a Fedora 7 system (the latest stable ATrpms packages), 
localized in French (this might be important) and the script fails to 
update listings for dates in December.

As you can see from the log excerpt below, the script runs at the 
correct time and fetches the records from SchedulesDirect. The XML files 
are stored in a temp directory where records are parsed. But the parser 
can't find the files (hence the "Aucun fichier ou répertoire de ce type 
(2)" which translates to "No file or directory of this type") in the log.

Furthermore, I notice the accented characters used in the file name 
mentioned in the log are in ISO-8859-1 rather than in the default UTF-8, 
which could lead to some of the confusion I experience.

--- Excerpt from /var/log/mythtv/mythbackend.log ---
2007-11-20 07:03:02.206 Retrieving datadirect data.
2007-11-20 07:03:02.207 Grabbing data for mar nov 20 2007 offset 11
2007-11-20 07:03:02.208 From sam d?c 1 05:00:00 2007 to dim d?c 2 
05:00:00 2007 (UTC)
2007-11-20 07:03:02.209 Grabbing listing data
2007-11-20 07:03:02.210 DataDirect: Copying from DD cache
2007-11-20 07:03:02.211 DataDirect, Error: Failed to get data (Unable to 
open 
'/tmp/mythtv_ddp_ZtM5CN/mythtv_dd_cache_1_claude at boucher-frappier.net_sam 
d?c 1 05:00:00 2007_dim d?c 2 05:00:00 2007') --
                         eno: Aucun fichier ou répertoire de ce type (2)
2007-11-20 07:03:02.212 Encountered error in grabbing data.
2007-11-20 07:03:02.213
--- End of log file ---

--- Listing of the /tmp/mythtv_ddp_ZtM5CN/ ---
[root at zeus mythtv_ddp_ZtM5CN]# ls -l
total 4836
-rw-r--r-- 1 root root 1287265 nov 20 07:02 
mythtv_dd_cache_1_claude at boucher-frappier.net_dim déc 2 05:00:00 
2007_lun déc 3 05:00:00 2007
-rw-r--r-- 1 root root  572059 nov 20 07:02 
mythtv_dd_cache_1_claude at boucher-frappier.net_lun déc 3 05:00:00 
2007_mar déc 4 05:00:00 2007
-rw-r--r-- 1 root root 1498448 nov 20 07:02 
mythtv_dd_cache_1_claude at boucher-frappier.net_sam déc 1 05:00:00 
2007_dim déc 2 05:00:00 2007
-rw-r--r-- 1 root root 1571697 nov 20 07:02 
mythtv_dd_cache_1_claude at boucher-frappier.net_ven nov 30 05:00:00 
2007_sam déc 1 05:00:00 2007
---End of listing---

It looks like a genuine bug and I'll file a ticket in trac, but in the 
meantime, is there a workaround to manually insert my december listings 
from the temp directory while it's being fixed? I'm down to 10 days of 
programming info.

Claude


More information about the mythtv-users mailing list