最近、python-pelican をバージョン 3.5.0 に更新しました。その後、生成は動作しませんでした。エラーは次のとおりです。
ERROR: Could not process linux/ssh.md
| can't compare offset-naive and offset-aware datetimes
|___
| Traceback (most recent call last):
| File "/usr/local/lib/python2.7/dist-packages/pelican/generators.py", line 502, in generate_context
| context_sender=self)
| File "/usr/local/lib/python2.7/dist-packages/pelican/readers.py", line 492, in read_file
| context=context)
| File "/usr/local/lib/python2.7/dist-packages/pelican/contents.py", line 136, in __init__
| if hasattr(self, 'date') and self.date > SafeDatetime.now():
| TypeError: can't compare offset-naive and offset-aware datetimes
すべてのプラグインを更新しましたが、役に立ちません。
アップグレード前のバージョンは 3.3.0 で、問題なく動作していました。
助けてください、どうすれば解決できますか?
(誤りがあれば申し訳ありませんが、Google翻訳から翻訳しました)