-
Notifications
You must be signed in to change notification settings - Fork 730
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
AbstractEntry import exception due to old beautifulsoup4 #538
Comments
What is the solution to this problem? |
Hi, Here is the Log Thanks for help |
Actual behavior
After updating packages, I got this exception with 0.18.1. I then upgraded to 0.19 hoping it would fix the issue but with the same result:
After rolling back several packages without any success, I went into the debugger and figured out that this was the problem as shown in ipython:
This is a known issue with beautifulsoup.
The version of beautifulsoup4 that zinnia requires is >=4.3.2. I had a newer version at 4.4.1 but still had an exception if any other package updates the html5lib to 1.0.1. In my case the culprit was
bleach
that was required by another package.Expected behavior
The issue was resolved by upgrading beautifulsoup4 to 4.6.0. Zinnia should require a newer version of this package that works with html5lib==1.0.1.
It would also be great if zinnia could give more information about the AbstractEntry import exception. I noticed from old issues that it has come up before after package updates and it's not an informative error. I think the code of
zinnia/models_bases/__init__.py
could be modified to print out the traceback which is what i had to do in the debugger to figure out the source of the problem:Steps to reproduce the issue
Specifications
Disclaimer
Before submitting an issue make sure you have:
The text was updated successfully, but these errors were encountered: