You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am getting the error below when i run abc-new-template --mode merge --github
Traceback (most recent call last):
File "/Users/leahwasser/opt/miniconda3/envs/earth-analytics-python/bin/abc-new-template", line 33, in <module>
sys.exit(load_entry_point('abc-classroom', 'console_scripts', 'abc-new-template')())
File "/Users/leahwasser/Documents/github/0-python/abc-classroom/abcclassroom/__main__.py", line 143, in new_template
template.new_update_template(args)
File "/Users/leahwasser/Documents/github/0-python/abc-classroom/abcclassroom/template.py", line 31, in new_update_template
create_template(
File "/Users/leahwasser/Documents/github/0-python/abc-classroom/abcclassroom/template.py", line 112, in create_template
create_or_update_remote(
File "/Users/leahwasser/Documents/github/0-python/abc-classroom/abcclassroom/template.py", line 142, in create_or_update_remote
gh.create_repo(organization, repo_name, token)
File "/Users/leahwasser/Documents/github/0-python/abc-classroom/abcclassroom/github.py", line 220, in create_repo
organization = github_obj.organization(org)
File "/Users/leahwasser/opt/miniconda3/envs/earth-analytics-python/lib/python3.8/site-packages/github3/github.py", line 1566, in organization
json = self._json(self._get(url), 200)
File "/Users/leahwasser/opt/miniconda3/envs/earth-analytics-python/lib/python3.8/site-packages/github3/models.py", line 156, in _json
raise exceptions.error_for(response)
github3.exceptions.NotFoundError: 404 Not Found
i recently got the above error - t he i ssue was t hat the organization n ame was i ncorrect in my config file BUT the error outpupt wsn't helpful. it would be nice to atleast have some helpful messaging that says - i'm trying to push to XXX organization
The text was updated successfully, but these errors were encountered:
lwasser
changed the title
push to github is not workigna s e xpected
Create more useful error when organization is incorrect
Jan 19, 2021
i am getting the error below when i run
abc-new-template --mode merge --github
i recently got the above error - t he i ssue was t hat the organization n ame was i ncorrect in my config file BUT the error outpupt wsn't helpful. it would be nice to atleast have some helpful messaging that says - i'm trying to push to XXX organization
The text was updated successfully, but these errors were encountered: