dart-sublime-bundle icon indicating copy to clipboard operation
dart-sublime-bundle copied to clipboard

g_server not being initialized

Open Ristovski opened this issue 6 years ago • 1 comments

On the latest ST3 dev build, this plugin seems completely broken. Immediately upon loading it, the following error appears in the console:

Traceback (most recent call last):
  File "/home/rafael/.config/sublime-text-3/Packages/Dart/lib/path.py", line 78, in inner
    return func(self, view)
  File "/home/rafael/.config/sublime-text-3/Packages/Dart/analyzer.py", line 133, in on_activated
    g_server.add_root(view, view.file_name())
AttributeError: 'NoneType' object has no attribute 'add_root'

With many consecutive errors of similar nature (g_server being 'NoneType')

The dart SDK path is correct and the dart_enable_analysis_server setting has no effect on this issue.

I have confirmed my SDK install as working with both Atom and VSCode - where the plugins have no issue using it.

This plugin has not been updated since 2015 - shall it be considered no longer maintained?

Ristovski avatar Apr 30 '18 20:04 Ristovski

Also wondering if this plugin is no longer being maintained?

arthurlt avatar Jun 10 '18 05:06 arthurlt