I run basically the same command that is given in the manual and get an error
python3 pwb.py add_text -always -cat:"Unit dialogue (Age of Empires II)" -text:"{{Fairuse}}" -except:"\{\{([Tt]emplate:|)[Ff]airuse" -up
WARNING: /usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import fnmatch, glob, traceback, errno, sys, atexit, locale, imp, stat
Traceback (most recent call last):
File "pwb.py", line 363, in <module>
if not main():
File "pwb.py", line 355, in main
run_python_file(filename,
File "pwb.py", line 74, in run_python_file
exec(compile(source, filename, 'exec', dont_inherit=True),
File "./scripts/add_text.py", line 349, in <module>
main()
File "./scripts/add_text.py", line 312, in main
new_arg = ''.join('-grepnot', sep, value)
TypeError: join() takes exactly one argument (3 given)
CRITICAL: Exiting due to uncaught exception <class 'TypeError'>pwb version output
Pywikibot: [https] r-pywikibot-core.git (3f38f7b, g14033, 2021/01/14, 17:17:07, stable)
Release version: 5.5.0
requests version: 2.22.0
cacerts: /etc/ssl/certs/ca-certificates.crt
certificate test: ok
Python: 3.8.5 (default, Jul 28 2020, 12:59:40)
[GCC 9.3.0]
PYWIKIBOT_DIR: Not set
PYWIKIBOT_DIR_PWB:
PYWIKIBOT_NO_USER_CONFIG: Not set
Config base dir: /home/red_khan/pywikibot/core
Usernames for family "ageofempires":
en: Red Khan BotI'm running Ubuntu on Windows Subsystem for Linux
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.1 LTS Release: 20.04 Codename: focal
But exactly the same command used to work some time ago.