Hello! I installed the last version of pg_export and tried to export db. Finally I got an error:
Error on render template: PG_12\in\database.sql
Traceback (most recent call last):
File "C:\Users\cassiopeia92\AppData\Local\Programs\Python\Python39\Scripts\pg_export-script.py", line 33, in <module>
sys.exit(load_entry_point('pg-export==2.0.1', 'console_scripts', 'pg_export')())
File "c:\users\cassiopeia92\appdata\local\programs\python\python39\lib\site-packages\pg_export\main.py", line 50, in main
e.dump_structure(args.out_dir)
File "c:\users\cassiopeia92\appdata\local\programs\python\python39\lib\site-packages\pg_export\extractor.py", line 107, in dump_structure
self.extract_structure()
File "c:\users\cassiopeia92\appdata\local\programs\python\python39\lib\site-packages\pg_export\extractor.py", line 76, in extract_structure
render(
File "c:\users\cassiopeia92\appdata\local\programs\python\python39\lib\site-packages\pg_export\render.py", line 25, in render
res = env.get_template(template_name).render(context)
File "c:\users\cassiopeia92\appdata\local\programs\python\python39\lib\site-packages\jinja2\environment.py", line 883, in get_template
return self._load_template(name, self.make_globals(globals))
File "c:\users\cassiopeia92\appdata\local\programs\python\python39\lib\site-packages\jinja2\environment.py", line 857, in _load_template
template = self.loader.load(self, name, globals)
File "c:\users\cassiopeia92\appdata\local\programs\python\python39\lib\site-packages\jinja2\loaders.py", line 115, in load
source, filename, uptodate = self.get_source(environment, name)
File "c:\users\cassiopeia92\appdata\local\programs\python\python39\lib\site-packages\jinja2\loaders.py", line 177, in get_source
pieces = split_template_path(template)
File "c:\users\cassiopeia92\appdata\local\programs\python\python39\lib\site-packages\jinja2\loaders.py", line 32, in split_template_path
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: PG_12\in\database.sql
Hello! I installed the last version of pg_export and tried to export db. Finally I got an error:
Fix it please. Best regards=)