NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 1078 1079 1080 1081 1082 … 1231 Next »
Lost Capture Source in Config.

 
  • 0 Vote(s) - 0 Average
Lost Capture Source in Config.
HenkH
Offline

Member

Posts: 100
Threads: 6
Joined: Mar 2005
#1
2005-03-20, 03:03 AM
For the second time today I 'lost' my Capture Source in the Config application. The previous time I just removed and reinstalled gbpvr, but that also required a renewed channel configuration...

In the Config App I'm getting a fatal exception when I want to add a Capture Source, with the message:

[b Wrote:Quote[/b] ]************** Exception Text **************
System.ArgumentException: Item has already been added.  Key in dictionary: "BDA Recording Plugin"  Key being added: "BDA Recording Plugin"
  at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
  at System.Collections.Hashtable.Add(Object key, Object value)
  at bg.m(Object A_0, EventArgs A_1)
  at System.Windows.Forms.Form.OnLoad(EventArgs e)
  at System.Windows.Forms.Form.OnCreateControl()
  at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
  at System.Windows.Forms.Control.CreateControl()
  at System.Windows.Forms.Control.WmShowWindow(Message& m)
  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.WmShowWindow(Message& m)
  at System.Windows.Forms.Form.WndProc(Message& m)
  at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

The config.exe.log shows (among others):

[b Wrote:Quote[/b] ]
0-Mar-05 03:48:14.389 VERBOSE [12] Checking for Lnkx Files in: C:\Program Files\devnz\gbpvr\Lnkx
20-Mar-05 03:48:14.405 ERROR [12] Error initializing plugin: C:\Program Files\devnz\gbpvr\\plugins\DriverWrapper.dll
20-Mar-05 03:48:14.405 ERROR [12] Exception from HRESULT: 0x80131019.
20-Mar-05 03:48:14.421 ERROR [12]   at System.Reflection.Assembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlMark& stackMark)
  at System.AppDomain.Load(Byte[] rawAssembly)
  at ay..ctor(Boolean serviceMode)
20-Mar-05 03:48:14.436 VERBOSE [12] Found recording source plugin: BDARecordingSource   in: C:\Program Files\devnz\gbpvr\\plugins\GBPVRBackendCommon.dll
20-Mar-05 03:48:14.436 VERBOSE [12] Found recording source plugin: DirectRecordingSource   in: C:\Program Files\devnz\gbpvr\\plugins\GBPVRBackendCommon.dll
20-Mar-05 03:48:14.436 VERBOSE [12] Found recording source plugin: GO7007RecordingSource   in: C:\Program Files\devnz\gbpvr\\plugins\GBPVRBackendCommon.dll
20-Mar-05 03:48:14.468 ERROR [12] Error initializing plugin: C:\Program Files\devnz\gbpvr\\plugins\NativeUtilities.dll
20-Mar-05 03:48:14.468 ERROR [12] Exception from HRESULT: 0x80131019.
20-Mar-05 03:48:14.468 ERROR [12]   at System.Reflection.Assembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlMark& stackMark)
  at System.AppDomain.Load(Byte[] rawAssembly)
  at ay..ctor(Boolean serviceMode)

and

[b Wrote:Quote[/b] ]20-Mar-05 03:48:16.343 VERBOSE [12] SourceConfigurationContainer.LoadAll()
20-Mar-05 03:48:16.358 VERBOSE [12] creating DirectRecordingSource
20-Mar-05 03:48:16.374 VERBOSE [12] Loading DirectRecordingSource Configuration : 1
20-Mar-05 03:48:16.374 ERROR [12] Error int SourceConfigurationContainer::LoadAll(): Length cannot be less than zero.
Parameter name: length
20-Mar-05 03:48:16.374 ERROR [12] Stack:
  at System.String.Substring(Int32 startIndex, Int32 length)
  at j..ctor()
  at j.a()
  at GBPVR.Backend.Common.DirectRecordingSource.a(Int32 A_0)
  at b2.a(Boolean A_0)
20-Mar-05 03:48:16.389 VERBOSE [12] CustomTaskSettings.loadAll()

What's going on....
and which files do I have to backup the next time to reset gbpvr to a 'good' configuration?
mikey
Offline

Member

Posts: 83
Threads: 3
Joined: Dec 2006
#2
2005-03-20, 03:12 AM
Try removing the file C:\Program Files\devnz\gbpvr\plugins\GBPVRBackendCommon.dll. It sounds like this file is being loaded twice and its causing problems. I dont think its supposed to be in the plugins directory.
HenkH
Offline

Member

Posts: 100
Threads: 6
Joined: Mar 2005
#3
2005-03-20, 10:23 AM
Thanks, that did the job. [Image: smile.gif]

I'm doing some plugin development and I had the plugin directory set as the target directory for the debug build (to make it easier to debug my plugin). Visual Studio seems to think dependent DLL also have to be in that directory... I removed all unnecessary DLL's from the plugin folder and configured VS to build in its standard directory and to move the targets (the .DLL and .PDB) as a post-build step.
normanr
Offline

Posting Freak

Posts: 855
Threads: 3
Joined: Dec 2004
#4
2005-03-20, 02:42 PM
HenkH: If you look at the properties of the Reference in VS, you can change 'Copy Local' to False. This will stop VS copying the dll into the target folder. (I do this in addition to copying the output in a post-build step)
HenkH
Offline

Member

Posts: 100
Threads: 6
Joined: Mar 2005
#5
2005-03-20, 03:05 PM
Thanks, I knew it had to be something simple...
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Composite Source using Hauppauge PVR500 gives sound but no video DukeBrymin 1 3,051 2012-02-03, 02:41 AM
Last Post: slowtech
  Lost all my recordings pduncan67 2 2,018 2011-02-27, 03:12 PM
Last Post: pduncan67
  How to capture teletext subtitle to srt in "UTF-8 or Unicode"? danchoif2 0 2,480 2010-11-17, 10:55 PM
Last Post: danchoif2
  Problems after installing new capture card mikeh49 1 1,838 2010-11-02, 05:19 PM
Last Post: mikeh49
  GBPVR won't save channels in EPG After upgrading Capture Card hollow5555 15 5,895 2010-10-29, 09:13 PM
Last Post: hollow5555
  Edit channel name when using xmltv as epg source Haggis 10 5,327 2010-10-18, 01:31 PM
Last Post: Haggis
  EPG Data source for Germany? Arnes 6 4,261 2010-10-09, 03:13 PM
Last Post: markbb1
  Lost with HIP and my MCE remote kjc 15 5,179 2010-09-24, 07:13 AM
Last Post: mila06
  Lost recordings database keith_leitch 9 3,786 2010-09-22, 09:20 PM
Last Post: keith_leitch
  Lost recordings database dongna 25 7,945 2010-08-26, 10:00 AM
Last Post: martint123

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

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

Linear Mode
Threaded Mode