While I'm trying to use it for a review on RPM Fusion I don't think the error is related...
Just running fedora-review without any arguments produces this in the log:
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/FedoraReview/review_helper.py", line 236, in run
self._do_run(outfile)
File "/usr/lib/python3.7/site-packages/FedoraReview/review_helper.py", line 197, in _do_run
Settings.init()
File "/usr/lib/python3.7/site-packages/FedoraReview/settings.py", line 417, in init
args = parser.parse_args()
File "/usr/lib64/python3.7/argparse.py", line 1749, in parse_args
args, argv = self.parse_known_args(args, namespace)
File "/usr/lib64/python3.7/argparse.py", line 1781, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "/usr/lib64/python3.7/argparse.py", line 1987, in _parse_known_args
start_index = consume_optional(start_index)
File "/usr/lib64/python3.7/argparse.py", line 1927, in consume_optional
take_action(action, args, option_string)
File "/usr/lib64/python3.7/argparse.py", line 1855, in take_action
action(self, namespace, argument_values, option_string)
File "/usr/lib64/python3.7/argparse.py", line 1038, in __call__
parser.exit()
File "/usr/lib64/python3.7/argparse.py", line 2488, in exit
_sys.exit(status)
SystemExit: 0
File "/usr/lib/python3.7/site-packages/FedoraReview/review_helper.py", line 236, in run
self._do_run(outfile)
File "/usr/lib/python3.7/site-packages/FedoraReview/review_helper.py", line 197, in _do_run
Settings.init()
File "/usr/lib/python3.7/site-packages/FedoraReview/settings.py", line 417, in init
args = parser.parse_args()
File "/usr/lib64/python3.7/argparse.py", line 1749, in parse_args
args, argv = self.parse_known_args(args, namespace)
File "/usr/lib64/python3.7/argparse.py", line 1781, in parse_known_args
namespace, args = self._parse_known_args(args, namespace)
File "/usr/lib64/python3.7/argparse.py", line 1987, in _parse_known_args
start_index = consume_optional(start_index)
File "/usr/lib64/python3.7/argparse.py", line 1927, in consume_optional
take_action(action, args, option_string)
File "/usr/lib64/python3.7/argparse.py", line 1855, in take_action
action(self, namespace, argument_values, option_string)
File "/usr/lib64/python3.7/argparse.py", line 1038, in __call__
parser.exit()
File "/usr/lib64/python3.7/argparse.py", line 2488, in exit
_sys.exit(status)
SystemExit: 0
When I try to do the review I get:
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/FedoraReview/review_helper.py", line 236, in run
self._do_run(outfile)
File "/usr/lib/python3.7/site-packages/FedoraReview/review_helper.py", line 226, in _do_run
self._do_report(outfile)
File "/usr/lib/python3.7/site-packages/FedoraReview/review_helper.py", line 99, in _do_report
self._run_checks(self.bug.spec_file, self.bug.srpm_file, outfile)
File "/usr/lib/python3.7/site-packages/FedoraReview/review_helper.py", line 117, in _run_checks
self.checks.run_checks(output=output, writedown=not Settings.no_report)
File "/usr/lib/python3.7/site-packages/FedoraReview/checks.py", line 382, in run_checks
run_check(name)
File "/usr/lib/python3.7/site-packages/FedoraReview/checks.py", line 357, in run_check
check.run()
File "/usr/lib/python3.7/site-packages/FedoraReview/plugins/generic_build.py", line 203, in run
Mock.build(self.srpm.filename)
File "/usr/lib/python3.7/site-packages/FedoraReview/mock.py", line 457, in build
self.builddir_cleanup()
File "/usr/lib/python3.7/site-packages/FedoraReview/mock.py", line 584, in builddir_cleanup
paths = glob(os.path.join(self.get_builddir("BUILD"), "*"))
File "/usr/lib/python3.7/site-packages/FedoraReview/mock.py", line 360, in get_builddir
p = self._get_dir(os.path.join("root", self._topdir[1:]))
File "/usr/lib/python3.7/site-packages/FedoraReview/mock.py", line 201, in _get_dir
self._get_root()
File "/usr/lib/python3.7/site-packages/FedoraReview/mock.py", line 186, in _get_root
config = compile(content[0], path, "exec")
IndexError: list index out of range
File "/usr/lib/python3.7/site-packages/FedoraReview/review_helper.py", line 236, in run
self._do_run(outfile)
File "/usr/lib/python3.7/site-packages/FedoraReview/review_helper.py", line 226, in _do_run
self._do_report(outfile)
File "/usr/lib/python3.7/site-packages/FedoraReview/review_helper.py", line 99, in _do_report
self._run_checks(self.bug.spec_file, self.bug.srpm_file, outfile)
File "/usr/lib/python3.7/site-packages/FedoraReview/review_helper.py", line 117, in _run_checks
self.checks.run_checks(output=output, writedown=not Settings.no_report)
File "/usr/lib/python3.7/site-packages/FedoraReview/checks.py", line 382, in run_checks
run_check(name)
File "/usr/lib/python3.7/site-packages/FedoraReview/checks.py", line 357, in run_check
check.run()
File "/usr/lib/python3.7/site-packages/FedoraReview/plugins/generic_build.py", line 203, in run
Mock.build(self.srpm.filename)
File "/usr/lib/python3.7/site-packages/FedoraReview/mock.py", line 457, in build
self.builddir_cleanup()
File "/usr/lib/python3.7/site-packages/FedoraReview/mock.py", line 584, in builddir_cleanup
paths = glob(os.path.join(self.get_builddir("BUILD"), "*"))
File "/usr/lib/python3.7/site-packages/FedoraReview/mock.py", line 360, in get_builddir
p = self._get_dir(os.path.join("root", self._topdir[1:]))
File "/usr/lib/python3.7/site-packages/FedoraReview/mock.py", line 201, in _get_dir
self._get_root()
File "/usr/lib/python3.7/site-packages/FedoraReview/mock.py", line 186, in _get_root
config = compile(content[0], path, "exec")
IndexError: list index out of range
Thanks,
Richard
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx