You are here

Singapore ini error

2 posts / 0 new
Last post
DixieDean
Offline
Donator
Joined: 11 years
Last seen: 3 years
Singapore ini error

Hi
 
I'm trying to download a channel from Starhub using the latest Singapore .ini file and get the following error in my log. Something to do with 'en' being used as a language/culture?
Any help would be greatly appreciated.
 
Cheers
 
 
Rich
 
 
WebGrab+Plus/w MDB & REX Postprocess -- version 1.1.1/18 -- Jan van Straaten
-----------------------------------------------------------
Job started at 27/07/2013 21:06:56

Xmltv input file - /Volumes/webdav.mydrive.ch/XBMC/TVGuideFiles/channels.xml - found
0 superfluous shows removed
Update requested for - 1 - out of - 1 - channels and for 2 day(s)
Update mode full - for all channels

Channel Comedy Central Asia site -- STARHUB.COM.EN -- update mode full
Unable to update Channel Comedy Central Asia

System.NotSupportedException: Culture "en" is a neutral culture. It can not be used in formatting and parsing and therefore cannot be set as the thread's current culture.
  at System.Globalization.CultureInfo.CheckNeutral () [0x00000] in <filename unknown>:0
  at System.Globalization.CultureInfo.get_DateTimeFormat () [0x00000] in <filename unknown>:0
  at System.Globalization.CultureInfo.GetFormat (System.Type formatType) [0x00000] in <filename unknown>:0
  at System.Globalization.DateTimeFormatInfo.GetInstance (IFormatProvider provider) [0x00000] in <filename unknown>:0
  at System.DateTime.CoreParse (System.String s, IFormatProvider provider, DateTimeStyles styles, System.DateTime& result, System.DateTimeOffset& dto, Boolean setExceptionOnError, System.Exception& exception) [0x00000] in <filename unknown>:0
  at System.DateTime.Parse (System.String s, IFormatProvider provider, DateTimeStyles styles) [0x00000] in <filename unknown>:0
  at System.DateTime.Parse (System.String s, IFormatProvider provider) [0x00000] in <filename unknown>:0
  at WebGrab.Program.UpdateChannel (System.String strIndex, WebGrab.ChannelToUpdate Chan, WebGrab.XmlTarget xTarget) [0x00000] in <filename unknown>:0
  at WebGrab.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0

0 shows in 1 channels
0 updated shows
0 new shows added
Job finished at 27/07/2013 21:07:02 done in 6 seconds
 

DixieDean
Offline
Donator
Joined: 11 years
Last seen: 3 years

I think I've solved this. I changed the following line in the .ini file, adding -US after 'cultureinfo=en'. All seems fine now.
 
site {url=starhub.com|timezone=UTC+08:00|maxdays=7|cultureinfo=en-US|charset=UTF-8|titlematchfactor=50}

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