Skip to content

[Bug] FileNotFoundError: [WinError 3] The system cannot find the path specified #2

Description

@Kristinita

1. Summary

I don't understand, how I can exclude folder, which I already delete.

2. Expected behavior

Successful run AddFolderToProject commands. No stack trace in console.

3. Actual behavior

Traceback (most recent call last):
  File "D:\Sublime Text 3 x64\sublime_plugin.py", line 720, in is_visible_
    ret = self.is_visible()
  File "AddFolderToProject in D:\Sublime Text 3 x64\Data\Installed Packages\Add Folder To Project.sublime-package", line 76, in is_visible
  File "AddFolderToProject in D:\Sublime Text 3 x64\Data\Installed Packages\Add Folder To Project.sublime-package", line 26, in exists
  File "./python3.3/ntpath.py", line 603, in samefile
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'D:\\Mega.co.nz\\MEGAsync Загрузки\\Джинджерины\\ТТД'
Traceback (most recent call last):
  File "D:\Sublime Text 3 x64\sublime_plugin.py", line 720, in is_visible_
    ret = self.is_visible()
  File "AddFolderToProject in D:\Sublime Text 3 x64\Data\Installed Packages\Add Folder To Project.sublime-package", line 93, in is_visible
  File "AddFolderToProject in D:\Sublime Text 3 x64\Data\Installed Packages\Add Folder To Project.sublime-package", line 26, in exists
  File "./python3.3/ntpath.py", line 603, in samefile
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'D:\\Mega.co.nz\\MEGAsync Загрузки\\Джинджерины\\ТТД'

5. Steps to reproduce

I reproduce the problem in a version of Sublime Text without plugins and user settings.

I add D:\Mega.co.nz\MEGAsync Загрузки\Джинджерины\ТТД folder to project → I delete D:\Mega.co.nz\MEGAsync Загрузки\Джинджерины\ТТД folder from my PC.

I restart Sublime Text → I get stack trace.

I open any file → Ctrl+Shift+PAdd Folders To Project → I get stack trace.

6. Environment

Operating system and version:
Windows 10 Enterprise LTSB 64-bit EN
Sublime Text:
Build 3126

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions