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 … 39 40 41 42 43 … 47 Next »
Enhanced Web Admin (EWA) Build 55 Released

 
  • 0 Vote(s) - 0 Average
Enhanced Web Admin (EWA) Build 55 Released
David
Offline

Senior Member

Posts: 435
Threads: 18
Joined: Oct 2005
#11
2007-02-03, 06:23 PM
UncleJohnsBand Wrote:Use the new database in the zaptools archive. Also...there is a bug tht imapcts me where I can no longer use the already downloaded zapt data from gbpvr....so if you have that option set try going back to using your user id and password and doing the zap download rather than using what gbpvr creates.

sub is looking into tht issue.


Yes, I found that GB-PVR seems to be over writting the previously saved zap2it.xml instead of replacing the file. So, if the new data is fewer bytes than the previous data, the tail end of the previous data remains in the file, and the xml parsing becomes confused due to the extra garbage at the end.

Deleting the xml file after zapimport forces GB-PVR to create a new file each day, which appear to be fine.
David

PVR PC: Win2K3, Athlon x2 64 4600+, 1280MB Ram, 40+400 GB HD's, Gigabyte Network
PVR-250, ATSC-110 digital x2, GBPVR v1.3.7 w/SQLite DB
Extras: Addepisode 41, Comskip 79.46, EWA 76, Zaptools

DSM-520 (D-Link Media Lounge) FW 1.04 using TVersity Media Server 0.9.11.4
DSM-320 (D-Link Media Lounge) FW 1.09
MediaMVP

More specs
forzaKGB
Offline

Member

Posts: 235
Threads: 31
Joined: Mar 2006
#12
2007-02-03, 06:28 PM
Iget the following error when opening the Statistics tab:

Code:
[NullReferenceException: Object reference not set to an instance of an object.]
   gbweb.Migrated_Info.GetDiskInformation(String nodeName, Label lblStatus, HtmlImage imgUsedSystem, HtmlImage imgUsedGBPVR, HtmlImage imgFree) in f:\Program Files\devnz\gbpvr\web\Info.aspx.cs:130
   gbweb.Migrated_Info.Page_Load(Object sender, EventArgs e) in f:\Program Files\devnz\gbpvr\web\Info.aspx.cs:49
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

/forzaKGB
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#13
2007-02-04, 02:50 AM
forzaKGB Wrote:Iget the following error when opening the Statistics tab:

Code:
[NullReferenceException: Object reference not set to an instance of an object.]
   gbweb.Migrated_Info.GetDiskInformation(String nodeName, Label lblStatus, HtmlImage imgUsedSystem, HtmlImage imgUsedGBPVR, HtmlImage imgFree) in f:\Program Files\devnz\gbpvr\web\Info.aspx.cs:130
   gbweb.Migrated_Info.Page_Load(Object sender, EventArgs e) in f:\Program Files\devnz\gbpvr\web\Info.aspx.cs:49
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
/forzaKGB

First guess would be you a funky character on your share name.....I have attached a patch file that catches the error you reported....it will show the error message that it encounters on your statistics page.
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
forzaKGB
Offline

Member

Posts: 235
Threads: 31
Joined: Mar 2006
#14
2007-02-05, 07:16 PM
Hi, when I replaced the info.aspx.cs file I do not get the error page anymore. Just the ordinary:
Recordings Directory: Could not load share info for \\server2\Video

And the reason for this error I know, when I installed a new 320 GB disk I mounted the volume as a mountpount (f:\shares\video) rather than as a drive letter (as you would normally do in a windows environment. With this approach I did not have to change any entries in my DB even though I moved all recordings to my new disk to free up space on the old disk).

Thanks for the solution.

/Jorgen a.k.a. forzaKGB
forzaKGB
Offline

Member

Posts: 235
Threads: 31
Joined: Mar 2006
#15
2007-02-05, 10:06 PM
Just a thought. How do you get the drive info?
Is it through WMI or like this:

Code:
using System.Runtime.InteropServices;

[DllImport("kernel32.dll")]
public static extern bool GetDiskFreeSpaceEx(
        string lpDirectoryName,
        out UInt64 lpFreeBytesAvailable,
        out UInt64 lpTotalNumberOfBytes,
        out UInt64 lpTotalNumberOfFreeBytes);

ulong freeBytesAvailable = 0;
ulong totalNumberOfBytes = 0;
ulong totalNumberOfFreeBytes = 0;

GetDiskFreeSpaceEx(
   "c:\\",
   out freeBytesAvailable,
   out totalNumberOfBytes,
   out totalNumberOfFreeBytes);

I have no possibility to test these out but I would think Microsoft has some way of getting the correct size even from mounted filesystems that does not originate as a drive letter. I will continue searching to see if I can find more on the subject.

/forzaKGB
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#16
2007-02-06, 02:59 AM
forzaKGB Wrote:Just a thought. How do you get the drive info?
Is it through WMI or like this:

Code:
using System.Runtime.InteropServices;

[DllImport("kernel32.dll")]
public static extern bool GetDiskFreeSpaceEx(
        string lpDirectoryName,
        out UInt64 lpFreeBytesAvailable,
        out UInt64 lpTotalNumberOfBytes,
        out UInt64 lpTotalNumberOfFreeBytes);

ulong freeBytesAvailable = 0;
ulong totalNumberOfBytes = 0;
ulong totalNumberOfFreeBytes = 0;

GetDiskFreeSpaceEx(
   "c:\\",
   out freeBytesAvailable,
   out totalNumberOfBytes,
   out totalNumberOfFreeBytes);
