Basilicofresco created this task.
Basilicofresco added projects: Pywikibot-replace.py,
Pywikibot-pagegenerators.py.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
I just installed the latest stable release of pywikibot (7.1.0) on a brand
new Windows 10 with the latest Python (3.10.4).
I followed the pywikibot installing instructions diligently and I made few
test edits with the script replace.py: no problems.
The problems arises when I try to use a dump. If I execute for example:
python pwb.py replace.py -xml:itwiki-20220401.xml -lang:it -ns:0 "a" "b"
I get...
...
File ".\scripts\replace.py", line 1082, in main
gen = pagegenerators.XmlDumpPageGenerator(
AttributeError: module 'pywikibot.pagegenerators' has no attribute
'XmlDumpPageGenerator'. Did you mean: 'XMLDumpPageGenerator'?
Is it a bug? Can you replicate it?
TASK DETAIL
https://phabricator.wikimedia.org/T306122
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Basilicofresco
Cc: Aklapper, pywikibot-bugs-list, Basilicofresco, binbot, Xqt
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]