UiPath freezes at "Adding Dependencies" for 20 minutes or more

Hi forum,

I am a passionate of UiPath, but for some months I have been experiencing a problem that is really frustrating.
Every single time that I start my robot (a robot that interacts with Excel and is most of the time on, doing some automated tasks) UiPath gets stucked for 20 minutes or more in “Adding Dependencies”… of course completely frozen.
After these 20-30 minutes pass, I can normally start the process of the robot and it works perfectly.

But if by any chance I close UiPath and start it again… the process repeats!
This would never happen before (2018.3 was not giving this problem). It was after the update 2018.4 that I started experiencing these problems. I have uninstalled completely UiPath and installed the newest version today, but the problem is exactly the same.

This situation is taking a lot of precious time for me, and it would be great if any of you has an idea of why this is constantly happening to me.

Regards!

PS: I am using Community edition.

Carlo

To bring some more details to the topic… I just finished to load my robot after 30 fantastic minutes, and I got some info from the log. There are two errors that repeat quite often:

21:11:46.1217 => [ERROR] [UiPath.Studio.exe] [4] $LoadAssembly: UiPath.Vision, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null: System.IO.FileNotFoundException: No se puede cargar el archivo o ensamblado ‘Emgu.CV.World, Version=3.4.1.2984, Culture=neutral, PublicKeyToken=null’ ni una de sus dependencias. El sistema no puede encontrar el archivo especificado.
File name: ‘Emgu.CV.World, Version=3.4.1.2984, Culture=neutral, PublicKeyToken=null’

21:11:50.6144 => [ERROR] [UiPath.Studio.exe] [4] $LoadAssembly: Microsoft.Exchange.WebServices.Auth, Version=15.0.0.0, Culture=neutral, PublicKeyToken=: System.IO.FileNotFoundException: No se puede cargar el archivo o ensamblado 'Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=***’ ni una de sus dependencias. El sistema no puede encontrar el archivo especificado.
File name: ‘Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=*******’

HResult -2147024894

These two errors keep repearing from 21:11 to 21:38, when it loads correctly

@CarloBeast - I too see this error in my logs but it does not cause my Studio to start up slowly.
This is some issue with the UiPath Vision package and the Emgu.CV.World.dll version 3.4.1.2984. I would suggest to uninstall and reinstall UiPath Vision package and also try installing Emgu CV package and see if it helps.

@sreenivasm will try this for sure. I have realized as well that if I try to update the packages once the robot is loaded, the same problem happens (it freezes for a lot of time… in fact it is still frozen).
This particular robot uses some old packages I guess…

@CarloBeast - I was able to get rid of this error in my system, by uninstalling UiPath Vision, installing Emgu CV and then re-installing UiPath Vision.

On a side note, do you have a stable internet connection?

@sreenivasm will do it right now (after that Walt Disney robot goes back to life haha). Yes, I have wired connection, 600 Mbps so that is definitely not the issue.

Thanks!

@CarloBeast - Also if your project does not need all the packages listed in the Project Dependencies, please delete the unnecesssary ones. That will also help in speeding up your project startup in Studio.