failure to submit coverage to coveralls.io #2511

Closed
opened 2015-10-01 00:04:52 +00:00 by daira · 6 comments
daira commented 2015-10-01 00:04:52 +00:00
Owner

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'
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' ```
tahoe-lafs added the
dev-infrastructure
normal
defect
n/a
labels 2015-10-01 00:04:52 +00:00
tahoe-lafs added this to the soon (release n/a) milestone 2015-10-01 00:04:52 +00:00
daira commented 2015-10-01 00:05:52 +00:00
Author
Owner
<https://github.com/astropy/astropy/issues/4175>
Daira Hopwood <daira@jacaranda.org> commented 2015-10-01 00:50:59 +00:00
Author
Owner

In /tahoe-lafs/trac-2024-07-25/commit/4c55e68ff86266fb6f22be8625d94a5a8405c037:

.travis.yml: pin coverage version to 3.7.1. fixes ticket:2511

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
In [/tahoe-lafs/trac-2024-07-25/commit/4c55e68ff86266fb6f22be8625d94a5a8405c037](/tahoe-lafs/trac-2024-07-25/commit/4c55e68ff86266fb6f22be8625d94a5a8405c037): ``` .travis.yml: pin coverage version to 3.7.1. fixes ticket:2511 Signed-off-by: Daira Hopwood <daira@jacaranda.org> ```
tahoe-lafs added the
fixed
label 2015-10-01 00:50:59 +00:00

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?

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?
daira commented 2015-10-16 00:09:25 +00:00
Author
Owner

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.

Replying to [warner](/tahoe-lafs/trac-2024-07-25/issues/2511#issuecomment-98321): > 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.
tahoe-lafs removed the
fixed
label 2015-10-16 00:10:07 +00:00
Brian Warner <warner@lothar.com> commented 2015-10-17 04:53:18 +00:00
Author
Owner

In /tahoe-lafs/trac-2024-07-25/commit/98732cd12c39ef38bb2d810d571bcbce3797adf5:

.travis.yml: unpin coverage, current one ought to work

refs ticket:2511
In [/tahoe-lafs/trac-2024-07-25/commit/98732cd12c39ef38bb2d810d571bcbce3797adf5](/tahoe-lafs/trac-2024-07-25/commit/98732cd12c39ef38bb2d810d571bcbce3797adf5): ``` .travis.yml: unpin coverage, current one ought to work refs ticket:2511 ```

Yup, that seems to work: https://coveralls.io/builds/3869552

Yup, that seems to work: <https://coveralls.io/builds/3869552>
warner added the
fixed
label 2015-10-17 05:17:44 +00:00
Sign in to join this conversation.
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#2511
No description provided.