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

defusedxml error in migrate with python 3.9 #74

Open
pedregalux opened this issue Jan 29, 2023 · 1 comment
Open

defusedxml error in migrate with python 3.9 #74

pedregalux opened this issue Jan 29, 2023 · 1 comment

Comments

@pedregalux
Copy link

with python 3.9 i got this error when migrate:

    _XMLParser.__init__(self, html, target, encoding)
TypeError: __init__() takes 1 positional argument but 4 were given

i try:
_XMLParser.init(self, target=target, encoding=encoding)

in file:
django-collaborative / env / lib / python3.9 / site-packages / defusedxml / ElementTree.py", line 68

and migrate run ok

@brandonrobertz
Copy link
Collaborator

Where is the failing line of code? Can you paste a full traceback?

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