Open
Description
Overview Description
As I was working through the getting started tutorial and tried to run this code coala --files=src/\*.c --bears=SpaceConsistencyBear --save
, I got the following output:
An unknown error occurred. This is a bug. We are sorry for the inconvenience. Please contact the developers for assistance. During execution of coala an exception was raised. This should never happen. When asked for, the following information may help investigating:
[INFO][10:49:06] Exception was:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/coalib/coala.py", line 35, in main
from coalib.output.ConsoleInteraction import (
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/coalib/output/ConsoleInteraction.py", line 13, in <module>
from coalib.misc.DictUtilities import inverse_dicts
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/coalib/misc/DictUtilities.py", line 1, in <module>
from collections import defaultdict, Iterable, OrderedDict
ImportError: cannot import name 'Iterable' from 'collections' (/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/collections/__init__.py)
After reading about a similar issue in the past, I ran pip install 'setuptools==17.0'
but that still didn't resolve the issue.
Steps to Reproduce
- git clone https://github.com/coala/coala-tutorial
- cd coala-tutorial
- coala --files=src/*.c --bears=SpaceConsistencyBear --save
- pip install 'setuptools==17.0'
Expected Results
"Please enter a value for the setting "use_spaces" (True if spaces
are to be used instead of tabs.) needed by SpaceConsistencyBear
for section "cli"
Metadata
Metadata
Assignees
Labels
No labels