NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 89 90 91 92 93 Next »
Error: input string was not in a correct format

 
  • 0 Vote(s) - 0 Average
Error: input string was not in a correct format
sisuomin
Offline

Junior Member

Posts: 15
Threads: 3
Joined: Jan 2004
#1
2004-05-03, 07:46 PM
Have anyone else got error: input string was not in a correct format.

If I use Finnish as my locale, I get this error when trying to use e.g. DiskSpace or Wheather plugin. With English (United States) both plugins work correctly.
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#2
2004-05-04, 02:22 AM
I just tried finnish locale with the weather plugin and it worked fine. Can you delete your GBPVR.exe.log file, run gbpvr and get it to give you the error, then email the file to support@devnz.com (I hope this is the right address [Image: smile.gif] ). Sub, if you can have a look and if you think it is my issue, send it along to me. Thanks to both of you.
-CodeMonkey
sisuomin
Offline

Junior Member

Posts: 15
Threads: 3
Joined: Jan 2004
#3
2004-05-08, 06:05 PM
I just sent the log file to support@devnz.com. I think the related rows are:
[b Wrote:Quote[/b] ]8.5.2004 20:54:13.588 VERBOSE [2] Rendering HomeMenu
8.5.2004 20:54:15.801 ERROR [2] Error: msg=0x202 (WM_LBUTTONUP) hwnd=0x1e0210 wparam=0x0 lparam=0x12300ba result=0x0   :  Input string was not in a correct format.   :     at System.Number.ParseDouble(String s, NumberStyles style, NumberFormatInfo info)
  at System.Double.Parse(String s, NumberStyles style, IFormatProvider provider)
  at System.Convert.ToDouble(String value)
  at DiskspacePlugin.DiskspaceTask.render(Boolean& requiresMoreRendering)
  at ag.f(Object A_0, EventArgs A_1)
  at System.Windows.Forms.Control.OnClick(EventArgs e)
  at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  at System.Windows.Forms.ContainerControl.WndProc(Message& m)
  at System.Windows.Forms.Form.WndProc(Message& m)
  at ag.a(Message& A_0)
8.5.2004 20:54:15.801 VERBOSE [2] Rendering HomeMenu
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,785
Threads: 769
Joined: Nov 2003
#4
2004-05-08, 06:32 PM
In the case above, Dai's plugin must be trying to parse a number from a string, an encountering a problem. The problem is most like due to the finnish locale using a comma instead of a decimal point.

Dai, can you take a look?
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#5
2004-05-08, 06:40 PM
Dai: Use this overload of Parse for the double:

double visibility = Double.Parse(weatherInformation.visibility, CultureInfo.InvariantCulture);

I don't see any problems with weather doing this though. Sisuomin can you try weather and post its log?
-CodeMonkey
sisuomin
Offline

Junior Member

Posts: 15
Threads: 3
Joined: Jan 2004
#6
2004-05-08, 08:41 PM
Latest version of weather plugin works OK. I don't get the error any more.
Dai
Offline

Member

Posts: 104
Threads: 15
Joined: Feb 2004
#7
2004-05-11, 08:56 PM
Oops, only just noticed this post,

Thanks for the tip CodeMonkey, saved me a bit of brainache [Image: smile.gif]

I'll fix it and send sub a new version.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  IPTV like stream from Sound Card input - FM Radio Project NumberFive 3 1,518 2022-11-20, 04:28 PM
Last Post: mvallevand
  API request returns xml on error scJohn 4 1,991 2020-08-25, 05:41 PM
Last Post: sub
  Skin help (correct location?) SFX Group 4 3,919 2018-01-24, 07:42 AM
Last Post: pBS
  custom creation of a recurring error p37307 2 2,371 2017-12-19, 03:45 AM
Last Post: mvallevand
  How Does "Use S01E01 File naming format if possible" work puck64 7 5,449 2015-08-25, 10:21 AM
Last Post: puck64
  EPG_EVENT.genres format bgowland 2 2,334 2014-08-10, 05:49 AM
Last Post: bgowland
  Is the input file for pvrx2.exe -import unique to NextPVR? spinnaker 1 1,809 2013-10-08, 02:25 AM
Last Post: sub
  N-PVR db3 EPG_EVENT time format question bgowland 3 2,163 2011-03-12, 05:26 AM
Last Post: bgowland
  Not looking in correct location for skin file scb147 4 2,286 2009-07-29, 06:26 PM
Last Post: scb147
  datetime format in GB-PVR zehd 14 4,697 2009-03-17, 04:12 AM
Last Post: zehd

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode