cmderdev / cmder

Lovely console emulator package for Windows
https://cmder.app
MIT License
25.91k stars 2.03k forks source link

Path no found errors on startup #2315

Closed Taverius closed 4 years ago

Taverius commented 4 years ago

Purpose of the issue

Version Information

Cmder 1.3.14.982 with ConEmu 191012 (as shipped)

Microsoft Windows [Version 10.0.18363.836]

Description of the issue

New pc, expanded the full version into C:\Dev\Cmder, on startup I get a bunch of the system cannot find the path specified. errors.

Log attached with verbose and debug.

The system cannot find the path specified. DEBUG(init.bat): Env Var - CMDER_ROOT=C:\Dev\Cmder

DEBUG(init.bat): Env Var - debug_output=1

Injecting Clink! DEBUG(init.bat): Looking for Git install root...

DEBUG(:read_version): Env Var - git_executable=C:\Dev\Cmder\vendor\git-for-windows\cmd\git.exe

The system cannot find the path specified. DEBUG(:read_version): Env Var - GIT_VERSION_VENDORED=2.24.1.windows.2

DEBUG(:validate_version): ARGV[1]=VENDORED, ARGV[2]=2.24.1.windows.2

DEBUG(:parse_version): ARGV[1]=VENDORED, ARGV[2]=2.24.1.windows.2

DEBUG(:validate_version): Found Git Version for VENDORED: 2.24.1.windows.2

The system cannot find the path specified. DEBUG(:read_version): Env Var - git_executable=C:\Program Files\Git\cmd\git.exe

The system cannot find the path specified. DEBUG(:read_version): Env Var - GIT_VERSION_USER=2.26.2.windows.1

DEBUG(:validate_version): ARGV[1]=USER, ARGV[2]=2.26.2.windows.1

DEBUG(:parse_version): ARGV[1]=USER, ARGV[2]=2.26.2.windows.1

DEBUG(:validate_version): Found Git Version for USER: 2.26.2.windows.1

DEBUG(Comparing:):

DEBUG(USER:): 2.26.2.windows.1

DEBUG(VENDORED:): 2.24.1.windows.2

