Hi Mathias,
In my script, I rely on the writing of JSON data via QMimeData.
The following test works out for KLayout Version <= 0.26.9, printing "no error occured", while failing for KLayout Version >= 0.26.10 with "illegal value":
import pya
def test():
mimeData = pya.QMimeData()
mimeData.setData("application/json",'{"test":"test"}')
jsonData = mimeData.data("application/json");
parseError = pya.QJsonParseError()
document = pya.QJsonDocument().fromJson(jsonData, parseError);
print(parseError.errorString())
test()
Any idea, what's going wrong here?
Might this be related to the fix to #708 ?
Regards, Holger