You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Applying preprocessor includes... Failed to apply preprocessor includes: decoding to str: need a bytes-like object, int found
The log says:
2019-10-08 14:33:52,839 | flt.pandoc | ERROR | Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/foliant/backends/base.py", line 72, in apply_preprocessor
preprocessor_options
File "/usr/local/lib/python3.7/site-packages/foliant/preprocessors/includes.py", line 944, in apply
self.project_path.resolve()
File "/usr/local/lib/python3.7/site-packages/foliant/preprocessors/includes.py", line 902, in process_includes
nohead=options.get('nohead')
File "/usr/local/lib/python3.7/site-packages/foliant/preprocessors/includes.py", line 654, in _process_include
nohead
File "/usr/local/lib/python3.7/site-packages/foliant/preprocessors/includes.py", line 287, in _cut_from_position_to_position
r'^\#{1,6}\s+' + rf'{re.escape(from_heading)}\s*$',
File "/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/re.py", line 259, in escape
pattern = str(pattern, 'latin1')
TypeError: decoding to str: need a bytes-like object, int found
Using the same MD sources, version 1.1.5 works successfully.
The text was updated successfully, but these errors were encountered:
1.1.6 fails stating
The log says:
Using the same MD sources, version 1.1.5 works successfully.
The text was updated successfully, but these errors were encountered: