This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

WL1837MOD: Python script ( convert_dbTxt_to_regDomainIni.py ) errors with latest regdb database release

Part Number: WL1837MOD

convert_dbTxt_to_regDomainIni.py errors out on sourcing db.txt from the latest release below. Open dource database is converted to tiwlanRegDomain.ini and consumed  by MCP 8.5 SP2 driver.

Release Tag : master-2019-03-01

Release Location : https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git/snapshot/wireless-regdb-master-2019-03-01.tar.gz

---------------- Error information -------------------

C:\>python convert_dbTxt_to_regDomainIni.py tiwlanRegDomain.ini db.txt
Traceback (most recent call last):
  File "convert_dbTxt_to_regDomainIni.py", line 234, in <module>
    p.parse(file(sys.argv[2]))
  File "convert_dbTxt_to_regDomainIni.py", line 229, in parse
    self._syntax_error("Expected country definition")
  File "convert_dbTxt_to_regDomainIni.py", line 42, in _syntax_error
    raise SyntaxError("Syntax error in line %d%s" % (self._lineno, txt))
__main__.SyntaxError: Syntax error in line 1 (Expected country definition)

C:\>python -V
Python 2.7.5