daveleroy / SublimeDebugger

Graphical Debugger for Sublime Text for debuggers that support the debug adapter protocol
MIT License
366 stars 41 forks source link

Error During Plugin Installation: bridge33.py not found #225

Closed iltenahmet closed 11 months ago

iltenahmet commented 11 months ago

Encountered an error during the installation of the Debugger plugin for Sublime Text. Both automated installation via Package Control and manual installation methods were attempted, but neither were successful.

The console displayed an error message indicating a FileNotFoundError related to bridge33.py. None of the command palette commands work.

Console Output when installing the package: ignored packages updated to: ["Debugger"] reloading settings Packages/User/Package Control.sublime-settings reloading settings Packages/User/Preferences.sublime-settings reloading settings Packages/User/Package Control.sublime-settings ignored packages updated to: [] reloading settings Packages/User/Package Control.sublime-settings reloading settings Packages/User/Preferences.sublime-settings reloading plugin Debugger.start Debugger: Installing Debugger33 Traceback (most recent call last): File "C:\Program Files\Sublime Text\Lib\python38\sublime_plugin.py", line 432, in load_module m.plugin_loaded() File "C:\Users\ailte\AppData\Roaming\Sublime Text\Packages\Debugger\start.py", line 56, in plugin_loaded data = sublime.load_resource("Packages/Debugger/modules/adapters/util/bridge33.py") File "C:\Program Files\Sublime Text\Lib\python38\sublime.py", line 1172, in load_resource raise FileNotFoundError(f'resource "{name}" not found') FileNotFoundError: resource "Packages/Debugger/modules/adapters/util/bridge33.py" not found reloading python 3.3 plugin Debugger33.bridge33 generating syntax summary reloading settings Packages/User/Preferences.sublime-settings

Console output when trying debugger: open command: (w/ the error AttributeError: type object 'SettingsRegistery' has no attribute 'settings') Traceback (most recent call last): File "C:\Program Files\Sublime Text\Lib\python38\sublime_plugin.py", line 1501, in isvisible ret = self.is_visible(args) File "C:\Users\ailte\AppData\Roaming\Sublime Text\Packages\debugger\modules\command.py", line 105, in is_visible return command.is_visible(self.window) File "C:\Users\ailte\AppData\Roaming\Sublime Text\Packages\debugger\modules\command.py", line 76, in is_visible if self.flags & Command.development and not Settings.development: File "C:\Users\ailte\AppData\Roaming\Sublime Text\Packages\debugger\modules\settings.py", line 17, in get return SettingsRegistery.settings.get(self.key, self.default) AttributeError: type object 'SettingsRegistery' has no attribute 'settings' Traceback (most recent call last): File "C:\Program Files\Sublime Text\Lib\python38\sublime_plugin.py", line 1501, in isvisible ret = self.is_visible(args) File "C:\Users\ailte\AppData\Roaming\Sublime Text\Packages\debugger\modules\command.py", line 104, in is_visible command = CommandsRegistry.commands_by_action[action] KeyError: 'lldb_display' Traceback (most recent call last): File "C:\Program Files\Sublime Text\Lib\python38\sublime_plugin.py", line 1501, in isvisible ret = self.is_visible(args) File "C:\Users\ailte\AppData\Roaming\Sublime Text\Packages\debugger\modules\command.py", line 104, in is_visible command = CommandsRegistry.commands_by_action[action] KeyError: 'lldb_toggle_dereference' Traceback (most recent call last): File "C:\Program Files\Sublime Text\Lib\python38\sublime_plugin.py", line 1501, in isvisible ret = self.is_visible(args) File "C:\Users\ailte\AppData\Roaming\Sublime Text\Packages\debugger\modules\command.py", line 105, in is_visible return command.is_visible(self.window) File "C:\Users\ailte\AppData\Roaming\Sublime Text\Packages\debugger\modules\command.py", line 76, in is_visible if self.flags & Command.development and not Settings.development: File "C:\Users\ailte\AppData\Roaming\Sublime Text\Packages\debugger\modules\settings.py", line 17, in get return SettingsRegistery.settings.get(self.key, self.default) AttributeError: type object 'SettingsRegistery' has no attribute 'settings' Traceback (most recent call last): File "C:\Program Files\Sublime Text\Lib\python38\sublimeplugin.py", line 1657, in run return self.run(**args) File "C:\Users\ailte\AppData\Roaming\Sublime Text\Packages\debugger\modules\command.py", line 97, in run command.run(self.window, kwargs) File "C:\Users\ailte\AppData\Roaming\Sublime Text\Packages\debugger\modules\command.py", line 63, in run debugger = Debugger.create(window, skip_project_check = bool(self.flags & Command.allow_debugger_outside_project)) File "C:\Users\ailte\AppData\Roaming\Sublime Text\Packages\debugger\modules\debugger.py", line 39, in create debugger = Debugger.get(window, create=True, skip_project_check=skip_project_check) File "C:\Users\ailte\AppData\Roaming\Sublime Text\Packages\debugger\modules\debugger.py", line 58, in get raise core.Error('We shouldn\'t be creating another debugger instance for this window...') debugger.modules.core.error.Error: We shouldn't be creating another debugger instance for this window...

iltenahmet commented 11 months ago

I don't know why but the issue was gone the next time I started up my computer and opened sublime.