question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeError: can only assign an iterable

See original GitHub issue

Linting 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:closed
  • Created 6 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
kastecommented, Feb 13, 2018

No, shouldn’t be so. ${folder} should point to the first open folder.

0reactions
kastecommented, Feb 14, 2018

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. 😕

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found