GithubHelp home page GithubHelp logo

Comments (7)

lwasser avatar lwasser commented on August 23, 2024

oh @jedbrown this is a quick guess...
are the permissions on the key set on your hub? i kind of remember running into this and a quick chmod operation did the trick. this was specific to working on the jhub vs local. this is just a guess if you are certain you in fact have the correct github permissions and the ssh key is in fact setup.

#315 (comment)

my fix:
chmod 400 /home/jovyan/.ssh/id_rsa

in case this happens to work, i had added some discussion in the docs.

from abc-classroom.

jedbrown avatar jedbrown commented on August 23, 2024

Thanks for your quick reply. My key is 0600 and it works fine when used manually. Indeed, I worked around this issue by just setting the remote manually and git push origin main. But I think this error is with the API token, which I'm less familiar with, to create the repository (which can't be done via ssh).

from abc-classroom.

lwasser avatar lwasser commented on August 23, 2024

got it. thought i'd try permissions first. @kcranston setup that token. i haven't tried to create a repo and push from a hub but we can try to recreate it locally to see if we run into the same issue. Just out of curiosity did you encounter the same issue running it locally on your computer?

It also seems like it would be helpful for it to print out what organization and repo it's trying to access just in case the user has their config setup to connect to the incorrect place too. let me see - @eculler have you used abc-classroom to create template repos? did you run into permissions issues?

from abc-classroom.

eculler avatar eculler commented on August 23, 2024

@lwasser yes, I have, and no I didn't have any permissions issues

from abc-classroom.

neurorepro avatar neurorepro commented on August 23, 2024

As @jedbrown mentioned, the first idea is that it is due to the API token, and i can confirm it is. I got the same error and could fix it by generating myself a token with all repo permissions and then putting this token in ~/.abc-classroom.tokens.yml to replace the one generated from abc-init.

from abc-classroom.

lwasser avatar lwasser commented on August 23, 2024

i'm unfortunately not sure who is maintaining this package anymore.

see here at the top: https://github.com/earthlab/abc-classroom/blob/main/README.md

If you setup your own token then does abc-classroom function as expected?

from abc-classroom.

neurorepro avatar neurorepro commented on August 23, 2024

I see, i also submitted a PR on a separate issue.

Yes it works as expected with a custom token.

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.