omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular
    1. Home
    2. crazyblob

    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.


    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 11
    • Best 1
    • Controversial 0
    • Groups 0

    crazyblob

    @crazyblob

    2
    Reputation
    891
    Profile views
    11
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    crazyblob Unfollow Follow

    Best posts made by crazyblob

    • Git support?

      Is there any way to get git support? If not will Pythonista have git support in the future?

      posted in Pythonista
      crazyblob
      crazyblob

    Latest posts made by crazyblob

    • RE: Stash, git not working correctly

      Did that, still didn't work

      posted in Pythonista
      crazyblob
      crazyblob
    • RE: Stash, git not working correctly

      Where can I get a earlier version of stash?

      posted in Pythonista
      crazyblob
      crazyblob
    • RE: Stash, git not working correctly

      Using the 2.7 version

      posted in Pythonista
      crazyblob
      crazyblob
    • RE: Stash, git not working correctly

      When I try to save the setting I get an new error,

      File "/private/var/mobile/Containers/Shared/AppGroup/491E0501-5B73-4099-B13E-CFB6B2149284/Pythonista3/Documents/site-packages/stash/system/shruntime.py", line 510, in exec_py_file
      exec(code, namespace, namespace)
      File "../site-packages/stash/bin/git.py", line 763, in <module>
      ns.func(args)
      File "../site-packages/stash/bin/git.py", line 433, in git_commit
      ns.name = ns.name or get_config_or_prompt(repo, 'user', 'name', 'Author Name: ')
      File "../site-packages/stash/bin/git.py", line 411, in get_config_or_prompt
      config.write_to_path()
      AttributeError: 'StackedConfig' object has no attribute 'write_to_path'

      Yup..all of that.

      Still can't push, I push it to the origin which is my gitlab repo, which I confirmed working. I ran your command and nothing happened, literally nothing.. I got new results so I guessed something did happen.

      When trying to push to my repo:

      stash: <type 'exceptions.AttributeError'>: 'function' object has no attribute 'urlparse'

      Traceback (most recent call last):
      File "/private/var/mobile/Containers/Shared/AppGroup/491E0501-5B73-4099-B13E-CFB6B2149284/Pythonista3/Documents/site-packages/stash/system/shruntime.py", line 510, in exec_py_file
      exec(code, namespace, namespace)
      File "../site-packages/stash/bin/git.py", line 763, in <module>
      ns.func(args)
      File "../site-packages/stash/bin/git.py", line 561, in git_push
      netloc = urlparse.urlparse(result.url).netloc
      AttributeError: 'function' object has no attribute 'urlparse'

      posted in Pythonista
      crazyblob
      crazyblob
    • RE: Stash, git not working correctly

      Hey!

      So when I try to do a commit it ask for my name and email, saving these brings an error, not saving it brings a random string of letter and numbers.

      stash: <type 'exceptions.AttributeError'>: 'StackedConfig' object has no attribute 'write_to_path'

      However this runs without the -m in "gif commit -m "something"".
      When I do put the -m , I get this
      usage: Commit current working tree. [-h] [message] [name] [email]
      Commit current working tree.: error: unrecognized arguments: -m

      How could I fix this? Thank you!

      Edit: .git was created

      posted in Pythonista
      crazyblob
      crazyblob
    • RE: Stash, git not working correctly

      I tried to do a full reinstall of Pythonista, installed stash and it said I needed dulwich, saying yes gave me an error. Restarted it, I was able to perform git unit with no error, but it didn't actually do it. I tried performing actions using git but I kept getting that the current directory wasn't a git repo.

      posted in Pythonista
      crazyblob
      crazyblob
    • RE: Stash, git not working correctly

      Even when I try to do a clone, I get a dulwich error, I use gitlab, could that be the problem?

      posted in Pythonista
      crazyblob
      crazyblob
    • Stash, git not working correctly

      Hello everyone! I've recently been trying to use stash for the git support. I do a git init in a folder, then try doing a pull, in which it says "stash: <type 'exceptions.Exception'>: Current directory isn't a git repository". Strange, I try to do a git clone also but have an error instead, "stash: <class 'dulwich.errors.GitProtocolError'>: unexpected http response 401" it only clones the folder of the project, but no files can be found, even with ls -a. All of this has been done on python 2.7, I'm running out of ideas. Any help would be amazing, thank you!

      posted in Pythonista
      crazyblob
      crazyblob
    • Git support?

      Is there any way to get git support? If not will Pythonista have git support in the future?

      posted in Pythonista
      crazyblob
      crazyblob
    • Bug.. or am I being dumb?

      https://pastebin.com/GftcxyU4

      I get some random error saying there's a syntax error on 82 because of the print..?

      posted in Pythonista
      crazyblob
      crazyblob