-
Notifications
You must be signed in to change notification settings - Fork 251
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
Uncaught TypeError: source.onDidExpand is not a function #478
Comments
Odd. Are there any symlinks to directories in the tree-view, perchance? |
Just added a screenshot that shows the graphical part of this error. Nope, none of them are symlinks. |
The folder name goes off the edge of the tree view (so to see it all you have to horizontally scroll it to the right). Other folders that are not affected by this bug do not. |
Could you run this in the dev console, please? console.dir(require(atom.packages.loadedPackages["file-icons"].path + "/lib/filesystem/filesystem.js")); Then expand its |
Anything out of the ordinary when you open this? Is there stuff in the console.dir(require(atom.packages.loadedPackages["file-icons"].path + "/lib/log.js")); |
Ugh, still can't reproduce. @fusion809, could you please clone master locally, and see if ca93b0e fixes this? After checking, copy me the results of Log's |
That latest commit seems to have fixed it. It also fixed another minor bug wherein one of my vim.spec files (and yes this does mean another one of my vim.spec files was assigned this logo without an issue) wasn't given the Red Hat logo. |
Ace, good to know. 👍 I'll wait for a day or so before cutting another patch release, just in case there are other bugs reported that need to be addressed. Just keep using your local copy until then. =) |
Not exactly what triggered this error but I think it's got to do with expanding and collapsing folders in tree view. Here is a screenshot showing the graphical part of the error:
Atom Version: 1.12.7
Electron Version: 1.3.13
System: "Fedora release 25"
Thrown From: file-icons package, v2.0.3
Stack Trace
Uncaught TypeError: source.onDidExpand is not a function
Commands
Config
Installed Packages
The text was updated successfully, but these errors were encountered: