Skip to content

git up --version TypeError #34

Closed
Closed

Description

@xdbr

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'

Activity

  1. msiemens commented on Aug 31, 2015

    @msiemens
    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/)

  2. xdbr commented on Aug 31, 2015

    @xdbr
    Author

    @msiemens: thank you for this module :)

    can confirm it works, thanks!

  3. msiemens commented on Aug 31, 2015

    @msiemens
    Owner

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions