Traceback (most recent call last):


 "c:\users\micah\.pyenv\pyenv-win\versions\3.8.2\lib\runpy.py", line 193, in _run_module_as_main

return _run_code(code, main_globals, None,


 "c:\users\micah\.pyenv\pyenv-win\versions\3.8.2\lib\runpy.py", line 86, in _run_code

exec(code, run_globals)


 "C:\Users\micah\.local\bin\jrnl.exe\__main__.py", line 7, in <module>


 "c:\users\micah\.local\pipx\venvs\jrnl\lib\site-packages\jrnl\cli.py", line 35, in cli

return run(args)


 "c:\users\micah\.local\pipx\venvs\jrnl\lib\site-packages\jrnl\jrnl.py", line 73, in run

search_mode(**kwargs)


 "c:\users\micah\.local\pipx\venvs\jrnl\lib\site-packages\jrnl\jrnl.py", line 179, in search_mode

_display_search_results(**kwargs)


 "c:\users\micah\.local\pipx\venvs\jrnl\lib\site-packages\jrnl\jrnl.py", line 337, in _display_search_results

print(exporter.export(journal, args.filename))


 "c:\users\micah\.local\pipx\venvs\jrnl\lib\site-packages\jrnl\plugins\text_exporter.py", line 77, in export

return cls.write_file(journal, output)


 "c:\users\micah\.local\pipx\venvs\jrnl\lib\site-packages\jrnl\plugins\text_exporter.py", line 35, in write_file

f.write(cls.export_journal(journal))
TypeError: write() argument must be str, not None

Traceback (most recent call last):


 "./manage.py", line 24, in <module>

execute_from_command_line(sys.argv)


 "/opt/papermerge/.venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line

utility.execute()


 "/opt/papermerge/.venv/lib/python3.8/site-packages/django/core/management/__init__.py", line 395, in execute

self.fetch_command(subcommand).run_from_argv(self.argv)


 "/opt/papermerge/.venv/lib/python3.8/site-packages/django/core/management/base.py", line 330, in run_from_argv

self.execute(*args, **cmd_options)


 "/opt/papermerge/.venv/lib/python3.8/site-packages/django/core/management/base.py", line 371, in execute

output = self.handle(*args, **options)


 "/opt/papermerge/.venv/lib/python3.8/site-packages/django/core/management/base.py", line 85, in wrapped

res = handle_func(*args, **kwargs)


 "/opt/papermerge/.venv/lib/python3.8/site-packages/django/core/management/commands/migrate.py", line 75, in handle

self.check(databases=[database])


 "/opt/papermerge/.venv/lib/python3.8/site-packages/django/core/management/base.py", line 392, in check

all_issues = checks.run_checks(


 "/opt/papermerge/.venv/lib/python3.8/site-packages/django/core/checks/registry.py", line 70, in run_checks

new_errors = check(app_configs=app_configs, databases=databases)


 "/opt/papermerge/.venv/lib/python3.8/site-packages/papermerge/core/checks.py", line 110, in binaries_check

binary = os.path.basename(binary_path)


 "/usr/lib/python3.8/posixpath.py", line 142, in basename

p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType`
