We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using this module with Pelican > 4.0 gives this error message: CRITICAL: module 'pelican.contents' has no attribute 'is_valid_content'
I identified the error is in the file entities.py in line 419:
entities.py
if not contents.is_valid_content(entity_or_draft, f): self._add_failed_source_path(f) continue
My quick & dirty fix for this problem was replacing those lines with this:
if not entity_or_draft.is_valid(): self._add_failed_source_path(f) continue
--
Laszlo
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Using this module with Pelican > 4.0 gives this error message:
CRITICAL: module 'pelican.contents' has no attribute 'is_valid_content'
I identified the error is in the file
entities.py
in line 419:My quick & dirty fix for this problem was replacing those lines with this:
--
Laszlo
The text was updated successfully, but these errors were encountered: