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

Installation fails with Python3.10.6 - AttributeError: module 'collections' has no attribute 'Iterable' #146

Closed
Drookoo opened this issue Jun 20, 2023 · 1 comment

Comments

@Drookoo
Copy link

Drookoo commented Jun 20, 2023

Description

Installing Fame on a clean install of Ubuntu 22.04 LTS (Jammy) with Python 3.10.6 results in the following error after running utils/run.sh utils/install.py

Debug

[Include the output of utils/run.sh utils/install.py]

Choose your installation type:

 - 1: Web server + local worker
 - 2: Remote worker

[?] Installation type [1]: 1
[+] performing local install
[?] FAME's URL for worker [http://localhost]: 
[+] Creating configuration file ...
[+] SSH key already exists.
[+] Creating initial data ...
[+] Creating first user (as administrator) ...
[?] User email address: [admin@changeme.fame]: 
[?] Password: 
[?] Confirm: 
[+] User created.
[+] Downloaded avatar.
[+] Installing community repository ...
[+] Cloning 'community'
Traceback (most recent call last):
  File "/root/fame/utils/install.py", line 258, in <module>
    main()
  File "/root/fame/utils/install.py", line 251, in main
    perform_local_installation(context)
  File "/root/fame/utils/install.py", line 177, in perform_local_installation
    add_community_repository()
  File "/root/fame/utils/install.py", line 154, in add_community_repository
    repo.do_clone()
  File "/root/fame/fame/core/repository.py", line 73, in do_clone
    internals.update_value("last_update", time())
  File "/root/fame/fame/common/mongo_dict.py", line 51, in update_value
    mongo_field = self._mongo_field(names)
  File "/root/fame/fame/common/mongo_dict.py", line 85, in _mongo_field
    if isinstance(names, collections.Iterable) and not isinstance(names, str):
AttributeError: module 'collections' has no attribute 'Iterable'
@Augustin-FL
Copy link
Collaborator

Hi,

Thanks for the heads up
I just fixed it in #145 . I will close this issue, feel free to re-open it (or to re-open a new one) if you see other errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants