Hello,
I have recently upgraded my UiPath Studio on my machine(Uninstalled previous version and installed latest version). But it is failing after launching UiPath Studio. Here are my configurations:
2019.6.0-beta.83 - 6/18/2019
Community Edition
EXE Installer
l A faulty add-in enabled for Office applications:
n You may use application safe for each Office application to open for example open Run (press Windows key + R), type winword /safe, excel /safe for Word and Excel respectively. If it works fine, disable the add-ins using File > Options > Add-ins for each applications
l Incompatible printer driver:
n Change the default computer printer to XPS Document Writer using Control Panel and verify the status.
l Security software installed on the computer conflicting with Office applications:
n EnableClean-boot then try to use Office application to find if any Non-Microsoft software is causing the issue.
n Note: enable Normal Start-up after troubleshooting.
I used to find out in file Studio.log that really UIPath Licensing is Ok:
21:08:52.6019 => [WARN] [UiPath.Studio.exe] [1] Warn: Retrieved LicenseInfo value RegistrationState: ActiveLicense, ActivationId: UIP-dec4be7876, LicenseCode: 0813-8969-3633-6179, LicenseModel: USER, Version: V2019, StartDate: 1573344000, EndDate: 1604966399, GracePeriod: 0, Email: , CheckInterval: 0, NextCheckDate: 1574023619, BundleCode: STD, SubscriptionCode: COM.
However there is some Error to load World component called âEmgu.CV.Worldâ:
21:09:21.6543 => [ERROR] [UiPath.Studio.exe] [30] $LoadAssembly: UiPath.CV, Version=19.10.0.0, Culture=neutral, PublicKeyToken=null: System.IO.FileNotFoundException: Could not load file or assembly âEmgu.CV.World, Version=3.4.1.2984, Culture=neutral, PublicKeyToken=nullâ or one of its dependencies.
But no tricks with Add-ons helps to solve it!
I redirected this error to UiPath system support service to open bug-fixing issue.
This is a CRUCIAL BUG of UiPath itself, not of any project/project dependencies.
- this bug appears with newly installed Uipath,
- internal dependency of UiPath called Uipath.CV could not be resolved as Emgu.CV.World package Version=3.4.1.2984 did not installed neither in âC:\ProgramData\UiPath\Packagesâ nor in other directory during installation of UiPath - THIS is CORE BUG (!)
- nobody can find Emgu.CV.World package Version=3.4.1.2984 to download as UiPath is build on private special edition of Emgu.CV(!), only 3.4.1.2979 is available or more later, and it prevents users to fix this bug by itself.
Please, fix this bug of UiPath as soon as possible!
And more - please move UiPath on latest publicly available release of Emgu.CV (check it on Github before release) !
Today I downloaded community edition and installed. As soon as Studio opens, it closes automatically (or crashes) in few seconds. I am not able to find solution in the forum.
Error in studio.log
[ERROR] [UiPath.Studio.exe] [5] $LoadAssembly: UiPath.CV, Version=19.11.0.0, Culture=neutral, PublicKeyToken=null: System.IO.FileNotFoundException: Could not load file or assembly 'Emgu.CV.World, Version=3.4.1.2984, Culture=neutral, PublicKeyToken=nullâ or one of its dependencies. The system cannot find the file specified.
File name: âEmgu.CV.World, Version=3.4.1.2984, Culture=neutral, PublicKeyToken=nullâ
at System.RuntimeTypeHandle.GetDeclaringType(RuntimeType type)
at System.RuntimeType.RuntimeTypeCache.GetEnclosingType()
Error in Event Viewer
InvokeAsync: System.IO.IOException: Connection closed.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Nito.AsyncEx.TaskExtensions.d__31.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at UiPath.Ipc.ServiceClient1.<>c__DisplayClass17_0`1.<b__3>d.MoveNext()
â End of stack trace from previous location where exception was thrown â
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at UiPath.Ipc.IOHelpers.d__6.MoveNext()
Another error in Error in Event Viewer
Load robot settings failed: Newtonsoft.Json.JsonReaderException: Bad JSON escape sequence: \U. Path âNuGetServerUrlâ, line 3, position 36.
at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char quote)
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Linq.JContainer.ReadContentFrom(JsonReader r, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JContainer.ReadTokenFrom(JsonReader reader, JsonLoadSettings options)
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JObject.Parse(String json, JsonLoadSettings settings)
at UiPath.Service.Settings.RobotSettings.LoadSettingsFromFile()
Error in WorkflowAnalyzer_Execution.log
17:48:39.0654 Error System.IO.FileLoadException: API restriction: The assembly âfile:///C:\Users\Suresh\AppData\Local\UiPath\app-19.10.2\Rules\es\Microsoft.Expression.Prototyping.Interactivity.resources.dllâ has already loaded from a different location. It cannot be loaded from a new location within the same appdomain.
My Machine Configuration
OS Name = Microsoft Windows 10 Home
Windows Build Version =10.0.18363 Build 18363
.Net Version = 4.8
Thank you for your suggestion. Tried below options.
1> Stopped and also uninstalled antivirus.
2>Switched off firewall.
3>Cleared UiPath .cache
Opened Studio. Then created a new Process. After 10 seconds Studio crashes. Again Open Studio then click on newly created Process. After 10 seconds Studio crashes.
The error message in log
[ERROR] [UiPath.Studio.exe] [5] $LoadAssembly: UiPath.CV, Version=19.11.0.0, Culture=neutral, PublicKeyToken=null: System.IO.FileNotFoundException: Could not load file or assembly 'Emgu.CV.World , Version=3.4.1.2984, Culture=neutral, PublicKeyToken=nullâ or one of its dependencies. The system cannot find the file specified.
UiPath Version
Studio Version 2019.10.2 - 12/9/2019
Community License
EXE Installer
You seem to have several file access related errors, which would mean the files are either corrupted or blocked by something (maybe group policies on your machine?).