Reputation:
This error appears every time I save file or open a file.
Error loading colour scheme Packages\User\MonokaiGrayDL.tmTheme: Unable to open Packages\User\MonikaiGray.tmTheme
I searched about it but those solutions are for sublime text 2...please help
Upvotes: 37
Views: 48134
Reputation: 31
I had the same problem:
My issue was that some packages creates a syntax-specific *.sublime-settings file (Markdown.sublime-settings in my case).
The file is located in Library/Application Support/Sublime Text 3/Packages/User.
Upvotes: 3
Reputation: 5092
This happened to me after installing Compare Side-By-Side. The error message specified that SBSCompareTheme.theme
could not be found. I don't remember the exact sequence of events, but I remember that at some point, I uninstalled the plugin, and the error message kept appearing.
It turns out that the theme file was referenced in the Local/Session.sublime_session
file (~/Application Support/Sublime Text 3/Local/Session.sublime_session
under OSX).
I edited that file by hand to remove any reference to the theme file, and the problem went away!
Upvotes: 9
Reputation: 11
GO to Preferences->Browse Packages->User->open HTML.sublime-settings
then remove the line with "color_scheme"
and save it.
if it doesn't work, just open PHP.sublime-settings instead of HTML.sublime-settings and do the same thing.
Upvotes: 1
Reputation: 151
Sometimes, a couple of opened files ignores color schemes settings modifications, I had the same bug then ran this in the ST3 console :
[ v.settings().erase("color_scheme") for views in [ w.views() for w in sublime.windows() ] for v in views ]
This python code is pretty self explanatory.
With this, no need to close/re-open incriminated files for the bugs to go away.
Upvotes: 14
Reputation: 317
You need to put the theme file inside Packages\Color Scheme - Default.sublime-package
.
Open Color Scheme - Default.sublime-package
with 7 zip (archive tool-you may use your favorite tool), and drag Monokai Gray.tmTheme
into it. Then go to Sublime, and click Preferences -> Color Scheme and find Monokai Gray. When you choose the color scheme, it automatically updates the setting with this:
"color_scheme": "Packages/Color Scheme - Default/MonoKai Gray.tmTheme",
Note: I am using Sublime 3. I am not able to share my screen shot due to lack of reputation.
Upvotes: 16
Reputation: 21
I was having a similar issue with certain files/syntaxes after deleting a package (MarkdownEditing).
My issue was that some packages creates a syntax-specific *.sublime-settings
file (Markdown.sublime-settings
in my case). The file is location in Library/Application Support/Sublime Text 3/Packages/User
.
This settings-file overwrites your color-scheme settings elsewhere. Removing it solved the issue.
Upvotes: 2
Reputation: 1
GO to Preference->package control->package control user setting and paste this code..
{
"always_show_minimap_viewport": true,
"bold_folder_labels": true,
"color_scheme": "Packages/Material Theme/schemes/Material-Theme.tmTheme",
"draw_minimap_border": true,
"draw_white_space": "selection",
"font_face": "Source Code Pro Medium",
"font_size": 13,
"ignored_packages":
[
"Markdown",
"Vintage"
],
"indent_guide_options":
[
"draw_normal",
"draw_active"
],
"line_padding_bottom": 3,
"line_padding_top": 3,
"material_theme_accent_orange": true,
"overlay_scroll_bars": 3,
"theme": "Default.sublime-theme",
"trim_trailing_white_space_on_save": true,
"word_wrap": false
}
Upvotes: -1
Reputation: 3272
Copy the source code of the .tmTheme file from Github.
Open your non-working .tmTheme file with Sublime text.
Paste contents, save and restart Sublime text.
Upvotes: 0
Reputation: 6895
I was getting similar error for the package PlainTasks. By renaming the folder PlainTasks-master to PlainTasks and restarting Sublime resolved the issue.
Upvotes: 0
Reputation: 38772
Menu > Sublime Text > Preferences > Settings - User> remove the line with `"color_scheme"`.
After saving the line was regenerated for me with a reference to a theme that actually exists.
Upvotes: 42
Reputation: 1
delete the user and you can fined it in C:\Users\webduang\AppData\Roaming\Sublime Text 3\Packages
Upvotes: -1
Reputation: 11
That's easy! Click Preferences ->Setting-User
you'll find your "color_scheme" attribute is your error message. change it with a exist ".tmTheme" file.
Upvotes: 1
Reputation: 12882
This happens to me every now and then when my theme in use is being updated via Package Control. Try switching to a different theme, optionally remove and re-install Monokai Gray, then switch back to it.
Upvotes: 2