kevinwortman / nerfherder Goto Github PK
View Code? Open in Web Editor NEWscripts for automating grading with GitHub Classroom and Moodle
License: MIT License
scripts for automating grading with GitHub Classroom and Moodle
License: MIT License
When running the clone-organization program, I get the following error:
./clone-organization login=llarco org=CSUF-CPSC-120-LW
GitHub password:
INFO:root:fetching organization org=CSUF-CPSC-120-LW
Traceback (most recent call last):
File "./clone-organization", line 69, in <module>
main()
File "./clone-organization", line 25, in main
org = the_github.get_organization(args.org)
File "/usr/local/lib/python3.7/site-packages/github/MainClass.py", line 249, in get_organization
"/orgs/" + login
File "/usr/local/lib/python3.7/site-packages/github/Requester.py", line 260, in requestJsonAndCheck
return self.__check(*self.requestJson(verb, url, parameters, headers, input, self.__customConnection(url)))
File "/usr/local/lib/python3.7/site-packages/github/Requester.py", line 271, in __check
raise self.__createException(status, responseHeaders, output)
github.GithubException.UnknownObjectException: 404 {'message': 'Not Found', 'documentation_url': 'https://developer.github.com/v3/orgs/#get-an-organization'}
Looking at the code, it seems that line 25 calls the method get_organization() passing the organization name as a parameter. However, when looking at the documentation of get_organization(), I see that it expects a "login" string: https://pygithub.readthedocs.io/en/latest/github.html#github.MainClass.Github.get_organization
No idea what the "login" string is, but I guess passing the organization name (which I believe it's unique) doesn't work.
I tried calling get_user().get_orgs() and was able to retrieve some organizations, but only the id was populated, and not the name.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.