I have no possibility to test these out but I would think Microsoft has some way of getting the correct size even from mounted filesystems that does not originate as a drive letter. I will continue searching to see if I can find more on the subject.

/forzaKGB

The code in EWA actually takes the path that is in the config file for gbpvr and attempts to mount it as a temporary drive.....it can fail on the mount or it can fail on finding the path....in this case it appears to be the path.

You are correct.....I didn't include the specific error message....I could do that.....I just copied in the catch code from the mount and added it to the path check after the mount.....let me know if you want me to add in the error message.
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
forzaKGB
Offline

Member

Posts: 235
Threads: 31
Joined: Mar 2006
#17
2007-02-06, 10:36 AM
Yes, I would very much like to see the Error Message aswell. Perhaps everyone else is not as interested.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#18
2007-02-07, 12:12 AM
forzaKGB Wrote:Yes, I would very much like to see the Error Message aswell. Perhaps everyone else is not as interested.

It is actually there....it is just in the web log.....after getting the error click on the log file link and go to the bottom....you should see the error message that was returned. Let me know what it is......
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
forzaKGB
Offline

Member

Posts: 235
Threads: 31
Joined: Mar 2006
#19
2007-02-07, 08:33 PM
I cannot download this file, could htat be due to the fact I am using IIS?

The error I get when trying to view the log file:

Code:
Could not find a part of the path 'c:\LM\W3SVC\1\Root\gbpvr-1-128153529219490297.log'.
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.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\LM\W3SVC\1\Root\gbpvr-1-128153529219490297.log'.

Source Error:


Line 228:            Response.Buffer = false;
Line 229:
Line 230:            Stream infile = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
Line 231:
Line 232:            long startbyte = 0;


Source File: f:\Program Files\devnz\gbpvr\web\App_Code\Download.aspx.cs    Line: 230

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'c:\LM\W3SVC\1\Root\gbpvr-1-128153529219490297.log'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +2014288
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +998
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +114
   gbweb.Download.ProcessDownload(HttpRequest Request, HttpResponse Response, Boolean direct, Int32 rid, String path) in f:\Program Files\devnz\gbpvr\web\App_Code\Download.aspx.cs:230
   gbweb.Download.ProcessRequest(HttpContext context) in f:\Program Files\devnz\gbpvr\web\App_Code\Download.aspx.cs:63
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#20
2007-02-08, 02:16 AM
forzaKGB Wrote:I cannot download this file, could htat be due to the fact I am using IIS?

The error I get when trying to view the log file:

Code:
Could not find a part of the path 'c:\LM\W3SVC\1\Root\gbpvr-1-128153529219490297.log'.
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.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\LM\W3SVC\1\Root\gbpvr-1-128153529219490297.log'.

Source Error:


Line 228:            Response.Buffer = false;
Line 229:
Line 230:            Stream infile = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
Line 231:
Line 232:            long startbyte = 0;


Source File: f:\Program Files\devnz\gbpvr\web\App_Code\Download.aspx.cs    Line: 230

Stack Trace:


[DirectoryNotFoundException: Could not find a part of the path 'c:\LM\W3SVC\1\Root\gbpvr-1-128153529219490297.log'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +2014288
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +998
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +114
   gbweb.Download.ProcessDownload(HttpRequest Request, HttpResponse Response, Boolean direct, Int32 rid, String path) in f:\Program Files\devnz\gbpvr\web\App_Code\Download.aspx.cs:230
   gbweb.Download.ProcessRequest(HttpContext context) in f:\Program Files\devnz\gbpvr\web\App_Code\Download.aspx.cs:63
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

Could be.......look in the following directory.....look through all the subdirectories looking for the one that contains the gpvrpublic.dll....there will then be a sub directory called logs and you can find the log file there....

Code:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\gbpvr\4d107d39\801bf7b5\assembly\dl3
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)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Error with Web Admin? jksmurf 0 2,423 2019-06-20, 10:34 AM
Last Post: jksmurf
  NEWA Web Admin working OK, but have question about modern GUI playback controls tinstaafl 0 2,358 2017-03-19, 10:11 PM
Last Post: tinstaafl
  Multiple Users for Web Admin rowle1jt 5 3,996 2017-01-10, 01:00 AM
Last Post: UncleJohnsBand
  NEWA Release Build 2.17 Released 2015-08-29 UncleJohnsBand 0 8,372 2015-08-30, 08:05 PM
Last Post: UncleJohnsBand
  NEWA Release Build 2.16 Released 2015-04-25 UncleJohnsBand 0 1,902 2015-04-25, 03:18 PM
Last Post: UncleJohnsBand
  NEWA Release Build 2.15 Released 2014-10-25 UncleJohnsBand 0 2,236 2014-10-26, 09:38 PM
Last Post: UncleJohnsBand
  NEWA Release Build 2.13 Released 2014-07-21 UncleJohnsBand 0 2,143 2014-07-21, 09:13 PM
Last Post: UncleJohnsBand
  NEWA Release Build 2.11 Released 2014-01-12 UncleJohnsBand 0 2,080 2014-01-13, 03:41 AM
Last Post: UncleJohnsBand
  NEWA Release Build 2.10 Released 2013-12-30 UncleJohnsBand 0 2,266 2013-12-31, 02:49 AM
Last Post: UncleJohnsBand
  NEWA Release Build 1.34 Released 2013-03-25 UncleJohnsBand 0 7,701 2013-03-29, 03:03 AM
Last Post: UncleJohnsBand

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

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

Linear Mode
Threaded Mode