DEBUG(Using found Git '2.26.2.windows.1' from 'C:\Program Files\Git...):

DEBUG(Using Git from 'C:\Program Files\Git...):

DEBUG(init.bat): Preferring Windows commands

DEBUG(:enhance_path): Env Var INSIDE PATH C:\Program\ Files\Git\cmd - found=1

DEBUG(:enhance_path): Env Var END PATH C:\Program\ Files\Git\cmd - found=1

DEBUG(:enhance_path): Env Var INSIDE PATH C:\Program\ Files\Git\mingw64\bin - found=0

DEBUG(:enhance_path): Env Var END PATH C:\Program\ Files\Git\mingw64\bin - found=0

DEBUG(:enhance_path): Appending 'C:\Program Files\Git\mingw64\bin'

DEBUG(:enhance_path): END Env Var - PATH=C:\Dev\Cmder\vendor\conemu-maximus5\ConEmu\Scripts;C:\Dev\Cmder\vendor\conemu-maximus5;C:\Dev\Cmder\vendor\conemu-maximus5\ConEmu;C:\Dev\Ctags;C:\Dev\Python\38\Scripts\;C:\Dev\Python\38\;C:\Dev\Python\27\;C:\Dev\Python\27\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\PowerShell\7\;C:\ProgramData\chocolatey\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\Users\Taverius\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Git\mingw64\bin

DEBUG(:enhance_path): Env Var C:\Program\ Files\Git\mingw64\bin - found=1

DEBUG(:enhance_path): Env Var INSIDE PATH C:\Program\ Files\Git\usr\bin - found=0

DEBUG(:enhance_path): Env Var END PATH C:\Program\ Files\Git\usr\bin - found=0

DEBUG(:enhance_path): Appending 'C:\Program Files\Git\usr\bin'

DEBUG(:enhance_path): END Env Var - PATH=C:\Dev\Cmder\vendor\conemu-maximus5\ConEmu\Scripts;C:\Dev\Cmder\vendor\conemu-maximus5;C:\Dev\Cmder\vendor\conemu-maximus5\ConEmu;C:\Dev\Ctags;C:\Dev\Python\38\Scripts\;C:\Dev\Python\38\;C:\Dev\Python\27\;C:\Dev\Python\27\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\PowerShell\7\;C:\ProgramData\chocolatey\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\Users\Taverius\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Env Var C:\Program\ Files\Git\usr\bin - found=1

DEBUG(init.bat): Env Var - git_locale="C:\Program & echo. The system cannot find the path specified. DEBUG(init.bat): Env Var - GIT_INSTALL_ROOT=C:\Program Files\Git

DEBUG(init.bat): Found Git in: 'C:\Program Files\Git'

DEBUG(:enhance_path): Env Var INSIDE PATH C:\Dev\Cmder\vendor\bin - found=0

DEBUG(:enhance_path): Env Var BEGIN PATH C:\Dev\Cmder\vendor\bin - found=0

DEBUG(:enhance_path): Prepending 'C:\Dev\Cmder\vendor\bin'

DEBUG(:enhance_path): END Env Var - PATH=C:\Dev\Cmder\vendor\bin;C:\Dev\Cmder\vendor\conemu-maximus5\ConEmu\Scripts;C:\Dev\Cmder\vendor\conemu-maximus5;C:\Dev\Cmder\vendor\conemu-maximus5\ConEmu;C:\Dev\Ctags;C:\Dev\Python\38\Scripts\;C:\Dev\Python\38\;C:\Dev\Python\27\;C:\Dev\Python\27\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\PowerShell\7\;C:\ProgramData\chocolatey\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\Users\Taverius\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Env Var C:\Dev\Cmder\vendor\bin - found=1

DEBUG(:enhance_path_recursive): Env Var - add_path=C:\Dev\Cmder\bin

DEBUG(:enhance_path_recursive): Env Var - position=

DEBUG(:enhance_path_recursive): Env Var - max_depth=1

DEBUG(:enhance_path_recursive): Adding parent directory - 'C:\Dev\Cmder\bin'

DEBUG(:enhance_path): Env Var INSIDE PATH C:\Dev\Cmder\bin - found=0

DEBUG(:enhance_path): Env Var BEGIN PATH C:\Dev\Cmder\bin - found=0

DEBUG(:enhance_path): Prepending 'C:\Dev\Cmder\bin'

DEBUG(:enhance_path): END Env Var - PATH=C:\Dev\Cmder\bin;C:\Dev\Cmder\vendor\bin;C:\Dev\Cmder\vendor\conemu-maximus5\ConEmu\Scripts;C:\Dev\Cmder\vendor\conemu-maximus5;C:\Dev\Cmder\vendor\conemu-maximus5\ConEmu;C:\Dev\Ctags;C:\Dev\Python\38\Scripts\;C:\Dev\Python\38\;C:\Dev\Python\27\;C:\Dev\Python\27\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\PowerShell\7\;C:\ProgramData\chocolatey\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\Users\Taverius\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin

DEBUG(:enhance_path): Env Var C:\Dev\Cmder\bin - found=1

DEBUG(:enhance_path): Env Var INSIDE PATH C:\Dev\Cmder - found=0

DEBUG(:enhance_path): Env Var END PATH C:\Dev\Cmder - found=0

DEBUG(:enhance_path): Appending 'C:\Dev\Cmder'

DEBUG(:enhance_path): END Env Var - PATH=C:\Dev\Cmder\bin;C:\Dev\Cmder\vendor\bin;C:\Dev\Cmder\vendor\conemu-maximus5\ConEmu\Scripts;C:\Dev\Cmder\vendor\conemu-maximus5;C:\Dev\Cmder\vendor\conemu-maximus5\ConEmu;C:\Dev\Ctags;C:\Dev\Python\38\Scripts\;C:\Dev\Python\38\;C:\Dev\Python\27\;C:\Dev\Python\27\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\PowerShell\7\;C:\ProgramData\chocolatey\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\Users\Taverius\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Dev\Cmder

DEBUG(:enhance_path): Env Var C:\Dev\Cmder - found=1

The system cannot find the path specified. DEBUG(init.bat): Env Var - HOME=C:\Users\Taverius

DEBUG(init.bat): Calling - C:\Dev\Cmder\config\user_profile.cmd

DEBUG(Using vendored Git '2.24.1.windows.2'...):

DEBUG(Using Git from 'C:\Dev\Cmder\vendor\git-for-windows...):

DEBUG(init.bat): Preferring Windows commands

DEBUG(:enhance_path): Env Var INSIDE PATH C:\Dev\Cmder\vendor\git-for-windows\cmd - found=0

DEBUG(:enhance_path): Env Var END PATH C:\Dev\Cmder\vendor\git-for-windows\cmd - found=0

DEBUG(:enhance_path): Appending 'C:\Dev\Cmder\vendor\git-for-windows\cmd'

DEBUG(:enhance_path): END Env Var - PATH=C:\Dev\Cmder\bin;C:\Dev\Cmder\vendor\bin;C:\Dev\Cmder\vendor\conemu-maximus5\ConEmu\Scripts;C:\Dev\Cmder\vendor\conemu-maximus5;C:\Dev\Cmder\vendor\conemu-maximus5\ConEmu;C:\Dev\Ctags;C:\Dev\Python\38\Scripts\;C:\Dev\Python\38\;C:\Dev\Python\27\;C:\Dev\Python\27\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\PowerShell\7\;C:\ProgramData\chocolatey\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\Users\Taverius\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Dev\Cmder;C:\Dev\Cmder\vendor\git-for-windows\cmd

DEBUG(:enhance_path): Env Var C:\Dev\Cmder\vendor\git-for-windows\cmd - found=1

DEBUG(:enhance_path): Env Var INSIDE PATH C:\Dev\Cmder\vendor\git-for-windows\mingw64\bin - found=0

DEBUG(:enhance_path): Env Var END PATH C:\Dev\Cmder\vendor\git-for-windows\mingw64\bin - found=0

DEBUG(:enhance_path): Appending 'C:\Dev\Cmder\vendor\git-for-windows\mingw64\bin'

DEBUG(:enhance_path): END Env Var - PATH=C:\Dev\Cmder\bin;C:\Dev\Cmder\vendor\bin;C:\Dev\Cmder\vendor\conemu-maximus5\ConEmu\Scripts;C:\Dev\Cmder\vendor\conemu-maximus5;C:\Dev\Cmder\vendor\conemu-maximus5\ConEmu;C:\Dev\Ctags;C:\Dev\Python\38\Scripts\;C:\Dev\Python\38\;C:\Dev\Python\27\;C:\Dev\Python\27\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\PowerShell\7\;C:\ProgramData\chocolatey\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\Users\Taverius\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Dev\Cmder;C:\Dev\Cmder\vendor\git-for-windows\cmd;C:\Dev\Cmder\vendor\git-for-windows\mingw64\bin

DEBUG(:enhance_path): Env Var C:\Dev\Cmder\vendor\git-for-windows\mingw64\bin - found=1

DEBUG(:enhance_path): Env Var INSIDE PATH C:\Dev\Cmder\vendor\git-for-windows\usr\bin - found=0

DEBUG(:enhance_path): Env Var END PATH C:\Dev\Cmder\vendor\git-for-windows\usr\bin - found=0

DEBUG(:enhance_path): Appending 'C:\Dev\Cmder\vendor\git-for-windows\usr\bin'

DEBUG(:enhance_path): END Env Var - PATH=C:\Dev\Cmder\bin;C:\Dev\Cmder\vendor\bin;C:\Dev\Cmder\vendor\conemu-maximus5\ConEmu\Scripts;C:\Dev\Cmder\vendor\conemu-maximus5;C:\Dev\Cmder\vendor\conemu-maximus5\ConEmu;C:\Dev\Ctags;C:\Dev\Python\38\Scripts\;C:\Dev\Python\38\;C:\Dev\Python\27\;C:\Dev\Python\27\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\PowerShell\7\;C:\ProgramData\chocolatey\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;C:\Program Files\Git\cmd;C:\Users\Taverius\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Dev\Cmder;C:\Dev\Cmder\vendor\git-for-windows\cmd;C:\Dev\Cmder\vendor\git-for-windows\mingw64\bin;C:\Dev\Cmder\vendor\git-for-windows\usr\bin

DEBUG(:enhance_path): Env Var C:\Dev\Cmder\vendor\git-for-windows\usr\bin - found=1

DEBUG(init.bat): Env Var - git_locale="C:\Program & echo. DEBUG(init.bat): Env Var - GIT_INSTALL_ROOT=C:\Dev\Cmder\vendor\git-for-windows

DEBUG(init.bat): Found Git in: 'C:\Dev\Cmder\vendor\git-for-windows'

DEBUG(:enhance_path): Env Var INSIDE PATH C:\Dev\Cmder\vendor\bin - found=1

DEBUG(:enhance_path): Env Var BEGIN PATH C:\Dev\Cmder\vendor\bin - found=1

DEBUG(:enhance_path_recursive): Env Var - add_path=C:\Dev\Cmder\bin

DEBUG(:enhance_path_recursive): Env Var - position=

DEBUG(:enhance_path_recursive): Env Var - max_depth=1

DEBUG(:enhance_path): Env Var INSIDE PATH C:\Dev\Cmder - found=1

DEBUG(:enhance_path): Env Var END PATH C:\Dev\Cmder - found=1

The system cannot find the path specified. DEBUG(init.bat): Env Var - HOME=C:\Users\Taverius

DEBUG(init.bat): Calling - C:\Dev\Cmder\config\user_profile.cmd

The system cannot find the path specified.

Taverius commented 4 years ago

Nevermind, I had clink installed system-wide on the old machine, and after moving userdata over that made cmd.exe unhappy until i installed it on the new one too.