Comments (13)
which version of python are you using?
from octogit.
The one python --version outputs above ;-) 2.6.5
from octogit.
Sorry I missed that. you aren't using master are you? latest release on pip?
from octogit.
I'm using 0.3.3, I think I installed it some time ago and just never used it due to the error.
from octogit.
@flexd if you pass me instructions to repeat it I will see to its fixed in the next release.
from octogit.
The command I'm trying is 'octogit issues', on ubuntu 10.04.4. LTS with the python version and octogit version above :)
from octogit.
I am having this issue as well. Installed with latest pip (0.3.3) and ran with Python 2.7.3 on Arch Linux.
I did it in getsentry/sentry, if that should matter. It seems that the error is before even getting to the repo, though.
from octogit.
I get a similar error, only the message is different:
Traceback (most recent call last):
File "/home/dirk/bin/octogit", line 9, in <module>
load_entry_point('octogit==0.3.3', 'console_scripts', 'octogit')()
File "/home/dirk/.local/lib/python2.7/site-packages/octogit/cli.py", line 121, in begin
username, url = get_username_and_repo(url)
File "/home/dirk/.local/lib/python2.7/site-packages/octogit/cli.py", line 83, in get_username_and_repo
parent_repo = get_parent_repository(info)
File "/home/dirk/.local/lib/python2.7/site-packages/octogit/cli.py", line 54, in get_parent_repository
parent = data['parent']['full_name']
TypeError: 'instancemethod' object has no attribute '__getitem__'
from octogit.
Ah, octogit v0.3.3 requires a version of requests <1.0, because it uses requests.get("...").json['thing']
This part of the requests API changed in 1.0. 87be2ad changed the octogit to use the >=1.0 requests.get("...").json()['thing']
(the json
attribute is now a method, it once was a property)
@myusuf3 Making a new release with the requests>=1.0
requirement will fix this
from octogit.
Any progress on this?
from octogit.
No. I wont be working towards this till I work on the new version of octogit. probably couple months away at best.
from octogit.
@satta you can probably work around this by installing an older version of requests, e.g pip install requests==0.14.2
from octogit.
Thanks, @dbr, that worked!
from octogit.
Related Issues (20)
- assigned issues not properly working HOT 1
- figure out how to distribute from git master in setup.py
- foo
- Add command line gist support
- octogit issues - doesn't work HOT 8
- Bad visualization with "issues" in Ubuntu HOT 8
- Join forces with defunkt's "hub"
- feature: add labels to issues HOT 2
- Can't login, even with correct credentials HOT 1
- Plaintext passwords HOT 7
- This repository has no Github remotes HOT 2
- BDD Testing HOT 2
- write cram tests HOT 9
- refactor parser using docopt
- Crash after login HOT 2
- 2 factor auth HOT 1
- remove hardcoded upstream branch HOT 1
- 422 Response defaults to 'Bad Credentials'
- Remove --use-mirrors from Travis CI tests.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octogit.