NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 23 24 25 26 27 … 93 Next »
Not looking in correct location for skin file

 
  • 0 Vote(s) - 0 Average
Not looking in correct location for skin file
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#1
2009-07-29, 01:18 PM
I cannot get my plugin to show up in the config tab, and I can't figure out why. Here is the output from the config.exe.log:
Code:
2009-07-29 09:19:12.462    INFO    [1]    About to check 'C:\Program Files\devnz\GBPVR\plugins\weather2' for plugins
2009-07-29 09:19:12.462    VERBOSE    [1]    About to check file: C:\Program Files\devnz\GBPVR\plugins\weather2\weather2.dll
2009-07-29 09:19:12.478    VERBOSE    [1]    Looking for missing assembly in C:\Program Files\devnz\GBPVR\plugins\weather2: WizUiHelper, Version=1.0.22.4, Culture=neutral, PublicKeyToken=null
2009-07-29 09:19:12.478    VERBOSE    [1]    Looking for missing assembly in plugin\common: WizUiHelper, Version=1.0.22.4, Culture=neutral, PublicKeyToken=null
2009-07-29 09:19:12.478    VERBOSE    [1]    Assembly found...
2009-07-29 09:19:12.478    VERBOSE    [1]    ...and loaded
2009-07-29 09:19:12.478    VERBOSE    [1]    forecastPopup constructor parameter count: 4
2009-07-29 09:19:12.478    VERBOSE    [1]    weatherTask constructor parameter count: 0
2009-07-29 09:19:12.494    WARNING    [1]    requested skin file not found: weather2\skin.xml
2009-07-29 09:19:12.494    ERROR    [1]    Error initializing menu plugin: C:\Program Files\devnz\GBPVR\plugins\weather2\weather2.dll
2009-07-29 09:19:12.494    ERROR    [1]    Exception has been thrown by the target of an invocation.
2009-07-29 09:19:12.509    ERROR    [1]       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at GBPVR.Backend.Common.xc4f12ec3a8a4c96b.xd1ccdef346e6a297(Boolean x8bae2a88590d8cc0)
2009-07-29 09:19:12.509    ERROR    [1]    Inner exception: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\devnz\GBPVR\weather2\skin.xml'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at 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)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
   at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
   at System.Threading.CompressedStack.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
   at System.Xml.XmlTextReaderImpl.OpenUrl()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(String filename)
   at GBPVRX2.SkinHelper2..ctor(String filename)
   at accuweather.AccuweatherXML..ctor()
   at weather2.weatherTask..ctor()
2009-07-29 09:19:12.509    ERROR    [1]       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at 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)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
   at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
   at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
   at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
   at System.Threading.CompressedStack.runTryCode(Object userData)
   at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
   at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
   at System.Xml.XmlTextReaderImpl.OpenUrl()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.Load(String filename)
   at GBPVRX2.SkinHelper2..ctor(String filename)
   at accuweather.AccuweatherXML..ctor()
   at weather2.weatherTask..ctor()

Any ideas to what the problem is? I've been stumped on this for a little too long now.
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#2
2009-07-29, 04:02 PM
It just seems to be when I load up the configuration.

If I manually add the task to the config.xml file, the plugin loads and runs normally. I just can't get the configuration to recognize it.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#3
2009-07-29, 05:42 PM
I'm pretty sure the skin and plugin helper functions dont work from the config app. You should some conditional logic in your constructor to so that it doesnt die if the skinhelper cant be loaded (a try/catch around it or something similiar).
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#4
2009-07-29, 06:00 PM
I know it is not the answer, but I have seen this path truncating working before with other plugins when I debug skins.
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]

[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#5
2009-07-29, 06:26 PM
Thanks for pointing me in the right direction. The main class was creating a new instance of another class in the member area. And that constructor is what was causing the error.

Thanks for the help! It's been driving me nuts!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Skin help (correct location?) SFX Group 4 3,945 2018-01-24, 07:42 AM
Last Post: pBS
  skin question pBS 2 3,382 2016-06-18, 07:03 PM
Last Post: pBS
  How Does "Use S01E01 File naming format if possible" work puck64 7 5,484 2015-08-25, 10:21 AM
Last Post: puck64
  Skin - view further into the future, scale the guide Vitenka 5 3,373 2014-11-26, 07:28 PM
Last Post: Vitenka
  NEWA - using buffer file produced by /public/VLCService?Channel= bgowland 5 2,925 2014-01-02, 06:36 AM
Last Post: bgowland
  Is the input file for pvrx2.exe -import unique to NextPVR? spinnaker 1 1,820 2013-10-08, 02:25 AM
Last Post: sub
  Accessing music file metadata in C# bgowland 6 3,421 2013-01-26, 05:14 AM
Last Post: bgowland
  Skin element Details in NowNext Jaggy 2 1,838 2011-09-19, 11:50 PM
Last Post: Jaggy
  Skin Help with Line Drawing Northpole 2 1,980 2011-07-19, 05:14 PM
Last Post: Northpole
  Anyone interested in developing a Skin Plugin? Hairy 13 5,173 2011-07-10, 04:13 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode