Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4194 closed defect (fixed)

mythfilldatabase fails to insert SD listings for dates in December

Reported by: Claude Boucher <claude@…> Owned by: danielk
Priority: major Milestone: 0.21
Component: mythfilldatabase Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

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@…_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@zeus mythtv_ddp_ZtM5CN]# ls -l total 4836 -rw-r--r-- 1 root root 1287265 nov 20 07:02 mythtv_dd_cache_1_claude@…_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@…_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@…_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@…_ven nov 30 05:00:00 2007_sam déc 1 05:00:00 2007 ---End of listing---

Attachments (3)

partial_mythbackend.log (23.2 KB) - added by Claude Boucher <claude@…> 12 years ago.
Excerpt from /var/log/mythtv/mythbackend.log
4194-fixes-v1.patch (649 bytes) - added by danielk 12 years ago.
Fix for 0.20-fixes
4194-head-v1.patch (649 bytes) - added by danielk 12 years ago.
Fix for SVN head

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by Claude Boucher <claude@…>

Attachment: partial_mythbackend.log added

Excerpt from /var/log/mythtv/mythbackend.log

comment:1 Changed 12 years ago by Claude Boucher <claude@…>

One more comment: In French, three of the 12 months of the year have accents in the short date: February (février/fév), August (Août/aoû) and December (décembre/déc).

I've been running MythTV for the last 2.5 years and it's the first time it happens. Could it be related to the changes made to mythfilldatabase made when we switched from DD to SD, back in September?

comment:2 Changed 12 years ago by danielk

Milestone: unknown0.21
Owner: changed from stuartm to danielk
Priority: minormajor
Version: unknownhead

Changed 12 years ago by danielk

Attachment: 4194-fixes-v1.patch added

Fix for 0.20-fixes

Changed 12 years ago by danielk

Attachment: 4194-head-v1.patch added

Fix for SVN head

comment:3 Changed 12 years ago by danielk

(In [14917]) Refs #4194. Fixes a date formatting problem in head that prevents the Quebecois from using multiple lineups with data direct. This just uses the same formatting as we use for video files for the dates of the DataDirect? cache files.

comment:4 Changed 12 years ago by danielk

Resolution: fixed
Status: newclosed

(In [14918]) Fixes #4194. Fixes a date formatting problem in 0.20-fixes that prevents the Quebecois from using multiple lineups with data direct. This just uses the same formatting as we use for video files for the dates of the DataDirect? cache files.

comment:5 Changed 12 years ago by Claude Boucher <claude@…>

Merci :) I recompiled from trunk and it works.

Note: See TracTickets for help on using tickets.