You are here

Time parsing error

7 posts / 0 new
Last post
SnowLeopard
Offline
Joined: 9 months
Last seen: 9 months
Time parsing error

Hi,
I'm doing initial configuration based on canada.R3B1B9.ini (from https://github.com/SilentButeo2/webgrabplus-siteinipack/tree/master/site...) which finally got me past creating the channel list.
However, when trying to generate a guide, each channel gets the same time parsing error:


[ Info ] ( 1/9 ) CANADA.COM.H2X -- chan. (xmltv_id=CBFT) -- mode Force
[Warning ]
String 'Monday, Mar 25 12:00 am' was not recognized as a valid DateTime.
[Warning ] timepattern dddd, MMM d h:mm tt doesnot fit to
[Warning ] time scrubbed Monday, Mar 25 12:00 am
[Error ] Unable to update channel CBFT
[Critical] Generic syntax exception:
[Critical] message:
[Error ] Current culture: en-CA
[Error ] time parsing error : String 'Monday, Mar 25 12:00 am' was not recognized as a valid DateTime.
[Error ] startdatetime from detail time scrubbed : Monday, Mar 25 12:00 am
[Error ] computer date/time format: 25/03/2024 14:03:15
[ Info ] No guide data to restore
[ Debug ]

This happens whether I use the R3B1B9 as-is, or change the lineup_id and session for my channel selections.

Thanks in advance for any help!

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 2 hours

edit the ini and on the site {xxx} line change..
cultureinfo=en-CA
to
cultureinfo=en

SnowLeopard
Offline
Joined: 9 months
Last seen: 9 months

That worked, thank-you!

SnowLeopard
Offline
Joined: 9 months
Last seen: 9 months

New problem: After updating the timespan value in the xml config file, it fetches the same day (today) over and over instead of getting 7 days of schedule.
The log file has only Info messages -- no indication of anything going wrong.

Example, the generated guide.xml has 8 times this entry (some < > removed ):

programme start="20240325190000 +0000" stop="20240325200000 +0000" channel="CJNT"
title lang="en">The Jennifer Hudson ShowAlison Brie ("Apples Never Fall"); a viral 4-year-old and her mother; a professional closet organizer and de-clutter expert. Guest(s): Alison Brie.(n)

Blackbear199
Offline
Blackbear199's picture
WG++ Team memberDonator
Joined: 9 years
Last seen: 2 hours

upload your wg log file.
dont paste it.

Edit:
canada.com gets their data from tvpassport.com
check the international folder for the tvpassport.com.ini
open the ini in editor and read the remarks at the top of the ini to create channel lists.
it much easier to use and no cookies are required.

RichieNestler
Offline
Joined: 9 months
Last seen: 9 months

I also allowed it to succeed, thank you!

SnowLeopard
Offline
Joined: 9 months
Last seen: 9 months

Using tvpassport.com instead of canada.com was like night and day -- only need to edit the main xml config file to first get the providers, then to get the channels for the chosen provider, and finally to put my channel selection. No need to edit the ini file.

I would highly recommend replacing the existing canada.com files and instead refer to the tvpassport.com in international.

Thanks for the help!

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl