Closed Road-hog123 closed 6 months ago
By using WSL to run the bash script in a native Linux environment I have been able to generate modules successfully, even when recreating my setup with venv and checking out the state on Feb 8, so it seems like this is related to me trying to use Git Bash.
A way to generate modules natively on Windows would be nice, but for now WSL has come to the rescue.
When I run
gen_module.sh
I get the following error:I have also seen the offset be 1723. Running
gen_module.sh
withGEN_MODULE_CODE_FORMAT=none
succeeds.I attempted to use vscode's Python debugger to debug
gen.py
, but this resulted in a different error on the same line:I was able to dump out the source the apparently contains errors at offset 396 or 1723, but it's nowhere near long enough for that:
I am running
gen_module.sh
with parameters to generate modules for 4.0.2. I'm using Git Bash to be able to run the bash script on Windows 10; and I have created, activated and installed the requirements into a Python 3.11 venv.