Message: The type initializer for ‘Emgu.CV.CvInvoke’ threw an exception.
Exception Type: ImageOperationException
UiPath.Core.ImageOperationException: The type initializer for ‘Emgu.CV.CvInvoke’ threw an exception. —> System.TypeInitializationException: The type initializer for ‘Emgu.CV.CvInvoke’ threw an exception. —> System.DllNotFoundException: Unable to load DLL ‘cvextern’: 指定されたモジュールが見つかりません。 (Exception from HRESULT: 0x8007007E)
at Emgu.CV.CvInvoke.RedirectError(CvErrorCallback errorHandler, IntPtr userdata, IntPtr prevUserdata)
at Emgu.CV.CvInvoke…cctor()
— End of inner exception stack trace —
at Emgu.CV.Image2.AllocateData(Int32 rows, Int32 cols, Int32 numberOfChannels) at Emgu.CV.Image2.set_Bitmap(Bitmap value)
at UiPath.Vision.Detectors.BaseDetector…ctor(Bitmap image)
at UiPath.Vision.UiImage.Find(UiImage target, Double accuracy)
at UiPath.Core.Image.Find(Image image, Double accuracy)
— End of inner exception stack trace —
at UiPath.Core.Activities.ScopeActivity.OnFaulted(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
Windows 7のアップデートKB2533623は、適用できませんでした。
KB2533623のWindows Server 2008 R2用も存在していたため、適用しようとしましたが、適用済みの別のパッチに含まれていたため、再適用はできませんでした。
ほかに考えられる原因をご存知の方はいませんか。
English -
Thank you for your answer.
Because we are using Windows Server 2008 R2, Windows 7 update KB 2533623 could not be applied.
Update KB 2533623 of Windows Server 2008 R2 also existed, so I attempted to apply it, but it was included in another applied patch and it was not reapplied.
[Current environment]
Windows Server 2008 R2 (KB963697 already applied, DesktopExperience enabled)
.NetFramework 4.7.2 installed