Sublime Forum

Startup errors keep me from using most functionality

#1

So this is a weird one… when I start up ST3 things appear to be normal. But if I try any keybinds, try to sort, permute lines, or a slew of other things … nothing happens. If you pull down the Edit menu, sorting and permuting options are greyed out (along with most other things in the Edit menu). This had happened to me in the past, and I assumed that it was related to how I was running ST3 portable out of my dropbox. So I’ve since completely cleaned that out and installed the normal version (non-portable) to its default location. It worked fine for awhile, then this morning started doing the same thing.

Viewing the console shows me quite a few errors. I’ve pasted that below, but I’ve truncated a bit of it. As you can see, the Traceback is the exact same for each module it tries to load. Has anyone else seen this?

startup, version: 3025 windows x64 channel: dev executable: /C/Program Files/Sublime Text 3/sublime_text.exe working dir: /C/Program Files/Sublime Text 3 packages path: /C/Users/seanwcom/AppData/Roaming/Sublime Text 3/Packages state path: /C/Users/seanwcom/AppData/Roaming/Sublime Text 3/Local hardware concurrency: 8 zip path: /C/Program Files/Sublime Text 3/Packages zip path: /C/Users/seanwcom/AppData/Roaming/Sublime Text 3/Installed Packages resources scanned found 6 files for base name Default.sublime-keymap found 1 files for base name Default.sublime-mousemap found 3 files for base name Main.sublime-menu loading bindings loading pointer bindings found 1 files for base name Phoenix Light.sublime-theme theme loaded app ready pre session restore time: 0.0605332 using gamma: 1.4 (err: 27.3496) startup cache, total files: 279 cache hits: 279 startup time: 0.168533 first paint time: 0.169533 launching: /C/Program Files/Sublime Text 3/plugin_host.exe Traceback (most recent call last): File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 633, in update_compressed_packages multi_importer.loaders = [ZipLoader(p) for p in pkgs] File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 633, in <listcomp> multi_importer.loaders = [ZipLoader(p) for p in pkgs] File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 595, in __init__ self.contents'.'.join(paths)] = z.read(f).decode('utf-8') UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdf in position 1192: invalid continuation byte reloading plugin Default.block Traceback (most recent call last): File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 73, in reload_plugin m = importlib.import_module(modulename) File "X/importlib/__init__.py", line 88, in import_module File "<frozen importlib._bootstrap>", line 1577, in _gcd_import File "<frozen importlib._bootstrap>", line 1558, in _find_and_load File "<frozen importlib._bootstrap>", line 1505, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1577, in _gcd_import File "<frozen importlib._bootstrap>", line 1558, in _find_and_load File "<frozen importlib._bootstrap>", line 1522, in _find_and_load_unlocked ImportError: No module named 'Default' reloading plugin Default.comment ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.copy_path ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.delete_word ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.detect_indentation ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.duplicate_line ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.echo ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.exec ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.fold ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.font ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.goto_line ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.history_list ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.indentation ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.kill_ring ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.mark ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.new_templates ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.open_file_settings ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.open_in_browser ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.pane ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.paragraph ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.paste_from_history ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.save_on_focus_lost ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.scroll ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.set_unsaved_view_name ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.side_bar ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.sort ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.swap_line ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.switch_file ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.symbol ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.transform ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.transpose ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin Default.trim_trailing_white_space ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Default' reloading plugin CSS.css_completions ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'CSS' reloading plugin Diff.diff ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Diff' reloading plugin HTML.encode_html_entities ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'HTML' reloading plugin HTML.html_completions ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'HTML' reloading plugin StickySearch.StickySearch ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'StickySearch' reloading plugin StringUtilities.stringutilities ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'StringUtilities' reloading plugin Web Inspector 3.swi ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Web Inspector 3' reloading plugin Web Inspector 3.websocket ... [SAME EXACT TRACEBACK AS ABOVE] ... ImportError: No module named 'Web Inspector 3' plugins loaded loaded 837 snippets

0 Likes

#2

It looks like you have a package that contains a non-utf8 encoded .py file. This won’t work with Sublime Text 3.

0 Likes

#3

Ah hah… that was the problem indeed. Removing one at a time led me to the correct one. I installed what I thought was a ST3 compatible package, but used the wrong version.

Thanks jps!

0 Likes