Skip to content
New issue

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

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

Already on GitHub? # to your account

git up --version TypeError #34

Closed
xdbr opened this issue Aug 26, 2015 · 3 comments
Closed

git up --version TypeError #34

xdbr opened this issue Aug 26, 2015 · 3 comments

Comments

@xdbr
Copy link

xdbr commented Aug 26, 2015

quick note: git up --version (at version 1.3.0) fails with a type error:

git up --version
GitUp version is: v1.3.0
Checking for updates...Traceback (most recent call last):
  File "/Users/dbr/.pyenv/versions/3.4.2/bin/git-up", line 9, in <module>
    load_entry_point('git-up==1.3.0', 'console_scripts', 'git-up')()
  File "/Users/dbr/.pyenv/versions/3.4.2/bin/gitup.py", line 579, in run
    GitUp(sparse=True).version_info()
  File "/Users/dbr/.pyenv/versions/3.4.2/bin/gitup.py", line 393, in version_info
    details = json.load(urlopen(PYPI_URL))
  File "/Users/dbr/.pyenv/versions/3.4.2/lib/python3.4/json/__init__.py", line 268, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/Users/dbr/.pyenv/versions/3.4.2/lib/python3.4/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'
@msiemens
Copy link
Owner

Thanks for reporting! Can you confirm that this problem is fixed on the latest master? (You can install via pip install [--user] git+https://github.com/msiemens/PyGitUp/)

@xdbr
Copy link
Author

xdbr commented Aug 31, 2015

@msiemens: thank you for this module :)

can confirm it works, thanks!

@xdbr xdbr closed this as completed Aug 31, 2015
@msiemens
Copy link
Owner

Great :) I've now released v1.3.1 which includes the bugfix (6991262)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants