Skip to content
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

Feature request error on unrecognized linkcheckerrc settings #662

Open
pacenathan opened this issue Sep 12, 2022 · 0 comments
Open

Feature request error on unrecognized linkcheckerrc settings #662

pacenathan opened this issue Sep 12, 2022 · 0 comments

Comments

@pacenathan
Copy link
Contributor

Summary

If I put a setting in the wrong category, or spell it wrong, or if linkchecker has a bug where it doesn't actually recognize documented settings, I get no warning - it just runs as if everything is fine, but fails to do what I thought I told it to do.

Steps to reproduce

  1. Put e.g. ignore=foo in the [checking] section
  2. Put resultcachesize=100 anywhere, before PR Fix bug where resultscachesize setting was ignored #659
  3. Accidentally spell maxnumurls as maxurls

...then run linkchecker. It will run and not complain.

Actual result

It runs and doesn't obey the config setting I thought I set, and doesn't complain or help me identify the problem.

Expected result

It errors and tells me about the unexpected config value.

Environment

  • Operating system: Darwin 21.6.0 Darwin Kernel Version 21.6.0: Wed Aug 10 14:28:23 PDT 2022; root:xnu-8020.141.5~2/RELEASE_ARM64_T6000 arm64
  • Linkchecker version: LinkChecker 10.1.0.post66+ge4d65155.d20220908180221 released 2022-09-06
  • Python version: Python 3.9.13
  • Install method: Install from local source

Configuration file

One example:

[checking]
threads=10
maxrequestspersecond=10000
# anchorcachesize=0
ignore=foo

[filtering]
checkextern=1

[output]
fileoutput=html
# log=text
log=none
# log=csv
# debug=plugin

[AnchorCheck]

Logs

linkchecker --config ~/temp/linkchecker.rc http://127.0.0.1:8000/

Other notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants