You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
default_user@DESKTOP-DE03UUA:/mnt/c/Users/benn_/micro-PKC$ ./pkc stop
Traceback (most recent call last):
File "/usr/bin/docker-compose", line 11, in
load_entry_point('docker-compose==1.25.0', 'console_scripts', 'docker-compose')()
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 72, in main
command()
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 125, in perform_command
project = project_from_options('.', options)
File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 53, in project_from_options
return get_project(
File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 136, in get_project
project_name = get_project_name(
File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 186, in get_project_name
project = os.path.basename(os.path.abspath(working_dir))
File "/usr/lib/python3.8/posixpath.py", line 379, in abspath
cwd = os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 67, in apport_excepthook
binary = os.path.realpath(os.path.join(os.getcwd(), sys.argv[0]))
FileNotFoundError: [Errno 2] No such file or directory
Original exception was:
Traceback (most recent call last):
File "/usr/bin/docker-compose", line 11, in
load_entry_point('docker-compose==1.25.0', 'console_scripts', 'docker-compose')()
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 72, in main
default_user@DESKTOP-DE03UUA:/mnt/c/Users/benn_/micro-PKC$
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 125, in perform_command
project = project_from_options('.', options)
File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 53, in project_from_options
return get_project(
File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 136, in get_project
project_name = get_project_name(
File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 186, in get_project_name
project = os.path.basename(os.path.abspath(working_dir))
File "/usr/lib/python3.8/posixpath.py", line 379, in abspath
cwd = os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory
default_user@DESKTOP-DE03UUA:/mnt/c/Users/benn_/micro-PKC$ sudo ./pkc stop
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Please don't run as root.
The text was updated successfully, but these errors were encountered:
FantasticoFox
changed the title
Error stopping PKC in windows
[Windows][Linux Subsystem for Windows] Error stopping PKC
Jan 8, 2022
Can't stop PKC in windows->linux. See below.
default_user@DESKTOP-DE03UUA:/mnt/c/Users/benn_/micro-PKC$ ./pkc stop
Traceback (most recent call last):
File "/usr/bin/docker-compose", line 11, in
load_entry_point('docker-compose==1.25.0', 'console_scripts', 'docker-compose')()
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 72, in main
command()
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 125, in perform_command
project = project_from_options('.', options)
File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 53, in project_from_options
return get_project(
File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 136, in get_project
project_name = get_project_name(
File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 186, in get_project_name
project = os.path.basename(os.path.abspath(working_dir))
File "/usr/lib/python3.8/posixpath.py", line 379, in abspath
cwd = os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 67, in apport_excepthook
binary = os.path.realpath(os.path.join(os.getcwd(), sys.argv[0]))
FileNotFoundError: [Errno 2] No such file or directory
Original exception was:
Traceback (most recent call last):
File "/usr/bin/docker-compose", line 11, in
load_entry_point('docker-compose==1.25.0', 'console_scripts', 'docker-compose')()
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 72, in main
default_user@DESKTOP-DE03UUA:/mnt/c/Users/benn_/micro-PKC$
File "/usr/lib/python3/dist-packages/compose/cli/main.py", line 125, in perform_command
project = project_from_options('.', options)
File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 53, in project_from_options
return get_project(
File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 136, in get_project
project_name = get_project_name(
File "/usr/lib/python3/dist-packages/compose/cli/command.py", line 186, in get_project_name
project = os.path.basename(os.path.abspath(working_dir))
File "/usr/lib/python3.8/posixpath.py", line 379, in abspath
cwd = os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory
default_user@DESKTOP-DE03UUA:/mnt/c/Users/benn_/micro-PKC$ sudo ./pkc stop
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Please don't run as root.
The text was updated successfully, but these errors were encountered: