Closed SunilMohanAdapa closed 8 years ago
Thanks. I guess you are using pgi just for travis and pygobject for anything else?
Have a look at how to use pygobject on travis: https://pygobject.readthedocs.org/en/latest/testing.html#example-travis-ci-configuration
For the error itself, I can't reproduce here, but will keep this open in case I see something related (or you can provide a reproducer?)
I have isolated the problem with a separate repository: https://github.com/SunilMohanAdapa/pgi-test
Failing build log: https://travis-ci.org/SunilMohanAdapa/pgi-test/builds/110286469
Indeed we are using pgi just for Travis. Thanks for the tip on pygobject/Travis, I am trying it.
Thanks. Weird error, I can't reproduce on 14.04 in a python3 virtualenv..
I updated the test configuration to run the test on older version too. The older version succeeds while the newer version fails: https://travis-ci.org/SunilMohanAdapa/pgi-test/builds/110383838
The trick for PyGObject/Travis succeeded and we will now use PyGObject consistently. Many thanks again.
Ah, I'm stupid..., these are running on Ubuntu 12.04 not 14.04. I've dropped 12.04 support in the last release (or I don't test it any more at least..).
Glad you got PyGObject working on travis.
thanks for the report -> closing.
I confirm that the problem goes away on Trusty. Sorry about the false alarm.
When using latest pgi to import PackageKitGlib i see the following stack trace when building tests on Travis. When I use version 0.0.10.1 the problem does not occur. I was further unable to reproduce the problem on Debian unstable machine with both version (0.0.10.1 and 0.0.11.1). This could be an issue with Travis' build environment but since an older version is working, I thought I would report the problem.
Failing build with 0.0.11.1: https://travis-ci.org/freedombox/Plinth/jobs/109517303 Passing build with 0.0.10.1 https://travis-ci.org/SunilMohanAdapa/Plinth/jobs/109901088