I have created some SVG files from Inkscape and imported them into mDraw. Most of them worked but some of them mDraw could not even open . I later found out a bug in svgparser.py:
if len(segList) == 0:
segList.append(p2[0], p2[1])
return segList
and I changed it to
if len(segList) == 0:
segList.append((p2[0], p2[1]))
return segList
And now mDraw can open those SVG files that it failed to open