createmodule errors on Windows10 environment: CML or text declaration not at start of entitiy

I’m currenly working my way through the VCV developer tutorial to get to grips with the SDK. I’ve been able to resolve some “unique challenges” presented in a Windows 10 environement, but I’ve hit a stumbling block when it comes to generating a new module.

From inside MyPlugin folder I run

$RACK_SDK/ createmodule MyModule res/MyModule.svg src/MyModule.cpp

where $RACK_SDK is the environment variable name created for my

The createmodule script fails at generating the source file output below:

Module name [MyModule]: MyModule
One-line description (optional) []:
Tags (comma-separated, case-insensitive, see for list) []: VCO
Added MyModule to plugin.json
Panel found at res/MyModule.svg. Generating source file.
Traceback (most recent call last):
  File "E:/Rack-SDK/", line 531, in <module>
  File "E:/Rack-SDK/", line 522, in parse_args
  File "E:/Rack-SDK/", line 231, in create_module
    tree = xml.etree.ElementTree.parse(panel_filename)
  File "C:/msys64/mingw64/lib/python3.8/xml/etree/", line 1202, in parse
    tree.parse(source, parser)
  File "C:/msys64/mingw64/lib/python3.8/xml/etree/", line 595, in parse
    self._root = parser._parse_whole(source)
xml.etree.ElementTree.ParseError: XML or text declaration not at start of entity: line 2, column 0

The path to has been setup both in .bashrc of MSYS2 terminal and as windows environment variables.

I’ll keep troubleshooting, and if I find an answer, I’ll post it here.

Are you using the unmodified example file or something for your panel?

Hey Andrew. Completely unmodified, as per the instructions in the dev getting started guide.

It should work then. Could you open a bug report? is part of Rack, so use the Rack issue tracker.

Certainly. Thanks for your help.

Forget this - error on my part with naming of Windows Environment variables. “Bug Report” has been explained and closed.