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

Problem with lines.iter() on python 3 on Windows #4

Closed
tarmstrong opened this issue Sep 28, 2013 · 3 comments
Closed

Problem with lines.iter() on python 3 on Windows #4

tarmstrong opened this issue Sep 28, 2013 · 3 comments

Comments

@tarmstrong
Copy link
Owner

@stonebig wrote in issue #1 :

oups ! looking further, I see my windows python 3 suffering on lines.iter()
it seems you may have to write

    if sys.version_info < (3, 0):
        line = lines.next()
    else:
        line = next(lines)
@stonebig
Copy link
Contributor

and after that, my output is not JSON, but something like
[null]
=> the python3 compatibility is not at reach yet.

@tarmstrong
Copy link
Owner Author

@stonebig , could you please paste in the full output (stderr and stdout) of the command (and the command as you ran it)?

I get [null] if I don't run it in the working directory of a git repository or if I don't give the path to the .git folder of one with --git-dir. (See #2 .) Is that the same problem you're seeing? It sounds like it isn't, but I thought I'd check.

@tarmstrong
Copy link
Owner Author

Fixed in #6 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants