List of steps to reproduce:
:~$ python3 core/pwb.py hello
What happens?:
ERROR: hello.py not found! Misspelling?
Traceback (most recent call last):
File "core/pwb.py", line 494, in <module>
main()
File "core/pwb.py", line 478, in main
if not execute():
File "core/pwb.py", line 428, in execute
filename = find_filename(filename)
File "core/pwb.py", line 403, in find_filename
return find_alternates(filename, path_list)
File "core/pwb.py", line 319, in find_alternates
for script_name in os.listdir(os.path.join(*path)):
FileNotFoundError: [Errno 2] No such file or directory: 'scripts/userscripts'
CRITICAL: Exiting due to uncaught exception <class 'FileNotFoundError'>
:~$What should have happened instead?:
shell.py script should be invoked instead
Software version:
Pywikibot 7.0.0.dev0