| Dvorapa created this task. Dvorapa added projects: Pywikibot-core, Pywikibot-General. Herald added subscribers: pywikibot-bugs-list, Aklapper. |
TASK DESCRIPTION
Steps to reproduce
- Run e.g. python pwb.py template commonscat -remove -page:"Praha" on cswiki
- Select option q (quit)
Expected behavior
Do you want to accept these changes? ([y]es, [N]o, [e]dit original, edit [l]atest, open in [b]rowser, [a]ll, [q]uit): q Bot was interrupted by user, 8 pages are waiting for being saved: [user@Computer pywikibot]$ ▮
Current behavior
Do you want to accept these changes? ([y]es, [N]o, [e]dit original, edit [l]atest, open in [b]rowser, [a]ll, [q]uit): q ERROR: Fatal error: Traceback (most recent call last): File "./scripts/template.py", line 366, in <module> main() File "./scripts/template.py", line 361, in main bot.run() File "/home/pavel/pywikibot/scripts/replace.py", line 771, in run default='N') File "/home/pavel/pywikibot/pywikibot/bot.py", line 451, in input_choice automatic_quit=automatic_quit, force=force) File "/home/pavel/pywikibot/pywikibot/userinterfaces/terminal_interface_base.py", line 392, in input_choice raise answer pywikibot.bot_choice.QuitKeyboardInterrupt[user@Computer pywikibot]$ ▮This is problem of 90% of all scripts, but there are some which behave as expected (I think replace or category's output is ok, but the behavior should be unified and global)
TASK DETAIL
EMAIL PREFERENCES
To: Dvorapa
Cc: Aklapper, pywikibot-bugs-list, Dvorapa, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
Cc: Aklapper, pywikibot-bugs-list, Dvorapa, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
