[mythtv-users] mythfilldatabase problem (accented characters)

R. G. Newbury newbury at mandamus.org
Tue Nov 20 19:52:41 UTC 2007


Axel Thimm wrote:
> Hi Claude,
> 
> Daniel fixed this in the stable branch and pinged us to rebuild
> packages, so wait for a couple of hours and update :)
> 
> On Tue, Nov 20, 2007 at 10:01:10AM -0500, Claude Boucher (mailing lists) wrote:
>> 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.


Interesting that you have a problem very like the one I recently had. 
You might try doing 'chmod -R 777 /tmp/*' to see if it will accept the 
file. The 'Unable to open' message is odd. I got a 'Permission denied' 
error but the effect was the same.

You might also try running mythfilldatabase directly from the command 
line and see if the error messages are different/more enlightening.

Geoff




-- 
       Tux says: "Be regular. Eat cron flakes."


More information about the mythtv-users mailing list