pykwalify.errors.RuleError #46
Labels
No Label
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: borgmatic-collective/borgmatic#46
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
(Even) with the default config file I get on Arch Linux:
/home/tamriel/borgmatic_config1.yaml: Parsing configuration file
Traceback (most recent call last):
File "/usr/bin/borgmatic", line 11, in
load_entry_point('borgmatic==1.1.11.dev0', 'console_scripts', 'borgmatic')()
File "/usr/lib/python3.6/site-packages/borgmatic/commands/borgmatic.py", line 137, in main
run_configuration(config_filename, args)
File "/usr/lib/python3.6/site-packages/borgmatic/commands/borgmatic.py", line 89, in run_configuration
config = validate.parse_configuration(config_filename, validate.schema_filename())
File "/usr/lib/python3.6/site-packages/borgmatic/config/validate.py", line 81, in parse_configuration
parsed_result = validator.validate(raise_exception=False)
File "/usr/lib/python3.6/site-packages/pykwalify/core.py", line 147, in validate
self._start_validate(self.source)
File "/usr/lib/python3.6/site-packages/pykwalify/core.py", line 187, in _start_validate
root_rule = Rule(schema=self.schema)
File "/usr/lib/python3.6/site-packages/pykwalify/rule.py", line 62, in init
self.init(schema, "")
File "/usr/lib/python3.6/site-packages/pykwalify/rule.py", line 358, in init
path=path,
pykwalify.errors.RuleError: <RuleError: error code 4: Unknown key: version found: Path: '/'>
Imported from Taiga issue 45 (done). Created on 2017-11-23T15:58:49+0000 by Jan.
Are you sure that you're using a config file generated with
generate-borgmatic-config
, and not the borgmatic config schema itself? Can I have a look at yourborgmatic_config1.yaml
file contents?Also, what version of
python-pykwalify
andpython-ruamel-yaml
do you have installed?Comment on 2017-11-25T19:17:52+0000 by Dan Helfman.
I added the file above.
I have python-pykwalify 1.5.2-1 and python-ruamel-yaml 0.15.34-1 installed.
Comment on 2017-11-26T14:51:52+0000 by Jan.
Aha! Looks like the problem is the version of pykwalify. I managed to reproduce the error here with that version. Would it be possible to upgrade to 1.6.x?
Comment on 2017-11-26T18:22:31+0000 by Dan Helfman.
borgmatic 1.1.12 (just released) now declares a dependency on pykwalify 1.6+.
Comment on 2018-01-03T04:40:38+0000 by Dan Helfman.