TypeError: can only assign an iterable
See original GitHub issueLinting triggers automatically, and I get this output in the console:
SublimeLinter: ERROR:
Lint task failed.
Traceback (most recent call last):
File "lint.backend in /home/mandx/.config/sublime-text-3/Installed Packages/SublimeLinter.sublime-package", line 201, in await_futures
File "./python3.3/concurrent/futures/_base.py", line 394, in result
File "./python3.3/concurrent/futures/_base.py", line 353, in __get_result
File "./python3.3/concurrent/futures/thread.py", line 54, in run
File "lint.backend in /home/mandx/.config/sublime-text-3/Installed Packages/SublimeLinter.sublime-package", line 96, in execute_lint_task
File "lint.linter in /home/mandx/.config/sublime-text-3/Installed Packages/SublimeLinter.sublime-package", line 908, in lint
File "lint.linter in /home/mandx/.config/sublime-text-3/Installed Packages/SublimeLinter.sublime-package", line 631, in get_cmd
File "lint.linter in /home/mandx/.config/sublime-text-3/Installed Packages/SublimeLinter.sublime-package", line 667, in build_cmd
TypeError: can only assign an iterable
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
TypeError: can only assign an iterable - Values to list
You can only assign an iterable to a slice; something with 0 or more values, not one specific value. I'd not pre-build the...
Read more >3.4.1. Lists — python_for_ss 0.1.1 documentation
The Error message here “TypeError: can only assign an iterable” refers to a general class containing containers called iterables, the root of the...
Read more >TypeError: can only join an iterable in Python | bobbyhadz
The Python "TypeError: can only join an iterable" occurs when we pass a non-iterable value to the str.join() method, e.g. None from calling...
Read more >Python TypeError: can only join an iterable Solution
The “TypeError: can only join an iterable” error is caused when you try to join a value that is not iterable to a...
Read more >inserting into a list - Python - Bytes
I've tried all kinds of combinations of slicing assignment, but I always get: TypeError: can only assign an iterable
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
No, shouldn’t be so. ${folder} should point to the first open folder.
Surprisingly, SL-eslint falls back to using the global eslint for unsaved views. So, PR #989 for that. (Did not find an issue on the eslint repo, surprisingly as well.)
Note @mandx your project settings don’t do anything here.
paths
is a setting which can only be applied globally (in the User Settings). Then again,${folder}
etc variable substitutions only work for linter settings. 😕