Open reagle opened 1 year ago
Hi, I think this is probably the https://github.com/sublimehq/sublime_text/issues/5830 and the other tracebacks are unrelated.
Reportedly, the following patch might work around it but I have been unable to reproduce the bug with enough regularity to be able to confirm if it does:
--- a/ChooseImagesCommand.py
+++ b/ChooseImagesCommand.py
@@ -20,6 +20,9 @@ class ImageLinkInsertionChooseImagesCommand(sublime_plugin.TextCommand):
)
def handle_response(self, files):
+ sublime.set_timeout(lambda: self.handle_response_real(files), 100)
+
+ def handle_response_real(self, files):
if files is not None:
self.view.run_command(
"image_link_insertion_insert_images",
macOS 13.4 22F66 arm64 ST4143
Hi, thanks for this! I gave it a try but upon selecting a file, nothing happens and a bunch of errors appear in the console. I'm not sure why I'm seeing tracebacks on other plugins...?