Opened at 2015-10-01T00:04:52Z
Closed at 2015-10-17T05:17:44Z
#2511 closed defect (fixed)
failure to submit coverage to coveralls.io
Reported by: | daira | Owned by: | warner |
---|---|---|---|
Priority: | normal | Milestone: | soon (release n/a) |
Component: | dev-infrastructure | Version: | n/a |
Keywords: | coveralls.io coverage travis-ci | Cc: | |
Launchpad Bug: |
Description
Submitting coverage from Travis-CI builds currently fails with the following error:
$ coveralls Submitting coverage to coveralls.io... Traceback (most recent call last): File "/home/travis/virtualenv/python2.7.9/bin/coveralls", line 11, in <module> sys.exit(main()) File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/coveralls/cli.py", line 49, in main result = coverallz.wear() File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/coveralls/api.py", line 73, in wear data = self.create_data() File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/coveralls/api.py", line 122, in create_data self._data = {'source_files': self.get_coverage()} File "/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/coveralls/api.py", line 130, in get_coverage workman._harvest_data() AttributeError: 'Coverage' object has no attribute '_harvest_data'
Change History (8)
comment:1 Changed at 2015-10-01T00:05:52Z by daira
comment:2 Changed at 2015-10-01T00:50:59Z by Daira Hopwood <daira@…>
- Owner set to Daira Hopwood <daira@…>
- Resolution set to fixed
- Status changed from new to closed
comment:3 follow-up: ↓ 4 Changed at 2015-10-13T21:32:05Z by warner
coveralls-1.0 (released 17-oct-2015) claims to support coverage-4.0 . Mind if I remove the coverage pin and see if it submits data to coveralls.io successfully?
comment:4 in reply to: ↑ 3 Changed at 2015-10-16T00:09:25Z by daira
Replying to warner:
coveralls-1.0 (released 17-oct-2015) claims to support coverage-4.0 . Mind if I remove the coverage pin and see if it submits data to coveralls.io successfully?
No, please do.
comment:5 Changed at 2015-10-16T00:10:07Z by daira
- Resolution fixed deleted
- Status changed from closed to reopened
comment:6 Changed at 2015-10-16T00:10:22Z by daira
- Owner changed from Daira Hopwood <daira@…> to warner
- Status changed from reopened to new
comment:7 Changed at 2015-10-17T04:53:18Z by Brian Warner <warner@…>
comment:8 Changed at 2015-10-17T05:17:44Z by warner
- Resolution set to fixed
- Status changed from new to closed
Yup, that seems to work: https://coveralls.io/builds/3869552
Note: See
TracTickets for help on using
tickets.
https://github.com/astropy/astropy/issues/4175