omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Stash gh SyntaxError

    Pythonista
    2
    3
    2110
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • imnegan
      imnegan last edited by

      Hi all

      I have installed StaSh and am following the tutorial here .

      Unfortunately at the very first step:

      [~/Documents]$ gh create --help
      

      I get the following error:

      stash: <type 'exceptions.SyntaxError'>: invalid syntax (jwk.py, line 60)
      

      Any idea how to resolve this?

      1 Reply Last reply Reply Quote 0
      • JonB
        JonB last edited by

        type

        stashconf py_traceback 1

        and retry the command. then paste the full traceback here.

        Make sure you dont have a github folder in your site packages -- i am guessing you have a module name conflict... jwk is not a dependency of pygithub...

        You may need to do
        pip install pyjwt

        I forget if I ever updated the gh command for this..

        1 Reply Last reply Reply Quote 1
        • imnegan
          imnegan last edited by

          Thanks for the fast response JonB

          I started with the pip install pyjwt and that solved it straight away. After the fact I had a look for a github folder, didn't see anything.

          Kudos to you for the StaSh tutorial!

          Cheers

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors