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

Problems running isdi #51

Open
adrianbone opened this issue Aug 19, 2023 · 2 comments
Open

Problems running isdi #51

adrianbone opened this issue Aug 19, 2023 · 2 comments

Comments

@adrianbone
Copy link

Hello, I followed instructions for Debian system but I get the following error when trying to run isdi. Any ideas?

Traceback (most recent call last):
File "/home/user/20082023/isdi/./isdi", line 9, in
from web import app, sa
File "/home/user/20082023/isdi/web/init.py", line 22, in
import web.view
File "/home/user/20082023/isdi/web/view/init.py", line 2, in
from .consult import client_forms, edit_forms
File "/home/user/20082023/isdi/web/view/consult.py", line 4, in
from web.forms import ClientForm
File "/home/user/20082023/isdi/web/forms/init.py", line 1, in
from .client import ClientForm
File "/home/user/20082023/isdi/web/forms/client.py", line 1, in
from wtforms_alchemy import ModelForm
File "/usr/local/lib/python3.11/dist-packages/wtforms_alchemy/init.py", line 40, in
from .validators import Unique # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/wtforms_alchemy/validators.py", line 1, in
from collections import Iterable, Mapping
ImportError: cannot import name 'Iterable' from 'collections' (/usr/lib/python3.11/collections/init.py)

@drpomeranus
Copy link

If you're using python 3.11, you need a more recent wtforms_alchemy version. Try replacing WTForms-Alchemy==0.16.9 with WTForms-Alchemy==0.18.0 in the requirements.txt, that worked for me at least

@naman
Copy link
Contributor

naman commented Jul 24, 2024

@adrianbone are you still facing an issue with running isdi?

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

3 participants