NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) NextPVR Enhanced Web Admin (NEWA) v
« Previous 1 … 16 17 18 19 20 … 47 Next »
Bug: NEWA doesn't handle an EPG update setting of 'None' in NPVR

 
  • 0 Vote(s) - 0 Average
Bug: NEWA doesn't handle an EPG update setting of 'None' in NPVR
servalan
Offline

Junior Member

Posts: 48
Threads: 8
Joined: Aug 2010
#1
2010-10-29, 02:59 AM
Due to problems with duplicate entries in the EPG, I'm no longer running the inbuilt EPG update within NPVR, but am running it from an external script - In NPVR, the EPG Update time is set to 'None'.

Unfortunately now NEWA chokes with:

Code:
Server Error in '/' Application.
Input string was not in a correct format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: Input string was not in a correct format.

Source Error:

Line 301:                XmlNode EPGHour = SettingsHelper.GetInstance().GetSettingsNode("/Settings/General/EPGUpdateHour");
Line 302:                Logger.Info("Checking if it is at least one hour past the EPG update for today.... ");
Line 303:                if (DateTime.Now.Hour + 1 > Convert.ToInt32(EPGHour.InnerText))
Line 304:                {
Line 305:                    Logger.Info("It is greater than one hour since todays EPG update.... ");


Source File: c:\Documents and Settings\All Users\Application Data\NPVR\web\Login.aspx.cs    Line: 303

Stack Trace:

[FormatException: Input string was not in a correct format.]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +7471479
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +119
   System.Convert.ToInt32(String value) +63
   N_EWA.Login.CompleteLogin() in c:\Documents and Settings\All Users\Application Data\NPVR\web\Login.aspx.cs:303
   N_EWA.Login.Page_Load(Object sender, EventArgs e) in c:\Documents and Settings\All Users\Application Data\NPVR\web\Login.aspx.cs:85
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +43
   System.Web.UI.Control.OnLoad(EventArgs e) +73
   System.Web.UI.Control.LoadRecursive() +52
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2184

As a workaround, I've set NPVR to do a dummy update just before the external script kicks in, but NEWA should handle valid settings from NPVR.

External script is nothing special - it just forces the db to empty before the update:
"C:\Program Files\NPVR\NextPVR.exe" -emptyepgonly
"C:\Program Files\NPVR\NextPVR.exe" -updateepgonly

Thanks!
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#2
2010-10-29, 11:18 PM
Thanks....patch attached.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Broken X-NEWA Info Link on NextPVR.com cweseloh 4 2,659 2020-05-02, 01:02 AM
Last Post: cweseloh
  gbpvr.com still somewhere in the NEWA code? jksmurf 0 2,051 2019-02-26, 01:29 AM
Last Post: jksmurf
  NEWA scheduled recording update ability broken in 4.2.2 snagglewest 0 2,010 2018-07-11, 12:12 AM
Last Post: snagglewest
  Where does NEWA read the Show name from in the NEWA Web App? jksmurf 3 3,092 2018-07-03, 03:26 AM
Last Post: jksmurf
  Newa snaitaz 8 4,666 2018-05-17, 09:30 PM
Last Post: sub
  NEWA Auto-Search Command Line Interface (CLI) UncleJohnsBand 40 37,531 2018-05-09, 12:50 AM
Last Post: jksmurf
  NPVR-generated errors in Web Config? jksmurf 0 2,030 2018-02-12, 01:33 AM
Last Post: jksmurf
  NEWA modern "NEW" page missing urls??? snagglewest 3 3,384 2017-12-03, 12:48 AM
Last Post: snagglewest
  Difference between NPVR and NEWA recordings lists Bobins 4 5,067 2017-09-27, 10:16 PM
Last Post: Bobins
  Legacy NEWA stu2j 4 4,519 2017-07-19, 12:21 AM
Last Post: stu2j

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

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

Linear Mode
Threaded Mode