Skip to content
This repository was archived by the owner on May 29, 2021. It is now read-only.

Adding import creates "unable to get content" errors #99

Open
halverneus opened this issue Jul 16, 2015 · 3 comments
Open

Adding import creates "unable to get content" errors #99

halverneus opened this issue Jul 16, 2015 · 3 comments

Comments

@halverneus
Copy link

Typing the following to start importing a package:
import "p"

Creates an unclearable error that after completion/removal of the import line results in:

Error Unable to get content: FileSystemException: Cannot open file, path= `/path/to/project/web/p' (OS Error: No such file or directory, errno = 2)

This also creates an error for every character. For example, typing:

import "pac"

will result in an error for file "p", "pa" and "pac".
Recover requires either disabling/enabling dart-tools or restarting Atom (if so many exist that the application nearly freezes).

Currently on Kubuntu 14.04, Atom 1.0.2, dart-tools 0.9.23 with the following additional packages:

  • autoclose-html
  • file-icons
  • git-plus
  • go-plus
  • go-rename
  • highlight-selected
  • linter
  • linter-js-standard
  • minimap
  • pigments
@devoncarew
Copy link
Collaborator

This is caused by this issue: dart-lang/sdk#23754

@halverneus
Copy link
Author

Do you know of any work around, for the time being (even disabling that analysis server and retain the rest of the functionality)?

@radicaled
Copy link
Owner

http://atom.io/packages/dartlang has most of dart-tools features, and solves this bug.

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

No branches or pull requests

3 participants