Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong line numbers? #215

Closed
nedbat opened this issue Nov 27, 2012 · 3 comments
Closed

wrong line numbers? #215

nedbat opened this issue Nov 27, 2012 · 3 comments
Labels
bug Something isn't working html

Comments

@nedbat
Copy link
Owner

nedbat commented Nov 27, 2012

Originally reported by Zooko O'Whielacronx (Bitbucket: zooko, GitHub: zooko)


The line numbers don't line up with the lines of code. Maybe there's something funny about rendering here.

Here's a screenshot showing how the line with "ciphertext already present" appears to be one line 265, but the actual HTML has the correct line number: 318:

HACK zompu:~/playground/tahoe-lafs/gitworld/tahoe-lafs$ grep "ciphertext already present, bypassing fetch" htmlcov/src_allmydata_immutable_offloaded.html 
<p id='t318' class='stm run hide_run'>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class='nam'>self</span><span class='op'>.</span><span class='nam'>log</span><span class='op'>(</span><span class='str'>&quot;ciphertext already present, bypassing fetch&quot;</span><span class='op'>,</span><span class='strut'>&nbsp;</span></p>
HACK zompu:~/playground/tahoe-lafs/gitworld/tahoe-lafs$ grep --line-number "ciphertext already present, bypassing fetch" src/allmydata/immutable/offloaded.py 
318:            self.log("ciphertext already present, bypassing fetch",

This is with Firefox 17.0 as packaged by Ubuntu (in Ubuntu 12.04 "Precise" LTS).


@nedbat
Copy link
Owner Author

nedbat commented Nov 27, 2012

Duplicate of #197.

@nedbat
Copy link
Owner Author

nedbat commented Nov 27, 2012

@zooko: I hope the fix for #197 fixes this for you, because if not, I don't know what to do! :)

@nedbat
Copy link
Owner Author

nedbat commented Feb 25, 2015

Original comment by Barry Warsaw (Bitbucket: warsaw, GitHub: warsaw)


This still seems to be happening with coverage 3.7.1 in Ubuntu.

@nedbat nedbat closed this as completed Feb 25, 2015
@nedbat nedbat added major bug Something isn't working html labels Jun 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working html
Projects
None yet
Development

No branches or pull requests

1 participant