Getting XML instead of EPF
Symptoms
You run the command with --output-format epf, but get XML files instead:
python -m 1c_processor_generator yaml ^
--config config.yaml ^
--handlers-file handlers.bsl ^
--output output/ ^
--output-format epf
Instead of an .epf file, XML files appear in the output/ folder.
Cause
The generator couldn't find 1C Designer (1cv8.exe) on your computer. EPF compilation requires an installed and licensed 1C:Enterprise 8.3 Designer.
Solution
Step 1: Check if 1C Designer is found:
python -m 1c_processor_generator setup-1c --check
Step 2: If Designer is not found, specify the path explicitly:
python -m 1c_processor_generator yaml ^
--config config.yaml ^
--handlers-file handlers.bsl ^
--output output/ ^
--output-format epf ^
--designer-path "C:\Program Files\1cv8\8.3.25.1394\bin\1cv8.exe"
* Replace the version (8.3.25.1394) with your installed 1C version
Or set an environment variable (once):
$env:DESIGNER_1C_PATH = "C:\Program Files\1cv8\8.3.25.1394\bin\1cv8.exe"
set DESIGNER_1C_PATH=C:\Program Files\1cv8\8.3.25.1394\bin\1cv8.exe
Step 3: If 1C is found but XML is still generated — run setup-1c to create the information base:
python -m 1c_processor_generator setup-1c
Common causes
- 1C is not installed — PRO features require a licensed 1C Designer
- 1C installed in non-standard folder — specify the path explicitly via
--designer-path - No information base — run
setup-1cto create one - Compilation error — check the log for BSL code errors