seveas / git-spindle

Abandoned command-line interface to GitHub and other central git services
Other
172 stars 35 forks source link

git hub whoami and other commands fail with an error #174

Closed shlomif closed 6 years ago

shlomif commented 6 years ago
shlomif@telaviv1:~$ git hub whoami
Traceback (most recent call last):
  File "/usr/bin/git-hub", line 11, in <module>
    load_entry_point('git-spindle==3.4.2', 'console_scripts', 'git-hub')()
  File "/usr/lib/python2.7/site-packages/gitspindle/__init__.py", line 661, in hub
    GitHub().main()
  File "/usr/lib/python2.7/site-packages/gitspindle/__init__.py", line 464, in main
    self.login()
  File "/usr/lib/python2.7/site-packages/gitspindle/github.py", line 87, in login
    self.me = self.gh.user()
TypeError: user() takes exactly 2 arguments (1 given)
shlomif@telaviv1:~$ 
seveas commented 6 years ago

That's because you're using github3.py 1.x, git-spindle still requires 0.9x

Op ma 26 mrt. 2018 21:31 schreef Shlomi Fish notifications@github.com:

shlomif@telaviv1:~$ git hub whoami Traceback (most recent call last): File "/usr/bin/git-hub", line 11, in load_entry_point('git-spindle==3.4.2', 'console_scripts', 'git-hub')() File "/usr/lib/python2.7/site-packages/gitspindle/init.py", line 661, in hub GitHub().main() File "/usr/lib/python2.7/site-packages/gitspindle/init.py", line 464, in main self.login() File "/usr/lib/python2.7/site-packages/gitspindle/github.py", line 87, in login self.me = self.gh.user() TypeError: user() takes exactly 2 arguments (1 given) shlomif@telaviv1:~$

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/seveas/git-spindle/issues/174, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMPydrMQ4OONGsfspUpG93KhoaG2hkXks5tiUIWgaJpZM4S7xmH .

shlomif commented 6 years ago

On Mon, 26 Mar 2018 13:20:12 -0700 Dennis Kaarsemaker notifications@github.com wrote:

That's because you're using github3.py 1.x, git-spindle still requires 0.9x

can I help in porting spindle to the new 1.x version?

Op ma 26 mrt. 2018 21:31 schreef Shlomi Fish notifications@github.com:

shlomif@telaviv1:~$ git hub whoami Traceback (most recent call last): File "/usr/bin/git-hub", line 11, in load_entry_point('git-spindle==3.4.2', 'console_scripts', 'git-hub')() File "/usr/lib/python2.7/site-packages/gitspindle/init.py", line 661, in hub GitHub().main() File "/usr/lib/python2.7/site-packages/gitspindle/init.py", line 464, in main self.login() File "/usr/lib/python2.7/site-packages/gitspindle/github.py", line 87, in login self.me = self.gh.user() TypeError: user() takes exactly 2 arguments (1 given) shlomif@telaviv1:~$

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/seveas/git-spindle/issues/174, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMPydrMQ4OONGsfspUpG93KhoaG2hkXks5tiUIWgaJpZM4S7xmH .

--

Shlomi Fish http://www.shlomifish.org/ Best Introductory Programming Language - http://shlom.in/intro-lang

Learn from mistakes of others; you won't live long enough to make them all yourself. — Source unknown via Nadav Har’El

Please reply to list if it's a mailing list post - http://shlom.in/reply .

jrbalderrama commented 6 years ago

In that case the version of github3.py in the setup tools needs to be frozen. Currently the value is github3.py>=0.9.0. When you fresh install git-spindle the latest version of github3.py is installed as dependency (1.x)

seveas commented 6 years ago

master now works with github3.py 1.x, but that's not released yet as the branch protection API is broken at the moment.

shlomif commented 6 years ago

On Sun, 22 Apr 2018 19:58:59 +0000 (UTC) Dennis Kaarsemaker notifications@github.com wrote:

master now works with github3.py 1.x, but that's not released yet as the branch protection API is broken at the moment.

thanks!

--

Shlomi Fish http://www.shlomifish.org/ Optimising Code for Speed - http://shlom.in/optimise

No self‐respecting tomboy would use Mandriva. — http://www.shlomifish.org/humour.html

Please reply to list if it's a mailing list post - http://shlom.in/reply .