Comments (6)
Hm… it's supposed to be working. Could you run the command again with -vvvvv
(yup 5 verbose to have it all)?
Though I'm pretty sure it's related to an issue that has been fixed by #41. I was about to merge it earlier today, and I'll do it as soon as I physically can.
from git-repo.
+1 i have this issue too
from git-repo.
Here's the verbose output:
{'--add': False,
'--alone': False,
'--branch': None,
'--clone': False,
'--config': None,
'--force': False,
'--help': False,
'--message': None,
'--path': '.',
'--secret': False,
'--tracking': None,
'--verbose': 5,
'<branch>': None,
'<description>': None,
'<gist>': None,
'<gist_file>': None,
'<gist_path>': [],
'<local_branch>': None,
'<name>': None,
'<remote_branch>': None,
'<request>': None,
'<target>': 'hub',
'<title>': None,
'<user>/<repo>': 'smacke/project',
'add': False,
'clone': False,
'config': False,
'create': True,
'delete': False,
'fetch': False,
'fork': False,
'gist': False,
'list': False,
'ls': False,
'open': False,
'request': False}
send: b'GET /user HTTP/1.1\r\nHost: api.github.com\r\nConnection: keep-alive\r\nUser-Agent: github3.py/0.9.5\r\nAccept-Encoding: gzip, deflate\r\nAccept: application/vnd.github.v3.full+json\r\nContent-Type: application/json\r\nAccept-Charset: utf-8\r\Authorization: token XXXXXXXXXXXXXXX\r\n\r\n'
reply: 'HTTP/1.1 200 OK\r\n'
Fatal error: Project creation supported for authentified user only!
------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/git_repo/repo.py", line 511, in main
return GitRepoRunner(args).run()
File "/usr/local/lib/python3.5/site-packages/git_repo/kwargparse.py", line 68, in run
return self._action_dict[frozenset(args)](self)
File "/usr/local/lib/python3.5/site-packages/git_repo/repo.py", line 341, in do_create
service.create(self.user_name, self.repo_name, add=self.add)
File "/usr/local/lib/python3.5/site-packages/git_repo/services/ext/github.py", line 37, in create
raise NotImplementedError("Project creation supported for authentified user only!")
NotImplementedError: Project creation supported for authentified user only!
header: Server header: Date header: Content-Type header: Transfer-Encoding header: Status header: X-RateLimit-Limit header: X-RateLimit-Remaining header: X-RateLimit-Reset header: Cache-Control header: Vary header: ETag header: Last-Modified header: X-OAuth-Scopes header: X-Accepted-OAuth-Scopes header: X-GitHub-Media-Type header: Access-Control-Expose-Headers header: Access-Control-Allow-Origin header: Content-Security-Policy header: Strict-Transport-Security header: X-Content-Type-Options header: X-Frame-Options header: X-XSS-Protection header: Vary header: X-Served-By header: Content-Encoding header: X-GitHub-Request-Id
from git-repo.
Beware of not leaking your Authorization key in comments (I edited your comment to remove it). It looks like it's the bug that's supposed to be fixed by #41.
from git-repo.
I just merged it, along with a few other improvements, and published it as version 1.7.4.
So:
pip install --upgrade 1.7.4
Please check that it's fixed for you!
from git-repo.
Looks like it's working now; thanks and thanks for catching the authorization key mistake!
from git-repo.
Related Issues (20)
- No support for gitlab subgroups. HOT 2
- Listing forks HOT 3
- extract_config: AttributeError: 'write' object has no attribute 'update' on Python 2 HOT 1
- No manual entry for git-repo HOT 3
- git-repo cmd --help should show only options for that cmd HOT 2
- Suggest adding SSH key when none is present HOT 2
- Fatal error: 'GitRepoRunner' object has no attribute 'target' HOT 2
- Setup for BitBucket? HOT 5
- Bug: configure gitlab produces Fatal error HOT 5
- Getting error when installing from git repo HOT 3
- Naming HOT 1
- Bitbutcket request ls shows more than just open PRs HOT 5
- setup.py not compatible with pip 10+
- Can't create repo on gitlab HOT 1
- Fatal error: list index out of range for Python 3.6 HOT 3
- Switch bitbucket API lib to new official one
- Fix simple typo: pagckage -> package
- fatal: manifest 'default.xml' not availabl HOT 1
- Add full gitea support HOT 1
- github: Support for python 3.10 (dependency update required)
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 git-repo.