sublime-emacs/sublemacspro

AttributeError: 'module' object has no attribute 'info_for'

epchristi opened this issue · 3 comments

When trying to do a search with sublemacs pro on sublime build 3126, I get the following crash in the sublime console.

Traceback (most recent call last):
File "/opt/sublime_text/sublime_plugin.py", line 812, in run_
return self.run(edit, **args)
File "lib.misc in /home/echristianson/.config/sublime-text-3/Installed Packages/sublemacspro.sublime-package", line 141, in run
File "jove in /home/echristianson/.config/sublime-text-3/Installed Packages/sublemacspro.sublime-package", line 1184, in run_cmd
AttributeError: 'module' object has no attribute 'info_for'
Traceback (most recent call last):
File "/opt/sublime_text/sublime_plugin.py", line 557, in on_query_context
val = callback.on_query_context(v, key, operator, operand, match_all)
File "jove in /home/echristianson/.config/sublime-text-3/Installed Packages/sublemacspro.sublime-package", line 46, in on_query_context

Hi there. Can you tell (from Package Control) which version of the plugin? If type CMD-Shift-P and select "remove package" it shows me all the packages I can remove and the version number.

We did a release today. I'd be sad if it was that one. But there was an issue in the previous release from a few days ago which required that you restart sublime.

Looking harder at the stack trace, I think you do need to restart sublime. And sadly I think you're running the latest version BUT this is a side-effect of already running on the previous version. A screw up that keeps on giving.

So fingers crossed that a restart of sublime will solve the problem.

Or you could just remove and then reinstall the sublemacspro plugin - that might also work.

okay.. Remove, restart, re-install, restart worked.
(just re-installing did not work)
Thanks!