-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] ValueError: * must be a valid directory #5
Comments
Thank you for a detailed report. There are a few issues.
However, if you're setting the environment variable then you don't have to set the projects path in Sublime Text, this is one of the main advantages of using the environment variable. So given that you've set the PROJECTS_PATH environment, Open Sesame will auto detect and use it as the projects path. So you won't need to set
If the above fixes above don't solve the issue then try setting the absolute path.
The above should certainly work. If the environment variable is set correctly i.e.
But of course if the above works then you don't even need to set it so remove the above setting and it should work too. |
Update1. SettingsI set absolute path to my "open-sesame.keymaps": true,
"open-sesame.projects_depth": 2,
"open-sesame.projects_path": "D:\\Sublime Text 3 x64\\Data\\Packages\\User\\Projects", 2. Steps to reproduceI restart Sublime Text after change settings → I open any file in Sublime Text →
3. Expected behaviorAny actions. 4. Actual behaviorNothing occurs. Also, I don't get output in Sublime Text console. command: open_sesame
command: open_sesame_add_folder Thanks. |
When you set
does it still produce the exception: I pushed a new release which will show a status message in the status bar if no projects can be found. |
When sesame.path contains one non-existent directory, the other valid paths are ignored altogether. It would be nice if Sesame would be more tolerant and still process the remaining valid paths, like FuzzyFileNav does. I use the same .sublime-settings file on two computers, where not every machine has the same folders. |
1. Summary
I can not set path to my projects.
2. Settings
D:\Sublime Text 3 x64
sublime-project
andsublime-workspace
files —D:\Sublime Text 3 x64\Data\Packages\User\Projects
.PROJECTS_PATH = D:\Sublime Text 3 x64\Data\Packages\User\Projects
User/Preferences.sublime-settings
3. Steps to reproduce
I reproduce the problem in a version of Sublime Text without plugins and user settings.
I install Open Sesame → I restart Sublime Text → I open any file in Sublime Text → Ctrl+Shift+P (⌘⇧p for Mac) →
Open Sesame: Add Project Folder
.4. Expected behavior
Successful add a project to the active window.
5. Actual behavior
If
I get similar stack trace:
I try set path to my
Projects
directory use Sublime Text Build System variables → I get similar behavior.6. Environment
Operating system and version:
Windows 10 Enterprise LTSB 64-bit EN
Sublime Text:
Build 3126
Package:
I use the latest stable version of this package for Sublime Text 3
Thanks.
The text was updated successfully, but these errors were encountered: