Comments (6)
More info from atom notifications:
Atom Version: 0.190.0
System: linux 3.19.3-1-ARCH
Thrown From: linter-flake8 package, v1.3.0
Stack Trace
Uncaught TypeError: undefined is not a function
At /data/linux/configs/atom/packages/linter-flake8/lib/linter-flake8.coffee:40
TypeError: undefined is not a function
at LinterFlake8.destroy (/data/linux/configs/atom/packages/linter-flake8/lib/linter-flake8.coffee:40:17)
at LinterView.remove (/data/linux/configs/atom/packages/linter/lib/linter-view.coffee:247:7)
at /data/linux/configs/atom/packages/linter/lib/linter-view.coffee:119:8
at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:82:11)
at TextEditor.module.exports.TextEditor.destroyed (/usr/share/atom/resources/app/src/text-editor.js:281:27)
at TextEditor.module.exports.Model.destroy (/usr/share/atom/resources/app/src/model.js:45:58)
at Pane.module.exports.Pane.destroyItem (/usr/share/atom/resources/app/src/pane.js:423:18)
at Pane.module.exports.Pane.destroyActiveItem (/usr/share/atom/resources/app/src/pane.js:398:12)
at Workspace.module.exports.Workspace.destroyActivePaneItem (/usr/share/atom/resources/app/src/workspace.js:582:35)
at Workspace.module.exports.Workspace.destroyActivePaneItemOrEmptyPane (/usr/share/atom/resources/app/src/workspace.js:621:21)
at atom-workspace.atom.commands.add.core:close (/usr/share/atom/resources/app/src/workspace-element.js:307:30)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:242:29)
at /usr/share/atom/resources/app/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:521:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:356:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/usr/share/atom/resources/app/src/window-event-handler.js:180:20)
from linter-flake8.
@andya9 thx for investigation, after work I'll try to debug it. This also will be a motivation for me to release new version with the changes that are waiting for it :P.
Unfortunately with the same new version of Atom I can't reproduce it.
from linter-flake8.
Thank’you @badray
I tried now to uninstall and reinstall, but nothing changed.
from linter-flake8.
I reinstalled the python modules too, and now it suddenly works again; I can’t understand what happened, but it seems it wasn’t related to the package itself. =)
from linter-flake8.
@andya9 happy to hear that I was debugging it, and stack trace was making no sense to me 👍
from linter-flake8.
I’m sorry that I caused problems; thank’you for working on this
from linter-flake8.
Related Issues (20)
- Support for PEP 484 - Type Hints HOT 1
- Flake8 rule 'B950' reported an invalid point HOT 1
- Uncaught Error: Cannot find module 'atom-package-deps'Require stack:- $ATOM_HOME/packages\linte...
- Possible error with flake8 address HOT 2
- Linter-Flake8 doesn't work HOT 1
- Uncaught Error: Cannot find module '$ATOM_HOME/packages\linter-flake8\node_modules\underscore-plu...
- Fixing Linter-flake8 HOT 1
- Trying to install linter-flake8 and atom is saying flake8 is not installed on the path HOT 1
- Error: ~/.config/flake8 ignored by linter-flake8
- syntax error
- Linter-Flake8 keeps on crashing HOT 1
- Dependency Dashboard
- Unique issue of using PyScaffold that can cause linter-flake8 settings to 'not work'
- Problem with lines where colon is used: invalid point HOT 1
- Unsure of how to check that everything is installed properly
- linter-flake8 with python 3 only in Majaro Qonos (21.2.6)
- Failed to activate the linter-flake8 package HOT 1
- I think I have found out the problem in my box. The flake8 count unicode characters in a different way. My code contains several unicode lines, and when flake8 reports error, it returns the column number that is much bigger than the actual line length returned by js .length() function. I guess flake8 count a unicode character as 2 while js count it as 1.
- Fail to install linter-flake8
- Flake8 rule 'E999' reported an invalid point
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linter-flake8.