Forum Archive

StaSH git clone not working for me

ccc
[~/Documents]$ selfupdate
Running selfupdate ...
Target: ywangd:master
Checking for new version ...
Already at latest version
[~/Documents]$ git clone https://github.com/cclauss/claussoft-dominos
Opening: https://github.com/jsbain/gittle/archive/master.zip

Save as: /private/var/mobile/Containers/Data/Application/C2B9CC2E-6413-4488-9E41-0B0BFF4E39EB/tmp//gittle.zip (28334 bytes)
     28334  [100.00%]
mv: Error: Destination path '/private/var/mobile/Containers/Shared/AppGroup/2FC1448C-0B52-461C-A322-EA3FE78FA557/Pythonista3/Documents/site-packages/stash/lib/gittle/gittle' already exists
Opening: https://github.com/FriendCode/funky/archive/master.zip

Save as: /private/var/mobile/Containers/Data/Application/C2B9CC2E-6413-4488-9E41-0B0BFF4E39EB/tmp//funky.zip (8474 bytes)
      8474  [100.00%]
mv: Error: Destination path '/private/var/mobile/Containers/Shared/AppGroup/2FC1448C-0B52-461C-A322-EA3FE78FA557/Pythonista3/Documents/site-packages/stash/lib/funky/funky' already exists
<class 'ModuleNotFoundError'>: No module named 'urlparse'
[~/Documents]$ pip list
[~/Documents]$
cvp

@ccc Are you in Python 3? see issue

ccc

Thx... Now running on legacy Python but still no success.

StaSh v0.7.2 on python 2.7.12
Tip: Send a running command to background by pressing the CZ button (Ctrl-Z on external keyboard)
[~/Documents]$ selfupdate
Running selfupdate ...
Target: ywangd:master
Checking for new version ...
Already at latest version
[~/Documents]$ git clone https://github.com/cclauss/claussoft-dominos
<class 'dulwich.errors.NotGitRepository'>: 
[~/Documents]$ 
cvp

@ccc don't you need to add .git at end?

cvp

same error here see the note of jonB

ccc

In StaSH running on legacy Python, git clone https://github.com/cclauss/claussoft-dominos.git works. Thx.