-
Notifications
You must be signed in to change notification settings - Fork 44
Error with old-style print function #108
Comments
I'm also getting this error message in Atom 1.1.0 - on both OS X 10.11 and Ubuntu 14.04. In trying to reproduce, it seems to happen consistently if there is folded code above the edit point, and not until a space is typed.
Plugins:
Dependencies:
Tried disabling all other plugins (all but linter and linter-flake8) with same result. |
Looks like more issues with the workaround for |
Fix published in v1.9.2, enjoy and please report any further issues. |
Hi all! maybe I'm too late to answer but I use Atom v1.12.x and I had this error. The way i resolved it was inserting the error code of this issue (E901) in ignoring error code in Atom/settings/packages search for linter-flake8. this workaround hide the issue when I insert a "print somevariable" |
@anargu The currently released versions are impossible to reproduce this in, as the entire code path that caused the issue has been removed. It's rather more likely you are using an out of date version of |
Error with old-style print function
TypeError: Cannot read property 'length' of undefined
TypeError: Cannot read property 'length' of undefined
at extractRange (/Users/-/.atom/packages/linter-flake8/lib/main.coffee:99:67)
at /Users/-/.atom/packages/linter-flake8/lib/main.coffee:177:22
Python lib:
flake8==2.4.1
pep8==1.6.2
linter-flake8 version 1.9.1
The text was updated successfully, but these errors were encountered: