Xqt created this task.
Xqt added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  **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

TASK DETAIL
  https://phabricator.wikimedia.org/T298846

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, Jyoo1011, JohnsonLee01, SHEKH, 
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, 
Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to