Closed theWorldofYu closed 4 years ago
when i run pelican content --debug, the information show as follow:
ERROR: Could not process .\with-meta-file.ipynb | ValueError: embedded null byte |___ | Traceback (most recent call last): | File "d:\venv\blogenv\lib\site-packages\pelican\generators.py", line 523, in generate_context | context_sender=self) | File "d:\venv\blogenv\lib\site-packages\pelican\readers.py", line 526, in read_file | content, reader_metadata = reader.read(path) | File "D:\blog\plugins\ipynb\markup.py", line 81, in read | content, info = get_html_from_filepath(filepath) | File "D:\blog\plugins\ipynb\core.py", line 91, in get_html_from_filepath | content, info = exporter.from_filename(filepath) | File "d:\venv\blogenv\lib\site-packages\nbconvert\exporters\exporter.py", line 171, in from_filename | resources['metadata']['modified_date'] = modified_date.strftime(text.dat e_format) | ValueError: embedded null byte
when i run pelican content --debug, the information show as follow: