atom: Install: Failed to activate the file-icons package, Cannot read property 'Symbol(Symbol.iterator)' of undefined
Atom thinks this is the same as #476, but discussion there suggests a separate issue. Filing separately, just to be safe.
- Fresh install of Atom
- Install file-icons package - see error
- Restart Atom – all is well.
Atom Version: 1.13.0 Electron Version: 1.3.13 System: Microsoft Windows 10 Pro Insider Preview Thrown From: file-icons package, v2.0.9
Stack Trace
Failed to activate the file-icons package
At Cannot read property 'Symbol(Symbol.iterator)' of undefined
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
at StrategyManager.query (C:\Users\Mike\.atom\packages\file-icons\lib\service\strategy-manager.js:82:25)
at IconDelegate.getCurrentIcon (C:\Users\Mike\.atom\packages\file-icons\lib\service\icon-delegate.js:167:20)
at new IconNode (C:\Users\Mike\.atom\packages\file-icons\lib\service\icon-node.js:43:20)
at new TreeEntry (C:\Users\Mike\.atom\packages\file-icons\lib\consumers\tree-entry.js:41:19)
at TreeView.track (C:\Users\Mike\.atom\packages\file-icons\lib\consumers\tree-view.js:72:25)
at TreeView.rebuild (C:\Users\Mike\.atom\packages\file-icons\lib\consumers\tree-view.js:63:9)
at TreeView.activate (C:\Users\Mike\.atom\packages\file-icons\lib\consumers\tree-view.js:53:8)
at TreeView.updateStatus (C:\Users\Mike\.atom\packages\file-icons\lib\consumers\consumer.js:166:9)
at TreeView.init (C:\Users\Mike\.atom\packages\file-icons\lib\consumers\tree-view.js:30:8)
at ConsumerManager.init (C:\Users\Mike\.atom\packages\file-icons\lib\consumers\all.js:55:13)
at Object.activate (C:\Users\Mike\.atom\packages\file-icons\lib\main.js:19:13)
at Package.module.exports.Package.activateNow (C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package.js:191:19)
at C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package.js:164:32
at Package.module.exports.Package.measure (C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package.js:94:15)
at C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package.js:157:26
at Package.module.exports.Package.activate (C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package.js:154:34)
at PackageManager.module.exports.PackageManager.activatePackage (C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\src\package-manager.js:550:34)
at C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\node_modules\settings-view\lib\package-manager.js:439:29
at exit (C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\node_modules\settings-view\lib\package-manager.js:73:16)
at triggerExitCallback (C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\src\buffered-process.js:299:11)
at C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\src\buffered-process.js:312:11
at Socket.<anonymous> (C:\Users\Mike\AppData\Local\atom\app-1.13.0\resources\app.asar\src\buffered-process.js:181:9)
at emitOne (events.js:101:20)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:493:12)
Commands
-0:38.9.0 sync-settings:restore (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-light-syntax.theme-one-light-ui)
-0:19.6.0 core:confirm (input.hidden-input)
-0:02.1.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always.theme-solarized-light-syntax.theme-one-light-ui)
Config
{
"core": {
"telemetryConsent": "limited",
"themes": [
"one-light-ui",
"solarized-light-syntax"
]
}
}
Installed Packages
# User
editorconfig, v2.2.0 (active)
file-icons, v2.0.9 (inactive)
git-control, v0.8.2 (inactive)
sync-settings, v0.8.1 (active)
atom-dark-syntax, v0.28.0 (inactive)
atom-dark-ui, v0.53.0 (inactive)
atom-light-syntax, v0.29.0 (inactive)
atom-light-ui, v0.46.0 (inactive)
base16-tomorrow-dark-theme, v1.4.0 (inactive)
base16-tomorrow-light-theme, v1.4.0 (inactive)
one-dark-ui, v1.8.2 (inactive)
one-light-ui, v1.8.2 (active)
one-dark-syntax, v1.6.0 (inactive)
one-light-syntax, v1.6.0 (inactive)
solarized-dark-syntax, v1.1.1 (inactive)
solarized-light-syntax, v1.1.1 (active)
about, v1.7.2 (active)
archive-view, v0.62.0 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.14.1 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.33.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.29.0 (inactive)
autosave, v0.23.2 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.43.2 (active)
bracket-matcher, v0.85.1 (active)
command-palette, v0.39.1 (inactive)
deprecation-cop, v0.55.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
exception-reporting, v0.40.0 (active)
find-and-replace, v0.204.5 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.2.0 (active)
go-to-line, v0.31.2 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.60.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.1 (active)
link, v0.31.2 (inactive)
markdown-preview, v0.159.1 (active)
metrics, v1.1.2 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.2 (inactive)
settings-view, v0.244.0 (active)
snippets, v1.0.4 (active)
spell-check, v0.68.5 (active)
status-bar, v1.6.0 (active)
styleguide, v0.48.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.1 (active)
timecop, v0.33.2 (active)
tree-view, v0.211.1 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.35.0 (active)
wrap-guide, v0.39.0 (active)
language-c, v0.54.0 (active)
language-clojure, v0.22.1 (active)
language-coffee-script, v0.48.1 (active)
language-csharp, v0.13.0 (active)
language-css, v0.40.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.43.0 (active)
language-html, v0.47.1 (active)
language-hyperlink, v0.16.1 (active)
language-java, v0.24.0 (active)
language-javascript, v0.122.0 (active)
language-json, v0.18.3 (active)
language-less, v0.29.6 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.37.0 (active)
language-php, v0.37.3 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.1 (active)
language-ruby, v0.70.2 (active)
language-ruby-on-rails, v0.25.1 (active)
language-sass, v0.57.0 (active)
language-shellscript, v0.23.0 (active)
language-source, v0.9.0 (active)
language-sql, v0.25.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.29.1 (active)
language-toml, v0.18.1 (active)
language-xml, v0.34.12 (active)
language-yaml, v0.27.1 (active)
# Dev
No dev packages
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 5
- Comments: 49 (13 by maintainers)
Commits related to this issue
- Validate document.styleSheets before iterating References: file-icons/atom#519 — committed to file-icons/atom by Alhadis 7 years ago
I’m so sorry for the slow response, guys. 😦 Been preoccupied with trying to fix other issues (specifically, unemployment/money/real-world crap, etc).
Fixed, and will cut a release shortly.
Error shows after install only. After restart the plugin works.
Errors apears after install. After restart icons OK. Atom - 1.13.0 file-icons 2.0.9
… could you not.
Okay, I’m back in action now. Am in a position to actually fix this.
I was facing the Same issue but after restart it’s working
file-icons 2.0.9 Atom 1.12.4 Ubuntu 16.04 LTS
THIS JUST IN, AUSSIE INTERNET SUCKS A BOWL OF ARSE.
Third time Vagrant’s timed out while downloading an Ubuntu box. I was hoping of getting the spec-runner setup to test for an Ubuntu environment, but screw it, bugging you guys to clone and test locally might be easier.
Sorry in advance. 😦
Just noting it still happens after update to latest release. Simply after starting Atom error is thrown, but it seems to behave just fine.
Maybe it’s cause for issue #529? (just random thought)
===
Atom Version: 1.11.2 Electron Version: 0.37.8 System: Ubuntu 16.04.1 Thrown From: file-icons package, v2.0.13
Stack Trace
Uncaught TypeError: document.styleSheets[Symbol.iterator] is not a function
Commands
Config
Installed Packages
I swear I read this instead:
The amount of JavaScript I write is beginning to have a psychological toll.
(Ignore the meaningless use of the
deleteoperator, you know what I meant…).Well, i’m completely re-install Atom.
And now all fine, plugin install without error 💃
bump