List of steps to reproduce (step by step, including full links if applicable):
- Open a PAWS 'bash' notebook
- enter the command line
pwb.py listpages -usercontribs:"ShakespeareFan00" -ql:4 -intersect -ns:104 -grep:"\<\!\-\-" -lang:en -family:wikisource > comments_l4.txt
- Run the command
What happens?:
It will run for an extended period - eventually crashing out with an error:-
Traceback (most recent call last):
File "/srv/paws/pwb/pwb.py", line 487, in <module>
main()
File "/srv/paws/pwb/pwb.py", line 471, in main
if not execute():
File "/srv/paws/pwb/pwb.py", line 454, in execute
run_python_file(filename, script_args, module)
File "/srv/paws/pwb/pwb.py", line 143, in run_python_file
exec(compile(source, filename, 'exec', dont_inherit=True),
File "/srv/paws/pwb/scripts/listpages.py", line 282, in <module>
main()
File "/srv/paws/pwb/scripts/listpages.py", line 254, in main
for i, page in enumerate(gen, start=1):
File "/srv/paws/pwb/pywikibot/pagegenerators.py", line 1991, in <genexpr>
return (page for page in generator
File "/srv/paws/pwb/pywikibot/pagegenerators.py", line 2237, in PreloadingGenerator
for page in generator:
File "/srv/paws/pwb/pywikibot/pagegenerators.py", line 2009, in QualityFilterPageGenerator
page = ProofreadPage(page)
File "/srv/paws/pwb/pywikibot/proofreadpage.py", line 214, in __init__
self._base, self._base_ext, self._num = self._parse_title()
File "/srv/paws/pwb/pywikibot/proofreadpage.py", line 249, in _parse_title
num = int(right)
ValueError: invalid literal for int() with base 10: 'marginals'
CRITICAL: Exiting due to uncaught exception <class 'ValueError'>What should have happened instead?:
There should have been a list of titles generated in the piped file, Or a count of 0 files found shown in the notebook output.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
Firefox Nightly, Current Juptyer Lab : Version 3.3.4