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

TypeError: user() missing 1 required positional argument: 'username' #131

Open
ticki opened this issue Feb 21, 2016 · 9 comments
Open

TypeError: user() missing 1 required positional argument: 'username' #131

ticki opened this issue Feb 21, 2016 · 9 comments

Comments

@ticki
Copy link

ticki commented Feb 21, 2016

I get following error, after trying to deploy Homu in a Python virtualenv:

Traceback (most recent call last):
  File "/usr/local/bin/homu", line 9, in <module>
    load_entry_point('homu==0.2.0', 'console_scripts', 'homu')()
  File "/usr/local/lib/python3.4/dist-packages/homu-0.2.0-py3.4.egg/homu/main.py", line 870, in main
    user = gh.user()
TypeError: user() missing 1 required positional argument: 'username'
@sigmavirus24
Copy link

@ticki what version of github3.py do you have installed? Also, how are you deploying Homu? (e.g., pip, setup.py install, something else)

@ticki
Copy link
Author

ticki commented Feb 21, 2016

what version of github3.py do you have installed?

That latest one. It was installed only a few hours ago.

Also, how are you deploying Homu? (e.g., pip, setup.py install, something else)

I use the development version through setup.py (python3).

@sigmavirus24
Copy link

That latest one. It was installed only a few hours ago.

That is not an answer. What's the version string?

I use the development version through setup.py (python3).

As in python setup.py install or python setup.py develop. There's a difference between the two commands and the exact command is important.

@sigmavirus24
Copy link

Also, the version string for github3.py can be obtained by doing python -c 'import github3; print(github3.__version__)'

@ticki
Copy link
Author

ticki commented Feb 21, 2016

That is not an answer. What's the version string?

Sorry, I'm not very familiar with python:

~> python -c 'import github3; print(github3.__version__)'
0.9.5

As in python setup.py install or python setup.py develop. There's a difference between the two commands and the exact command is important.

I used python setup.py install.

@sigmavirus24
Copy link

Hm. That's surprising. That exception is something I'd expect from github3.py 1.0.*

@ashcrow
Copy link

ashcrow commented Mar 18, 2016

@ticki If you installed from a source checkout (IE: git clone) can you also provide the hash? You can snag it with git rev-parse HEAD.

@ticki
Copy link
Author

ticki commented Mar 18, 2016

2104e4b

@ashcrow
Copy link

ashcrow commented Apr 2, 2016

I can reproduce this when using python 3 in the lastest HEAD.

alexcrichton pushed a commit to alexcrichton/homu that referenced this issue Mar 19, 2018
Clarify need to accept the collaborator invitation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants