[QGIS-Developer] Travis tests failing with bad argument to internal function

Alessandro Pasotti apasotti at gmail.com
Mon Apr 13 08:48:43 PDT 2020


Hi Jorge,


I've got the same (unrelated) failure in my PRs but I didn't have time
to investigate it yet.




On Mon, Apr 13, 2020 at 5:37 PM Jorge Gustavo Rocha <jgr at di.uminho.pt> wrote:
>
> Hi,
>
> Travis tests are failing. It already happened in my PR, but I've checked
> other PR and the error is the same.
>
> There is no problem running the same tests locally.
>
> The failure is like this:
>
> ======================================================================
>
> ERROR: testValidateNative (__main__.TestQgsLayerMetadata)
>
> ----------------------------------------------------------------------
>
> SystemError: ../Objects/dictobject.c:1561: bad argument to internal function
>
> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
>
>   File "/root/QGIS/tests/src/python/test_qgslayermetadata.py", line 417,
> in testValidateNative
>
>     self.assertEqual(list[0].identifier, 0)
>
>   File "/usr/lib/python3.6/unittest/case.py", line 828, in assertEqual
>
>     assertion_func = self._getAssertEqualityFunc(first, second)
>
>   File "/usr/lib/python3.6/unittest/case.py", line 808, in
> _getAssertEqualityFunc
>
>     if type(first) is type(second):
>
> SystemError: <class 'type'> returned a result with an error set
>
> Does anybody know why this is happening?
>
> Regards from #home
>
> J. Gustavo
> --
> Jorge Gustavo Rocha
> Departamento de Informática
> Universidade do Minho
> 4710-057 Braga
> Gabinete 3.29 (Piso 3)
> Tel: +351 253604480
> Fax: +351 253604471
> Móvel: +351 910333888
> skype: nabocudnosor
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer



-- 
Alessandro Pasotti
w3:   www.itopen.it


More information about the QGIS-Developer mailing list