Closed trev-dev closed 4 years ago
I have managed to isolate my issue to Pelican 4.01. The problem does not occur in Pelican 3.71. I'm assuming some sort of breaking change occurred between 3.71 and 4.0 for the pelican_comment_system
Dug into your pull requests. Replicating this merge request fixes the plugin for me in pelican 4.0.1 - https://github.com/Scheirle/pelican_comment_system/pull/7
Thanks to @MinchinWeb, the fix for this issue has been merged upstream and has been automatically published as Pelican 4.1.1, courtesy of AutoPub. ✨
Heyo
I've been trying to get this system to work for me. Every time I try to run pelican I get as far as generating the comment XML feeds and then the program breaks down and nothing else gets rendered.
At this point I am not using any of the comments in any templates. I'm simply trying to run pelican with the plugin, I keep getting
NoneType object has no attribute 'lower'
I've tried both versions 1.3.0 and 1.4.0 of pelican_comment_system. I'm using Pelican 4.0.1 with pelican_comment_system and pelican installed in a Pipenv.
Here's my settings:
My file paths
The only reference to the
str.lower()
method I can find is in the init file: https://github.com/Scheirle/pelican_comment_system/blob/0ac19ef03e81945d3ac6f58cd8ae2162f5feb9ca/pelican_comment_system/__init__.py#L182-L195I tried wrapping the inside of the
if
block in a try/catch, if I do this, the script finishes, all of my site gets generated and 0 comments get generated, so the problem is definitely here. Perhaps it's in thereader_read_file()
method.