SublimeFiles icon indicating copy to clipboard operation
SublimeFiles copied to clipboard

Add folder to project fails on Windows with FileNotFoundError

Open dpc00 opened this issue 1 month ago • 2 comments

Claude reports: "Directory actions > Add folder to project" fails on Windows with FileNotFoundError.

Tested with the Package Control release 2014.08.16.17.58.42 on Sublime Text build 4200, Windows 11 (Python 3.3 host). Opening the navigator, opening a file, "Create new file" and "Create new directory" all work.

Choosing "Add folder to project" prints this in the console and nothing is added:

  File ".../sublime_files.py", line 164, in handle_directory_option
  File ".../sublime_files.py", line 233, in sublime_command_line
  File "./python3.3/subprocess.py", line 819, in __init__
FileNotFoundError: [WinError 2] The system cannot find the file specified

get_sublime_path() builds the program path on Windows with os.path.join(sys.path[0], 'sublime_text.exe'), and that file does not exist (I did not print sys.path[0]). sublime.executable_path() gives the path of the running Sublime on ST3; I did not try it as the fix.

dpc00 avatar Oct 20 '26 02:10 dpc00

why are you opening slop reports from claude for my unmaintained old side project. dont do this!

al63 avatar Oct 20 '26 03:10 al63

I am testing https://github.com/dpc00/sublime-mcp with https://github.com/dpc00/GhostShell. No stone unturned is how it is set up. Couldn't find sufficient info to filter the list, so I am just letting it do what it wants.

Some results in https://github.com/dpc00/sublime-package-audit.

It found 22 issues in Package Control. I am sorry if you are upset. I don't believe it is in everyone's best interests to stop now.

You are not supposed to leave broken code lying around in my opinion.

On Mon, Oct 19, 2026, 21:01 Alec Lee @.***> wrote:

al63 left a comment (al63/SublimeFiles#30) https://github.com/al63/SublimeFiles/issues/30#issuecomment-6282314975

why are you opening slop reports from claude for my unmaintained old side project. dont do this!

— Reply to this email directly, view it on GitHub https://github.com/al63/SublimeFiles/issues/30?email_source=notifications&email_token=BYZWW74K52Z7KDWWQ2DSLED5U3IPVA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTMMRYGIZTCNBZG422M4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-6282314975, or unsubscribe https://github.com/notifications/unsubscribe-auth/BYZWW72XPEZMRSQXCFD7BLT5U3IPVAVCNFSNUABDKJSXA33TNF2G64TZHMZTONZSHAYTMO2JONZXKZJ3GU4TGNJQGE4TQOBYUF3AE . You are receiving this because you authored the thread.Message ID: @.***>

dpc00 avatar Oct 20 '26 03:10 dpc00