Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

g_server not being initialized #583

Open
Ristovski opened this issue Apr 30, 2018 · 1 comment
Open

g_server not being initialized #583

Ristovski opened this issue Apr 30, 2018 · 1 comment

Comments

@Ristovski
Copy link

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?

@arthurlt
Copy link

Also wondering if this plugin is no longer being maintained?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants