KatharaFramework / Kathara

A lightweight container-based network emulation system.
https://www.kathara.org/
GNU General Public License v3.0
452 stars 63 forks source link

[WinError 2] Impossibile trovare il file specificato #110

Closed GiuliaMaragno closed 3 years ago

GiuliaMaragno commented 3 years ago

Hello, I can't run the vstart and the lstart syntax. Powershell shows me an ERROR like this: Errore

Skazza94 commented 3 years ago

Hi @GiuliaMaragno, seems like Docker Desktop is not running. Before using Kathara you should ensure that Docker Desktop is running on your system (you can doing so by checking the tray icons).

If the problem persists, we'll further investigate.

Also, I suggest you to update to the latest Kathará version (3.0.1) that we released yesterday!

Thanks, Mariano.

GiuliaMaragno commented 3 years ago

Hi @Skazzino, Docker Desktop is currently running. I’ve updated the version this morning but it doesn't work. image

Waiting for your kind feedback,

Best regards, Giulia.

Skazza94 commented 3 years ago

Hi @GiuliaMaragno, thanks for you feedback.

To better understand what's happening, activate the debug logging as follows:

A detailed log will be outputted, please paste it here.

Thanks, Mariano.

GiuliaMaragno commented 3 years ago

Hi @Skazzino, Here is the output: image

Skazza94 commented 3 years ago

Hi @GiuliaMaragno, the device creation is correct (so it is started), but there's a problem with terminal opening.

First of all, from the output above seems like Kathara is not at version 3.0.1, so please update it (overwriting the current installation in "C:\Program Files\Kathara"). Second, maybe you opened Powershell as administrator. Please use Powershell without administration privileges.

Thanks, Mariano.

GiuliaMaragno commented 3 years ago

Hi @Skazzino, I'm currently using the PowerShell without administration privileges, and I just updated Katharà version, but it still doesn't work. The output is the following: image If I use administration privileges, the output is this: image

Skazza94 commented 3 years ago

Hi @GiuliaMaragno, we released another version of Kathara (3.0.3). Here we added few options that can help debugging this issue.

First of all, update Kathara and run kathara check and paste the output.

After that:

GiuliaMaragno commented 3 years ago

Hi @Skazzino,

image

image

Thanks, Giulia.

Skazza94 commented 3 years ago

Hi @GiuliaMaragno, with the stack trace I can understand that it is a problem related to PowerShell.

Please in PowerShell type $env:path and report the output.

Thanks.

GiuliaMaragno commented 3 years ago

Hi @Skazzino, that's the output: image Thanks, Giulia

Skazza94 commented 3 years ago

Hi @GiuliaMaragno, seems like it not a problem related to Kathara. The PowerShell path is a little strange (as you can see there's a ;c:\dig after the powershell path).

Remove the double quotes around PowerShell and dig path.

Thanks, Mariano

GiuliaMaragno commented 3 years ago

Hi @Skazzino, now it works correctly!! Thanks for your time, Giulia.

Skazza94 commented 3 years ago

Hi @GiuliaMaragno, no problem! We're here to help you! :)

I'm closing this issue.