Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

" An unknown error occurred. This is a bug. We are sorry for the inconvenience. Please contact the developers" #6179

Open
alisonqiu opened this issue Jan 9, 2022 · 0 comments

Comments

@alisonqiu
Copy link

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

  1. git clone https://github.com/coala/coala-tutorial
  2. cd coala-tutorial
  3. coala --files=src/*.c --bears=SpaceConsistencyBear --save
  4. 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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant