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

Nyall Dawson nyall.dawson at gmail.com
Mon Apr 13 16:32:08 PDT 2020


On Tue, 14 Apr 2020 at 01:49, Alessandro Pasotti <apasotti at gmail.com> wrote:
>
> Hi Jorge,
>
>
> I've got the same (unrelated) failure in my PRs but I didn't have time
> to investigate it yet.

It's unrelated to any QGIS change -- it must be a change in the Travis
python/sip environment...

Nyall

>
>
>
>
> 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
> _______________________________________________
> 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


More information about the QGIS-Developer mailing list