-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FileNotFoundError: ~/shallow-backup/dotfiles/.gitignore #257
Comments
Can you post the output of This error is likely related to the new config keys I added in v4.0, but I haven't run into this issue on my own system. |
It may be related to this line: shallow-backup/shallow_backup/config.py Line 56 in 4c52e3f
In looking at this now, I have no idea how this line doesn't error... I'm pretty sure that it works (because it would have failed on my system if it didn't?) but that doesn't look right to me. I'll do some further debugging once I get some more info from you. |
% cat ~/.config/shallow-backup.conf
{
"backup_path": "~/shallow-backup",
"dotfiles": [
".bashrc",
".bash_profile",
".gitconfig",
".profile",
".pypirc",
"<function get_config_path at 0x7fba3da269d0>",
".tmux.conf",
".vimrc",
".zlogin",
".zprofile",
".zshrc"
],
"dotfolders": [
".ssh",
".vim"
],
"root-gitignore": [
"dotfiles/.ssh",
"dotfiles/.pypirc",
".DS_Store"
],
"dotfiles-gitignore": [
".ssh",
".pypirc",
".DS_Store"
],
"config_mapping": {
"/.config/sublime-text-2": "sublime2",
"/.config/sublime-text-3": "sublime3",
"/.config/Code/User/settings.json": "vscode/settings",
"/.config/Code/User/Snippets": "vscode/Snippets",
"/.config/Code/User/keybindings.json": "vscode/keybindings",
"/home/pawamoy/.atom": "atom"
}
} Look at that serialized Python function hahahaha 😄! Go back to your Python interpreter you little function 😸
|
@pawamoy
EDIT: Also, this error would indicate that the EDIT 2: Fixed in |
Working, thanks a lot 🙂 ! |
I just installed
shallow-backup
with pipx, and I get this error:Is it because I don't have a
.gitignore
file in~
?The text was updated successfully, but these errors were encountered: