<div dir="ltr"><div>I'm using PyQt5==5.7.1.</div><div><br></div>I'm trying to set a list property from QML. I'm using <span class="gmail-pl-en" style="box-sizing:border-box;color:rgb(121,93,163);font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre">@pyqtProperty</span><span style="color:rgb(51,51,51);font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre">(QQmlListProperty)</span><div>I'm getting an error that <span style="color:rgb(51,51,51);font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre">TypeError: list element must be of type 'str', not 'NoneType'</span> but they are strings in QML.</div><div><br></div><div>After that I get a <span style="color:rgb(51,51,51);font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre">SIGABRT.</span></div><div><br></div><div>Code and output here.</div><div><a href="https://gist.github.com/Siecje/0a6cb1b49358f9373496bd8952bfd1fd">https://gist.github.com/Siecje/0a6cb1b49358f9373496bd8952bfd1fd</a><br></div><div><br></div><div>The gist and the attached file are the same.</div><div><br></div><div><br></div></div>