Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Unhandled Exception setting up TV Listings.

  1. #1
    Join Date
    Jul 2015
    Location
    United States
    Posts
    2

    Unhandled Exception setting up TV Listings.

    I followed the instructions for installing the TV listings in the proper directory, however, when I go into settings and try to add a guide I get an "Unhandled Exception" error.

    I'm not sure how to get past this error. Anyone have any ideas?
    Attached Files Attached Files

  2. #2
    Join Date
    Dec 2005
    Location
    UK
    Posts
    3,156
    Quote Originally Posted by boogmeister1 View Post
    ... when I go into settings and try to add a guide I get an "Unhandled Exception" error.
    The npvr.log has ...

    2018-06-07 11:58:22.934 [DEBUG][1] TV Listings: Exception details: System.TypeInitializationException: The type initializer for 'TVListings.Backend' threw an exception. ---> System.IO.FileNotFoundException: TV Listings database not found
    The TV Listings zip that was downloaded should have copied a file called "TV Listings.db3" into \Users\Public\NPVR\Plugins\TV Listings alongside the TV Listings DLL file.
    i5 750 2.67 GHz, 6 Gig, 1000 Gig, Nvidia N710
    2 x Hauppauge WinTV QuadHD DVB-T2

  3. #3
    Join Date
    Jul 2015
    Location
    United States
    Posts
    2
    That did it!

    Thanks a ton!

  4. #4
    Join Date
    Nov 2016
    Location
    Peorai Az
    Posts
    36
    Hi I am having the same problem when I click on the TVListings in the Menu. I do have both TV Listing.db3 and TVlisting.dll in the C:\Users\Public\NPVR\Plugins\TVListings folder.
    What could be wrong? I am running version 3.9.2 (161119). The dates of the TV Listing.db3 is 2/25/2012 and the TV Listing.dll is 11/20/2016

  5. #5
    Join Date
    Nov 2016
    Location
    Peorai Az
    Posts
    36
    Here is the complete Unhandled text:
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.TypeInitializationException: The type initializer for 'TVListings.Configuration.Config' threw an exception. ---> System.TypeInitializationException: The type initializer for 'TVListings.Backend' threw an exception. ---> System.IO.FileNotFoundException: TV Listings database not found
    at TVListings.Backend.Init(XmlDocument config)
    at TVListings.Backend..ctor()
    at TVListings.Backend..cctor()
    --- End of inner exception stack trace ---
    at TVListings.Backend.get_PluginHelper()
    at TVListings.Tools.ReturnToMainMenu()
    --- End of inner exception stack trace ---
    at TVListings.TVListings.Activate()
    at NextPVR.ControllerForm.ActivateScreen(IScreenPlugi n screenPlugin)
    at NextPVR.Menu.SlideOutMenu.HandleMenuItem(String menuItem)
    at NextPVR.Menu.SlideOutMenu.OnClick(PointF location)
    at NextPVR.ControllerForm.ControllerForm_MouseClick(O bject sender, MouseEventArgs e)
    at System.Windows.Forms.Control.OnMouseClick(MouseEve ntArgs 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(Mes sage& m)
    at System.Windows.Forms.Form.WndProc(Message& m)
    at NextPVR.ControllerForm.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3131.0 built by: NET472REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    ----------------------------------------
    NextPVR
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NextPVR.exe
    ----------------------------------------
    NUtility
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.DLL
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3120.0 built by: NET472REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
    ----------------------------------------
    System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3110.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    NShared
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NShared.DLL
    ----------------------------------------
    System.Data.SQLite
    Assembly Version: 1.0.85.0
    Win32 Version: 1.0.85.0
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/System.Data.SQLite.DLL
    ----------------------------------------
    System.Data.Entity
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Data.Entity/v4.0_4.0.0.0__b77a5c561934e089/System.Data.Entity.dll
    ----------------------------------------
    System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
    ----------------------------------------
    System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.EnterpriseServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
    ----------------------------------------
    Unmanaged
    Assembly Version: 1.0.6158.18570
    Win32 Version:
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/Unmanaged.DLL
    ----------------------------------------
    System.Runtime.Remoting
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    ----------------------------------------
    SearchLite
    Assembly Version: 3.0.6323.17055
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.dll
    ----------------------------------------
    System.Web.Services
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
    ----------------------------------------
    SearchLite.XmlSerializers
    Assembly Version: 3.0.6323.17055
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.dll
    ----------------------------------------
    TV Listings
    Assembly Version: 3.7.2.23171
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/NUtility.dll
    ----------------------------------------
    SlimDX
    Assembly Version: 4.0.13.43
    Win32 Version:
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/SlimDX.DLL
    ----------------------------------------
    taglib-sharp
    Assembly Version: 2.0.4.0
    Win32 Version: 2.0.4.0
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/taglib-sharp.DLL
    ----------------------------------------
    System.Management
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
    ----------------------------------------
    ManagedUPnP
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/NPVR/ManagedUPnP.DLL
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

  6. #6
    Join Date
    Nov 2016
    Location
    Peorai Az
    Posts
    36
    I just tried it on my other nextPVR installation which is version 4.2.2.2 with the same results. I even tried putting the TV Listing.db3 and Dll file directly under NPVR, and then NPVR Plugins, and under
    NVPR/plugins/TV Listing/ all the the same exception error that it cannot file the DB3 file. I don't understand.

  7. #7
    Join Date
    Dec 2005
    Location
    UK
    Posts
    3,156
    Quote Originally Posted by tomhilton1 View Post
    I just tried it on my other nextPVR installation which is version 4.2.2.2 with the same results. I even tried putting the TV Listing.db3 and Dll file directly under NPVR, and then NPVR Plugins, and under
    NVPR/plugins/TV Listing/ all the the same exception error that it cannot file the DB3 file. I don't understand.
    Quote Originally Posted by Graham View Post
    The npvr.log has ...

    2018-06-07 11:58:22.934 [DEBUG][1] TV Listings: Exception details: System.TypeInitializationException: The type initializer for 'TVListings.Backend' threw an exception. ---> System.IO.FileNotFoundException: TV Listings database not found

    The TV Listings zip that was downloaded should have copied a file called "TV Listings.db3" into \Users\Public\NPVR\Plugins\TV Listings alongside the TV Listings DLL file.
    What files are in the \Users\Public\NPVR\Plugins\TV Listings folder?
    i5 750 2.67 GHz, 6 Gig, 1000 Gig, Nvidia N710
    2 x Hauppauge WinTV QuadHD DVB-T2

  8. #8
    Join Date
    Nov 2016
    Location
    Peorai Az
    Posts
    36
    Tvlisting.db3 and tvlisting.dll

  9. #9
    Join Date
    Nov 2016
    Location
    Peorai Az
    Posts
    36
    TV Listings.db3 and TVListing.dll
    Sorry I missed the space in both in the previous reply

  10. #10
    Join Date
    Nov 2016
    Location
    Peorai Az
    Posts
    36
    Also why does the zip file create a another plugins/TV Listing folder. Makes it where you have to play move files and folders to get the files in the proper location.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •