An error was encountered while executing action link
See original GitHub issueHere is my current install.conf.yaml file:
#!/usr/bin/env bash
- clean: ['~']
set -e
- link:
~/.tmux.conf: tmux.conf
~/.vim: vim/
~/.vimrc: vimrc
~/.zsh: zsh/
~/.zshrc: zshrc
- shell:
- [git submodule update --init --recursive, Installing/updating submodules]
Here is my install script:
#!/usr/bin/env bash
CONFIG="install.conf.yaml"
DOTBOT_DIR="dotbot"
DOTBOT_BIN="bin/dotbot"
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${BASEDIR}"
git submodule update --init --recursive "${DOTBOT_DIR}"
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
Here is my output:
All targets have been cleaned
An error was encountered while executing action link
Action link not handled
Action ~/.zsh not handled
Action ~/.vimrc not handled
Action ~/.vim not handled
Action ~/.zshrc not handled
Action ~/.tmux.conf not handled
Installing/updating submodules [git submodule update --init --recursive]
All commands have been executed
==> Some tasks were not executed successfully
This happens no matter what. I have created and destroyed multiple vimrc, zshrc, etc. files, I have completely removed Dotbot and re-downloaded it, I have tried using JSON formatting. Nothing I seem to try will let me create the links. I’m not sure what the problem is at this point; any suggestions will be appreciated.
Issue Analytics
- State:
- Created 9 years ago
- Comments:21 (8 by maintainers)
Top Results From Across the Web
BUG: Html.ActionLink only works with "Home" controller as ...
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more ...
Read more >An error occurred while executing action ... - Mendix Forum
Hi Arne,. Its seems that you Local database are different from your project Metadata. “ALTER TABLE "bag$gemeenten_taak" DROP CONSTRAINT ...
Read more >Attempting to install homebrew through dotfile install config
I got it working by creating a new .zsh file, making it an executable, and running the homebrew install command from within the...
Read more >Internal Engine Error (when VM is configured with cloud-init)
I was trying to make a clone of a VM but I got the following message "Error while executing action CloneVm: Internal Engine...
Read more >5 Known Issues - Oracle Help Center
Bug: 29494264. Unable to Set up a Connection to an OpenLDAP Directory. When you ... Error while executing action: Cannot switch Host to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m glad it’s working now. The issue is that the file represents an array, and the second element of that array is an object with the single mapping,
link
to an array of links. Written this way:It is interpreted as the following structure:
But what you want is this (4 spaces before the vimrc entry):
Which is equivalent to:
Whitespace as part of syntax is kinda annoying, but YAML looks a lot nicer. It’s a tradeoff… And yeah, the JSON, with the right structure, should work.
And by the way, the
.yaml
file is not a bash script, so I’m not sure why there is a#!/usr/bin/env bash
andset -e
. The shebang should be treated as a YAML comment, so it’ll still work, but theset -e
would cause problems…Encountered the same error message running on a windows 10 machine with python 2.7.13 and git shell (MINGW64).
Upon further investigation the root cause of my issue was that git shell didn’t have sufficient permissions to create a symlink. Running git shell as admin resolved the issue. I also updated python to 3.x