Possible issue with MP2 alpha 4 (1 Viewer)

JimCatMP

Documentation Group
  • Team MediaPortal
  • April 1, 2010
    654
    285
    Leeds
    Home Country
    United Kingdom United Kingdom
    I'm posting this as a possible rather than a bug as given nature of problem I would expect it to be already posted and it's sufficiently fundamental to make me think it's my system and not MP2.

    Setup.

    Win7 Pro, client & server on same unit, all pre-req's met.

    Into setup, and set up shares.

    Finds shares on the network [not a big network, not lightening fast either, this takes around 70 seconds].

    List shares, and my media store is on BNAS - a Freecom DualDrive nas unit [nice and simple].

    Problem - MP2 will NOT expand the share list on that unit [pressing +]. It would happily accept the whole unit as a path, but refuses to expand the share. It will expand shares on other Windows7 units [as shown in screen shot].

    mp2-share.png



    The BNAS itself, from network view on PC.

    net-share.png



    I've tired unmapping the BNAS drives [Disk1 & Disk_2 - mapped so I can access content via Cygwin]:
    changing the Server config setting for authentication [de-selecting Use Credentials {access IS anonymous} in Network credential {this removed ALL resource providers};
    and setting user & passwords TOO anonymous.

    Log files for client & Server [don't show me anything I would consider relevant, but..........]

    I have run earlier versions of MP2 on this hardware, but as recently had to re-install Win 7 [RIP C:], AND have installed VMBox on platform [not running in virtual and virtual services are stopped], other network elements unchanged however.

    Overall, some oddness in Windows networking is my assumption that MP2 is 'unhappy' with.

    Cheers - JCMP
     

    Attachments

    • Client.zip
      17.2 KB
    • Server.zip
      13.3 KB

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    65
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    I see the server is actually named PC64 so the BNas is a separate device.

    What confuses me (and maybe Win7), there appears to be 2 IP address's assigned to PC64
    192.168.1.249
    192.168.56.1
    And different subnets...



    [2013-12-21 15:03:26,669] [2242 ] [Main ] [DEBUG] - UPnPServer: Initializing IP endpoint '127.0.0.1'
    [2013-12-21 15:03:26,719] [2292 ] [Main ] [INFO ] - UPnPServerController: SSDP enabled for IP endpoint '127.0.0.1', search port is 1900
    [2013-12-21 15:03:26,721] [2294 ] [Main ] [DEBUG] - UPnPServer: Initializing IP endpoint 'fe80::a140:79ce:c651:5dfa'
    [2013-12-21 15:03:26,723] [2296 ] [Main ] [INFO ] - UPnPServerController: SSDP enabled for IP endpoint 'fe80::a140:79ce:c651:5dfa', search port is 1900
    [2013-12-21 15:03:26,725] [2298 ] [Main ] [DEBUG] - UPnPServer: Initializing IP endpoint '192.168.1.249'
    [2013-12-21 15:03:26,726] [2299 ] [Main ] [INFO ] - UPnPServerController: SSDP enabled for IP endpoint '192.168.1.249', search port is 1900
    [2013-12-21 15:03:26,732] [2305 ] [Main ] [DEBUG] - UPnPServer: Initializing IP endpoint '192.168.56.1'
    [2013-12-21 15:03:26,733] [2306 ] [Main ] [INFO ] - UPnPServerController: SSDP enabled for IP endpoint '192.168.56.1', search port is 1900
    [2013-12-21 15:03:26,739] [2312 ] [Main ] [INFO ] - UPnP server online hosting 1 UPnP root devices

    ServerConnectionManager: Connected to home server '1179ae4d-227b-474e-baf4-3f86d9542a30' at host 'pc64'
     

    MJGraf

    Retired Team Member
  • Premium Supporter
  • January 13, 2006
    2,478
    1,385
    Multiple IPs for one computer is normal - in particular with things like VMBox. I have the same with VMWare and it's not a problem for MP2.
    JCMP, could you please try to let your MP2 Server Service run with the same credentials you use when you log onto your computer (and have access to your NAS)? If that works, there is a problem with your credentials. Thanks!
     

    jehe

    Portal Pro
    February 15, 2011
    694
    216
    57
    Home Country
    Belgium Belgium
    Hi,
    I had a similar problem:
    https://forum.team-mediaportal.com/threads/exception-when-adding-shares.123270/


    JimCatMp --> client error log:
    [2013-12-21 15:05:06,234] [101807 ] [DX Render] [DEBUG] - ScreenManager: Closing screen 'shares_config_choose_resource_provider'
    [2013-12-21 15:05:06,245] [101818 ] [AMQ 'ScreenManager'] [DEBUG] - ScreenManager: Hiding superlayer
    [2013-12-21 15:05:15,709] [111282 ] [InputMgr ] [ERROR] - Screen 'shares_config_choose_path': Unhandled exception while preprocessing key event 'shares_config_choose_path'
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Failed to compare two elements in the array. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    at MediaPortal.UiComponents.SkinBase.Models.SharesProxy.<RefreshResourceProviderPathList>b__a(ResourcePathMetadata a, ResourcePathMetadata b)
    at System.Array.FunctorComparer`1.Compare(T x, T y)
    at System.Collections.Generic.ArraySortHelper`1.DepthLimitedQuickSort(T[] keys, Int32 left, Int32 right, IComparer`1 comparer, Int32 depthLimit)
    at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
    --- End of inner exception stack trace ---
    at System.Collections.Generic.ArraySortHelper`1.Sort(T[] keys, Int32 index, Int32 length, IComparer`1 comparer)
    at System.Array.Sort[T](T[] array, Int32 index, Int32 length, IComparer`1 comparer)
    at System.Collections.Generic.List`1.Sort(Comparison`1 comparison)
    at MediaPortal.UiComponents.SkinBase.Models.SharesProxy.RefreshResourceProviderPathList(ItemsList items, ResourcePath path)
    at MediaPortal.UiComponents.SkinBase.Models.SharesProxy.RefreshOrClearSubPathItems(TreeItem pathItem, Boolean clearSubItems)
    at MediaPortal.UiComponents.SkinBase.Models.SharesProxy.ExpansionHelper.OnExpandedChanged(AbstractProperty property, Object oldvalue)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at MediaPortal.Common.General.WeakEventMulticastDelegate.Fire(Object[] parameters)
    at MediaPortal.Common.General.WProperty.Fire(Object oldValue)
    at MediaPortal.Common.General.AbstractProperty.SetValue(Object value)
    at MediaPortal.UI.SkinEngine.Xaml.DependencyPropertyDataDescriptor.set_Value(Object value)
    at MediaPortal.UI.SkinEngine.Xaml.DataDescriptorRepeater.set_Value(Object value)
    at MediaPortal.UI.SkinEngine.MarkupExtensions.BindingDependency.UpdateSource()
    at MediaPortal.UI.SkinEngine.MarkupExtensions.BindingDependency.OnTargetChanged(IDataDescriptor target)
    at MediaPortal.UI.SkinEngine.Xaml.DependencyPropertyDataDescriptor.OnPropertyChanged(AbstractProperty property, Object oldValue)
    at MediaPortal.Common.General.PropertyChangedHandler.Invoke(AbstractProperty property, Object oldValue)
    at MediaPortal.Common.General.SProperty.Fire(Object oldValue)
    at MediaPortal.Common.General.AbstractProperty.SetValue(Object value)
    at MediaPortal.UI.SkinEngine.Xaml.DependencyPropertyDataDescriptor.set_Value(Object value)
    at MediaPortal.UI.SkinEngine.Xaml.DataDescriptorRepeater.set_Value(Object value)
    at MediaPortal.UI.SkinEngine.MarkupExtensions.BindingDependency.UpdateSource()
    at MediaPortal.UI.SkinEngine.MarkupExtensions.BindingDependency.OnTargetChanged(IDataDescriptor target)
    at MediaPortal.UI.SkinEngine.Xaml.DependencyPropertyDataDescriptor.OnPropertyChanged(AbstractProperty property, Object oldValue)
    at MediaPortal.Common.General.PropertyChangedHandler.Invoke(AbstractProperty property, Object oldValue)
    at MediaPortal.Common.General.SProperty.Fire(Object oldValue)
    at MediaPortal.Common.General.AbstractProperty.SetValue(Object value)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.CheckBox.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.UIElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.Controls.Visuals.FrameworkElement.OnKeyPreview(Key& key)
    at MediaPortal.UI.SkinEngine.ScreenManagement.Screen.HandleKeyPreview(Key& key)
     

    JimCatMP

    Documentation Group
  • Team MediaPortal
  • April 1, 2010
    654
    285
    Leeds
    Home Country
    United Kingdom United Kingdom
    Doh.

    I saw news link for MP2a4 and downloaded from link, before official release [actually downloaded on 13th] so I have the MP2a3 - dumb and dumber.

    Appreciate the tact Morpheous in the gentle hint. I shall now go and bang head on wall while reciting 'must check version number' 100 times.

    And then I'll test MP2a4.

    Cheers - J.
     

    JimCatMP

    Documentation Group
  • Team MediaPortal
  • April 1, 2010
    654
    285
    Leeds
    Home Country
    United Kingdom United Kingdom
    OK, now the banging has ceased and I have MP2a4, shares view 100% solid.

    Seem to have problem in audio share - not listing content by DB or folder view, but early days, more digging [and checking my digging] to be done.

    TTFN Chaps - JCMP.[DOUBLEPOST=1387712509][/DOUBLEPOST]
    I see the server is actually named PC64 so the BNas is a separate device.

    What confuses me (and maybe Win7), there appears to be 2 IP address's assigned to PC64
    192.168.1.249
    192.168.56.1
    And different subnets...
    snip...
    ServerConnectionManager: Connected to home server '1179ae4d-227b-474e-baf4-3f86d9542a30' at host 'pc64'


    Problem solved [user error:oops: Breese, thanks to looking all the same.

    Subnets issue - as I have Virtual Box installed, it creates a virtual interface. BNAS is indeed a distinct unit [192.168.1.105].

    TTFN - JCMP.
     

    Users who are viewing this thread

    Top Bottom