Meno25 created this task.
Meno25 added projects: Pywikibot, Pywikibot-Scripts.
Restricted Application added subscribers: pywikibot-bugs-list, alaa, Aklapper.

TASK DESCRIPTION
  **Command line:**
  
    python pwb.py generate_user_files
  
  **Output:**
  
    You can abort at any time by pressing ctrl-c
    
    Your default user directory is "C:\Users\Mohammed\Downloads\core"
    user-config.py already exists in the target directory 
"C:\Users\Mohammed\Downloads\core".
    Would you like to change the directory? ([Y]es, [n]o): y
    New user directory? C:\Users\Mohammed\Test
    Using existing directory
    WARNING: Your user files will be created in the directory
    'C:\Users\Mohammed\Test' you have chosen. To access these files, you will
    either have to use the argument "-dir:C:\Users\Mohammed\Test" every time
    you run the bot, or set the environment variable "PYWIKIBOT_DIR" equal to
    this directory name in your operating system. See your operating system
    documentation for how to set environment variables.
    Is this OK? ([y]es, [N]o): y
    Traceback (most recent call last):
      File "C:\Users\Mohammed\Downloads\core\pwb.py", line 365, in <module>
        if not main():
      File "C:\Users\Mohammed\Downloads\core\pwb.py", line 357, in main
        run_python_file(filename,
      File "C:\Users\Mohammed\Downloads\core\pwb.py", line 73, in 
run_python_file
        exec(compile(source, filename, 'exec', dont_inherit=True),
      File ".\generate_user_files.py", line 451, in <module>
        main()
      File ".\generate_user_files.py", line 442, in main
        create_user_config(config.family, config.mylang, username,
      File ".\generate_user_files.py", line 281, in create_user_config
        userlist += [useritem(*get_site_and_lang(
      File ".\generate_user_files.py", line 120, in get_site_and_lang
        fam = pywikibot.bot.input_list_choice(
      File "C:\Users\Mohammed\Downloads\core\pywikibot\bot.py", line 560, in 
input_list_choice
        return ui.input_list_choice(question, answers, default=default,
      File 
"C:\Users\Mohammed\Downloads\core\pywikibot\userinterfaces\terminal_interface_base.py",
 line 445, in input_list_choice
        pywikibot.stream_output(line_template.format(i, entry))
    AttributeError: module 'pywikibot' has no attribute 'stream_output'
    CRITICAL: Exiting due to uncaught exception <class 'AttributeError'>
  
  **Output of version.py:**
  
    Pywikibot: [https] r-pywikibot-core (2322d99, g14898, 2021/05/19, 16:41:41, 
master)
    Release version: 6.2.0.dev0
    requests version: 2.25.1
    Python: 3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 64 
bit (AMD64)]

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

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

To: Meno25
Cc: Aklapper, alaa, pywikibot-bugs-list, Meno25, Shalomori123, 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