GithubHelp home page GithubHelp logo

Comments (6)

guyzmo avatar guyzmo commented on May 21, 2024

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.

smacke avatar smacke commented on May 21, 2024

+1 i have this issue too

from git-repo.

smacke avatar smacke commented on May 21, 2024

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.

guyzmo avatar guyzmo commented on May 21, 2024

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.

guyzmo avatar guyzmo commented on May 21, 2024

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.

smacke avatar smacke commented on May 21, 2024

Looks like it's working now; thanks and thanks for catching the authorization key mistake!

from git-repo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.