Trouble running custom config #687
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'm trying to do and why
I am trying to run borgmatic via
borgmatic --config=test.yamlSteps to reproduce (if a bug)
git clone https://projects.torsion.org/borgmatic-collective/borgmaticvirtualenv .venvsource .venv/bin/activatepip3 install --editable .borgmatic --config=test.yamlActual behavior (if a bug)
Produces errors:
Expected behavior (if a bug)
Runs the config file without errors
Other notes / implementation ideas
NA
Environment
borgmatic version: 1.7.13.dev0
borgmatic installation method: Cloned the repo and created a locally editable installation via
pip3Borg version: borg 1.2.3
Python version: 3.10.6
operating system and version:
Pop!_OS 22.04with kernel6.2.6-76060206-generic x86_64 x86_64 GNU/Linuxwith all the latest updates as of May 1Thanks for filing this, including all the reproduction steps. I did manage to repro the issue when using
--editableboth in a virtualenv and without one. It does not repro however when installing without--editable.I'm guessing this issue was introduced by
8cb5a42a9e, which touched the schema-loading code.I believe I have a fix checked in now (in main). Please give it a shot when you get a chance and let me know if your copy of borgmatic is able to find the schema. Thanks!
Thanks! Now everything is working fine again.
This was just released in borgmatic 1.7.13!