#Colab error Permission Denied

1 messages · Page 1 of 1 (latest)

umbral pulsar
#

WHen I launch, "%cd $SWARMPATH/SwarmUI/
!git pull

!bash ./launch-linux.sh --launch_mode none --cloudflared-path cloudflared"

this is the output:

/content/drive/MyDrive/SwarmUI
Updating 83c59e61..e498b492
error: Your local changes to the following files would be overwritten by merge:
launch-linux.sh
launchtools/docker-open-inner.sh
launchtools/docker-standard-inner.sh
launchtools/launch-open-docker.sh
launchtools/launch-standard-docker.sh
Please commit your changes or stash them before you merge.
Aborting
./launch-linux.sh: line 44: ./src/bin/live_release/SwarmUI: Permission denied

west raptor
#

you basically have to do what is stated there, you have to "git stash" to be able to "git pull".
Pretty sure the permission error is a thing that's been fixed a couple of days ago

#

so if you do git pull succeessfully it will be gone after

umbral pulsar
#

I just tried !git stash before !git pull, "%cd $SWARMPATH/SwarmUI/
!git stash
!git pull

!bash ./launch-linux.sh --launch_mode none --cloudflared-path cloudflared"

#

/content/drive/MyDrive/SwarmUI
Saved working directory and index state WIP on master: 83c59e61 refiner prompt syntax
Updating 83c59e61..e498b492
error: Your local changes to the following files would be overwritten by merge:
launch-linux.sh
launchtools/docker-open-inner.sh
launchtools/docker-standard-inner.sh
launchtools/launch-open-docker.sh
launchtools/launch-standard-docker.sh
Please commit your changes or stash them before you merge.
Aborting
./launch-linux.sh: line 44: ./src/bin/live_release/SwarmUI: Permission denied

west raptor
#

are you actually in /content/drive/MyDrive/SwarmUI when doing git pull?

umbral pulsar
#

I belive so, the first part of the notebook is "from google.colab import drive
drive.mount('/content/drive')
SWARMPATH = '/content/drive/MyDrive'" the before I tried then befoe i try the git stash git pull, is %cd $SWARMPATH/SwarmUI/

#

fixed it, I saw the Colab notebook is updated with "# (Colab stupid-proofing: drive wonks the perms so this needs an aggressive rebuild)
!rm -rf ./src/bin/live_release" after the !git pull

#

did this and all is good.