MP & StreamedMP - gentle config error (Pictures / Music) (1 Viewer)

Charlie TV

MP Donator
  • Premium Supporter
  • February 22, 2014
    81
    27
    Home Country
    United Kingdom United Kingdom
    Hi guys

    I've recently installed the StreamedMP skin on to MP1.8 and found a few things which didn't work. I fixed these by updating plugins and installing later versions of MP-TVSeries etc

    However I have two problems remaining, the menu items Music and Pictures do not work. When I select them the background is shown and then after a second or so it goes back to the menu.

    I had a look in the log files and have the following errors shown in the MediaPortal-Error.log;

    [2014-07-21 11:16:06,463] [Error ] [MPMain ] [ERROR] - Tv NotifyManager: Exception at timer_tick System.TypeInitializationException: The type initializer for 'Gentle.Framework.ProviderFactory' threw an exception. ---> Gentle.Common.GentleException: FATAL ERROR: No configuration store was found!
    Gentle is unable to continue!

    The handlers emitted the following error messages:
    Unable to create GentleSectionHandler for section named "gentle" in file "C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.exe.Config".

    Unable to create FileHandler for file Gentle.config.
    This usually means that the file could not be found in any of the default search locations.

    The handlers threw the following exceptions:
    System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
    at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)
    at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    at System.Xml.XmlTextReaderImpl.Read()
    at System.Xml.XmlValidatingReaderImpl.Read()
    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
    at System.Xml.XmlDocument.Load(XmlReader reader)
    at Gentle.Common.FileHandler.LoadXml(TextReader reader)
    at Gentle.Common.FileHandler..ctor(String file)
    at Gentle.Common.Configurator.AddFileHandler(String configStoreName, String fileName)


    at Gentle.Common.Configurator.InitializeHandlers()
    at Gentle.Common.Configurator.Configure(String configStoreName, Object instance)
    at Gentle.Framework.ProviderRegistry..ctor()
    at Gentle.Framework.ProviderFactory..cctor()
    --- End of inner exception stack trace ---
    at Gentle.Framework.ProviderFactory.GetProvider(Type type)
    at Gentle.Framework.SqlBuilder..ctor(IGentleProvider provider, StatementType stmtType, Type type, LogicalOperator logicalOperator)
    at TvDatabase.Recording.ListAllActive()
    at TvPlugin.TvNotifyManager.AddActiveRecordings()
    at TvPlugin.TvNotifyManager._timer_Tick(Object sender, EventArgs e) st : at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
    at System.Environment.get_StackTrace()
    at TvPlugin.TvNotifyManager._timer_Tick(Object sender, EventArgs e)
    at System.Windows.Forms.Timer.OnTick(EventArgs e)
    at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
    at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.Run(Form mainForm)
    at MediaPortalApp.Main(String[] args)
    [2014-07-21 11:16:21,473] [Error ] [MPMain ] [ERROR] - Tv NotifyManager: Exception at timer_tick System.TypeInitializationException: The type initializer for 'Gentle.Framework.ProviderFactory' threw an exception. ---> Gentle.Common.GentleException: FATAL ERROR: No configuration store was found!
    Gentle is unable to continue!



    The MediaPortal.exe.Config file;

    <?xml version="1.0"?>
    <configuration>
    <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0.30319" />
    <supportedRuntime version="v2.0.50727" />
    </startup>
    <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <probing privatePath="plugins\ExternalPlayers;plugins\process;plugins\subtitle;plugins\windows" />
    <dependentAssembly>
    <assemblyIdentity name="Gentle.Common" publicKeyToken="80b5de62e27be49b" culture="neutral" />
    <bindingRedirect oldVersion="1.5.0.29053-1.5.0.29112" newVersion="1.5.0.29113" />
    </dependentAssembly>
    <dependentAssembly>
    <assemblyIdentity name="Gentle.FrameWork" publicKeyToken="80b5de62e27be49b" culture="neutral" />
    <bindingRedirect oldVersion="1.5.0.29053-1.5.0.29112" newVersion="1.5.0.29113" />
    </dependentAssembly>
    <dependentAssembly>
    <assemblyIdentity name="Gentle.Provider.MySQL" publicKeyToken="80b5de62e27be49b" culture="neutral" />
    <bindingRedirect oldVersion="1.5.0.29053-1.5.0.29112" newVersion="1.5.0.29113" />
    </dependentAssembly>
    <dependentAssembly>
    <assemblyIdentity name="Gentle.Provider.SQLServer" publicKeyToken="80b5de62e27be49b" culture="neutral" />
    <bindingRedirect oldVersion="1.5.0.29053-1.5.0.29112" newVersion="1.5.0.29113" />
    </dependentAssembly>
    </assemblyBinding>
    <loadFromRemoteSources enabled="true" />
    </runtime>
    <appSettings>
    <add key="version" value="1.8.0" />
    <add key="edtftp.log.level" value="ALL" />
    </appSettings>
    </configuration>


    How can I fix this error?

    Cheers
     

    Users who are viewing this thread

    Top Bottom