• e.warashina

    @ccc,
    @ywangd Thank you for your advice.

    It works very well.
    So, I missed any git init's path parameter as you noticed!

    After run git init ., everything went like clockwork.

    I love this tool so much. And, I'm very impressed your support.
    I say thank you again.

    posted in Pythonista read more
  • e.warashina

    Hi,

    I'm new to Pythonista and got your StaSh just now.

    It's amazing tool for me. Thank you.

    By the way, I got stuck in the git.
    I got a error like:

    $ git status
    stash: <type 'exceptions.Exception'> Current directory isn't a git repository
    

    after I run:

    $ git init
    initialize a new Git repository
    

    git commit aslo got the same error.

    Are there any helps or hint?

    I think that I'm running StaSh v0.5.0. The git automatically installed by StaSh would came from dulwich.

    Thanks.

    append:
    I'll paste command log when I installed git.
    I tried that remove site-package directory and reinstall StaSh, Pythonista on both of iPhone and iPad.

    StaSh v0.5.0
    [~/Documents]$ ls
    Examples Welcome.md bs4test.py launch_stash.py site-packages sttest
    [~/Documents]$ cd s
    site-packages/  sttest/
    [~/Documents]$ cd sttest/
    [sttest]$ git init
    dulwich was not found.  Will attempt to download.
    Need to download dulwich.  OK to download [y/n]?y
    Opening: https://github.com/jsbain/dulwich/archive/ForStaSH_0.12.2.zip
    Save as: /private/var/mobile/Containers/Data/Application/BC3334F5-A7B9-4503-A5C0-A3E8D7A8A2DE/tmp/dulwich.zip  (400490 bytes)
          8192  [2.05%]
         16384  [4.09%]
         24576  [6.14%]
         32768  [8.18%]
         40960  [10.23%]
         49152  [12.27%]
         57344  [14.32%]
         65536  [16.36%]
         73728  [18.41%]
         81920  [20.45%]
         90112  [22.50%]
         98304  [24.55%]
        106496  [26.59%]
        114688  [28.64%]
        122880  [30.68%]
        131072  [32.73%]
        139264  [34.77%]
        147456  [36.82%]
        155648  [38.86%]
        163840  [40.91%]
        172032  [42.96%]
        180224  [45.00%]
        188416  [47.05%]
        196608  [49.09%]
        204800  [51.14%]
        212992  [53.18%]
        221184  [55.23%]
        229376  [57.27%]
        237568  [59.32%]
        245760  [61.36%]
        253952  [63.41%]
        262144  [65.46%]
        270336  [67.50%]
        278528  [69.55%]
        286720  [71.59%]
        294912  [73.64%]
        303104  [75.68%]
        311296  [77.73%]
        319488  [79.77%]
        327680  [81.82%]
        335872  [83.87%]
        344064  [85.91%]
        352256  [87.96%]
        360448  [90.00%]
        368640  [92.05%]
        376832  [94.09%]
        385024  [96.14%]
        393216  [98.18%]
        400490  [100.00%]
    /private/var/mobile/Containers/Shared/AppGroup/C2262ABC-29FF-4015-8027-57D05D396DD5/Documents/site-packages/stash/lib/dulwich.old: does not exist
    mv: /private/var/mobile/Containers/Shared/AppGroup/C2262ABC-29FF-4015-8027-57D05D396DD5/Documents/site-packages/stash/lib/dulwich: no such file or directory
    /private/var/mobile/Containers/Shared/AppGroup/C2262ABC-29FF-4015-8027-57D05D396DD5/Documents/site-packages/stash/lib/dulwich.old: does not exist
    Still could not import dulwich.
                Perhaps your network connection was unavailable.
                You might also try deleting any existing dulwich versions in site-packages or elsewhere, then restarting pythonista.
    Opening: https://github.com/jsbain/gittle/archive/master.zip
    Save as: /private/var/mobile/Containers/Data/Application/BC3334F5-A7B9-4503-A5C0-A3E8D7A8A2DE/tmp/gittle.zip  (28334 bytes)
          8192  [28.91%]
         16384  [57.82%]
         24576  [86.74%]
         28334  [100.00%]
    Opening: https://github.com/FriendCode/funky/archive/master.zip
    Save as: /private/var/mobile/Containers/Data/Application/BC3334F5-A7B9-4503-A5C0-A3E8D7A8A2DE/tmp/funky.zip  (8474 bytes)
          8192  [96.67%]
          8474  [100.00%]
    initialize a new Git repository
    [sttest]$
    

    posted in Pythonista read more
Internal error.

Oops! Looks like something went wrong!