randy3k / SendCode

Send code and text to macOS and Linux Terminals, iTerm, ConEmu, Cmder, Tmux, Terminus; R (RStudio), Julia, IPython.
MIT License
204 stars 28 forks source link

sendCode suddenly not working on macOS mojave #158

Closed ajw2329 closed 2 years ago

ajw2329 commented 2 years ago

Hello -- First of all, thanks so much for the fantastic suite of tools you have created -- I'm a big fan!

I've been using SendCode successfully for quite a while, but today it suddenly stopped working for me. I'm running macOS Mojave 10.14.6, and Sublime Text build 4121, with SendCode v0.4.21 installed via package control. I've tried reinstalling but to no avail.

Here's the message I get in the sublime console.

Traceback (most recent call last): File "/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublimeplugin.py", line 1494, in run return self.run(edit) File "/Users/wallaca4/Library/Application Support/Sublime Text 3/Packages/SendCode/send_code.py", line 22, in run getter = CodeGetter.initialize(self.view) File "/Users/wallaca4/Library/Application Support/Sublime Text 3/Packages/SendCode/code_getter/getter.py", line 19, in initialize PATTERN = re.compile(r""" File "/Users/wallaca4/Library/Application Support/Sublime Text 3/Packages/SendCode/settings.py", line 15, in init self.s = sublime.load_settings("SendCode.sublime-settings") AttributeError: 'NoneType' object has no attribute 'load_settings'

Would really appreciate any advice here. Thanks again!

randy3k commented 2 years ago

Please restart sublime first. It usually happens when Package control upgrades the package.

ajw2329 commented 2 years ago

It seems to work now -- thanks very much for the help!