GithubHelp home page GithubHelp logo

Comments (1)

lwasser avatar lwasser commented on June 23, 2024

Currently when the repo exists, you get this message:

(earth-analytics-python) MacBook-Pro-4:autograded-course-starter leah-su$ nbdistribute --template
Using /Users/leah-su/Documents/github/2-autograding/autograded-course-starter/student to create the student template.
Loading configuration from config.yml
Creating template repository.
Traceback (most recent call last):
  File "/Users/leah-su/anaconda3/envs/earth-analytics-python/bin/nbdistribute", line 11, in <module>
    sys.exit(distribute())
  File "/Users/leah-su/anaconda3/envs/earth-analytics-python/lib/python3.6/site-packages/grading/__main__.py", line 131, in distribute
    config['github']['token'])
  File "/Users/leah-su/anaconda3/envs/earth-analytics-python/lib/python3.6/site-packages/grading/github.py", line 55, in create_repo
    organization.create_repository(repository, title)
  File "/Users/leah-su/anaconda3/envs/earth-analytics-python/lib/python3.6/site-packages/github3/decorators.py", line 30, in auth_wrapper
    return func(self, *args, **kwargs)
  File "/Users/leah-su/anaconda3/envs/earth-analytics-python/lib/python3.6/site-packages/github3/orgs.py", line 630, in create_repository
    json = self._json(self._post(url, data), 201)
  File "/Users/leah-su/anaconda3/envs/earth-analytics-python/lib/python3.6/site-packages/github3/models.py", line 156, in _json
    raise exceptions.error_for(response)
github3.exceptions.UnprocessableEntity: 422 Repository creation failed.

it would be nice for it to leave a nice little message like
"i already did that dumb@ss" :) or something even nicer?!

from abc-classroom.

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.