Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: cavagnaro on October 22, 2016, 01:38:15 AM

Title: WDE Facebook Plugin
Post by: cavagnaro on October 22, 2016, 01:38:15 AM
Hey guys
Installing Social solution here and while installing the FB plugin it broke WDE.
Now I get on logs:

[code]
16-10-21 17:34:15.271 [            1] ERROR .BootstrapController - Application.DispatcherUnhandledException
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Practices.Unity.ResolutionFailedException: Resolution of the dependency failed, type = "Genesyslab.Desktop.Modules.Facebook.Windows.Menu.UnsolicitedOutbound.PostUpdateMenus.IMainFreeMenuItemsPostUpdate", name = "". Exception message is: The current build operation (build key Build Key[Genesyslab.Desktop.Modules.Facebook.Windows.Menu.UnsolicitedOutbound.PostUpdateMenus.MainFreeMenuItemsPostUpdate, null]) failed: Set property 'Tomers.WPF.Localization.Translate.Uid' threw an exception. (Strategy type BuildPlanStrategy, index 3) ---> Microsoft.Practices.ObjectBuilder2.BuildFailedException: The current build operation (build key Build Key[Genesyslab.Desktop.Modules.Facebook.Windows.Menu.UnsolicitedOutbound.PostUpdateMenus.MainFreeMenuItemsPostUpdate, null]) failed: Set property 'Tomers.WPF.Localization.Translate.Uid' threw an exception. (Strategy type BuildPlanStrategy, index 3) ---> System.Windows.Markup.XamlParseException: Set property 'Tomers.WPF.Localization.Translate.Uid' threw an exception. ---> System.ArgumentException: Object of type 'Tomers.WPF.Localization.Translate' cannot be converted to type 'System.Windows.DependencyObject'.
  at System.RuntimeType.TryChangeType(Object value, Binder binder, CultureInfo culture, Boolean needsSpecialCast)
  at System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr)
  at System.Reflection.MethodBase.CheckArguments(Object[] parameters, Binder binder, BindingFlags invokeAttr, CultureInfo culture, Signature sig)
  at System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
  at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
  at System.Xaml.Schema.SafeReflectionInvoker.InvokeMethodCritical(MethodInfo method, Object instance, Object[] args)
  at System.Xaml.Schema.SafeReflectionInvoker.InvokeMethod(MethodInfo method, Object instance, Object[] args)
  at System.Xaml.Schema.XamlMemberInvoker.SetValueSafeCritical(Object instance, Object value)
  at System.Xaml.Schema.XamlMemberInvoker.SetValue(Object instance, Object value)
  at System.Windows.Baml2006.WpfMemberInvoker.SetValue(Object instance, Object value)
  at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(XamlMember member, Object obj, Object value)
  at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst, XamlMember property, Object value)
  --- End of inner exception stack trace ---
  at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
  at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
  at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
  at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
  at Genesyslab.Desktop.Modules.Facebook.Windows.Menu.UnsolicitedOutbound.PostUpdateMenus.MainFreeMenuItemsPostUpdate.InitializeComponent()
  at BuildUp_Genesyslab.Desktop.Modules.Facebook.Windows.Menu.UnsolicitedOutbound.PostUpdateMenus.MainFreeMenuItemsPostUpdate(IBuilderContext )
  at Microsoft.Practices.ObjectBuilder2.DynamicMethodBuildPlan.BuildUp(IBuilderContext context)
  at Microsoft.Practices.ObjectBuilder2.BuildPlanStrategy.PreBuildUp(IBuilderContext context)
  at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
  --- End of inner exception stack trace ---
  at Microsoft.Practices.ObjectBuilder2.StrategyChain.ExecuteBuildUp(IBuilderContext context)
  at Microsoft.Practices.ObjectBuilder2.Builder.BuildUp(IReadWriteLocator locator, ILifetimeContainer lifetime, IPolicyList policies, IStrategyChain strategies, Object buildKey, Object existing)
  at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name)
  --- End of inner exception stack trace ---
  at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name)
  at Microsoft.Practices.Unity.UnityContainer.Resolve(Type t, String name)
  at Microsoft.Practices.Unity.UnityContainerBase.Resolve(Type t)
  at Genesyslab.Desktop.Infrastructure.ViewManager.ViewManager.InstantiateViewsInRegion(Object parentView, String regionName, Object context)
  at Genesyslab.Desktop.Infrastructure.ViewManager.ViewManager.InstantiateViewsInRegion(Object parentView, String regionName)
  at Genesyslab.Desktop.Modules.Windows.Views.Toolbar.MyWorkplace.MainButtonMenu.MainButtonView.Create()
  at Genesyslab.Desktop.Infrastructure.ViewManager.ViewManager.InstantiateViewsInRegion(Object parentView, String regionName, Object context)
  at Genesyslab.Desktop.Infrastructure.ViewManager.ViewManager.InstantiateViewsInRegion(Object parentView, String regionName)
  at Genesyslab.Desktop.Modules.Windows.Views.Toolbar.ToolbarWindow.Create()
  at Genesyslab.Desktop.Infrastructure.ViewManager.ViewManager.InstantiateDynamicViewInRegion(Object parentView, String regionName, String dynamicViewName, String instantiateViewName, Object context)
  at Genesyslab.Desktop.Infrastructure.ViewManager.ViewManager.InstantiateShell(String regionName, String activatorShellViewName, String instanciateShellViewName, Object context)
  at Genesyslab.Desktop.Modules.Windows.BootstrapController.ShowMainWindow(Boolean applicationReady)
  at Genesyslab.Desktop.Modules.Windows.BootstrapController.StartAgentSessionEvent(Object obj)
  --- 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.Delegate.DynamicInvokeImpl(Object[] args)
  at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
  at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
[/code]

What could I be missing on software? I can't find out nothing on docs for more than I have searched on it.

If you have some clue pls let me know
Title: Re: WDE Facebook Plugin
Post by: catanirex on October 23, 2016, 05:20:01 PM
Which version of WDE? In WDE 8.5 you should not use the old Facebook plugin... Please unistall it and download the Social Messaging plugin instead! It is used for both FB and twitter.

Hope it helps
Title: Re: WDE Facebook Plugin
Post by: cavagnaro on October 23, 2016, 05:39:04 PM
Ohhh nice observation. Let me try :D Changing names each version is kinda confusing at some point.
Thanks
Title: Re: WDE Facebook Plugin
Post by: cavagnaro on October 24, 2016, 02:37:32 PM
Hey catarinex
Installed as mentioned but now have this problem while trying to use it via ClickOnce:
[url=https://postimg.org/image/6u5xg5fd3/][img]https://s15.postimg.org/6u5xg5fd3/fb_social_media.png[/img][/url]

Have you seen something like that? Tried the last 3 versions of the plugin and same result
And yes, such file doesn't exists after installation
Title: Re: WDE Facebook Plugin
Post by: catanirex on October 25, 2016, 05:12:22 PM
Sorry, havent used SoMe plugin and ClickOnce togeteher. Yet...

Does it work if you install WDE + plugin manually on a workstation?
Title: Re: WDE Facebook Plugin
Post by: cavagnaro on October 25, 2016, 05:25:35 PM
Well Genesys answered that is not supported...I need to open a FR.
Yeah, alone works fine. Issue is deployment part now :S