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

github issues does not work with private (user and organization) repos #58

Open
ghuntley opened this issue Jun 22, 2011 · 2 comments · May be fixed by #59
Open

github issues does not work with private (user and organization) repos #58

ghuntley opened this issue Jun 22, 2011 · 2 comments · May be fixed by #59

Comments

@ghuntley
Copy link

$ gh issues [open|closed]

/usr/lib/ruby/1.8/open-uri.rb:277:in `open_http': 401 Unauthorized (OpenURI::HTTPError)
from /usr/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'
from /usr/lib/ruby/1.8/open-uri.rb:164:in `open_loop'
from /usr/lib/ruby/1.8/open-uri.rb:162:in `catch'
from /usr/lib/ruby/1.8/open-uri.rb:162:in `open_loop'
from /usr/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
from /usr/lib/ruby/1.8/open-uri.rb:518:in `open'
from /usr/lib/ruby/1.8/open-uri.rb:30:in `open'
from /var/lib/gems/1.8/gems/github-0.6.2/lib/commands/issues.rb:10:in `command'
from /var/lib/gems/1.8/gems/github-0.6.2/bin/../lib/github/command.rb:25:in `send'
from /var/lib/gems/1.8/gems/github-0.6.2/bin/../lib/github/command.rb:25:in `call'
from /var/lib/gems/1.8/gems/github-0.6.2/bin/../lib/github.rb:76:in `invoke'
from /var/lib/gems/1.8/gems/github-0.6.2/bin/../lib/github.rb:70:in `activate'
from /var/lib/gems/1.8/gems/github-0.6.2/bin/gh:8
from /var/lib/gems/1.8/bin/gh:19:in `load'
from /var/lib/gems/1.8/bin/gh:19
ghuntley added a commit to ghuntley/github-gem that referenced this issue Jun 22, 2011
@ghuntley
Copy link
Author

Fixed in #59

caifara pushed a commit to caifara/github-gem that referenced this issue Apr 21, 2012
@nikreiman
Copy link

I'm getting 404's whenever using the issues command on a public organization repo:

github issues open --verbose
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:277:in open_http': 404 Not Found (OpenURI::HTTPError) from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:616:inbuffer_open'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:164:in open_loop' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:162:incatch'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:162:in open_loop' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:132:inopen_uri'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:518:in open' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/open-uri.rb:30:inopen'
from /Library/Ruby/Gems/1.8/gems/github-0.7.2/lib/commands/issues.rb:10:in command' from /Library/Ruby/Gems/1.8/gems/github-0.7.2/bin/../lib/github/command.rb:25:insend'
from /Library/Ruby/Gems/1.8/gems/github-0.7.2/bin/../lib/github/command.rb:25:in call' from /Library/Ruby/Gems/1.8/gems/github-0.7.2/bin/../lib/github.rb:76:ininvoke'
from /Library/Ruby/Gems/1.8/gems/github-0.7.2/bin/../lib/github.rb:70:in `activate'
from /Library/Ruby/Gems/1.8/gems/github-0.7.2/bin/github:8

Is this a known issue?

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