https://bugzilla.wikimedia.org/show_bug.cgi?id=69980
Bug ID: 69980
Summary: patrol.py depends on mwlib.uparser not available
Product: Pywikibot
Version: compat (1.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: pdsanchez(a)gmail.com
Web browser: ---
Mobile Platform: ---
on wmflabs I ran
python patrol.py
and it complained on "import mwlib.uparser"
since it is no longer included.
Therefore, script can't work anymore
I just pulled again to check, and nothing
<pre>
ImportError: No module named mwlib.uparser
│tools.drini@tools-login:~/pywikibot-compat$ git pull
│remote: Counting objects: 737, done
│remote: Finding sources: 100% (9/9)
│remote: Getting sizes: 100% (1/1)
│remote: Compressing objects: 100% (6536/6536)
│remote: Total 9 (delta 5), reused 7 (delta 5)
│Unpacking objects: 100% (9/9), done.
│From
https://gerrit.wikimedia.org/r/pywikibot/compat
│ 1ae3ae7..f4d1869 master -> origin/master
│Updating 1ae3ae7..f4d1869
│Fast-forward
│ family.py
| 2 +-
│ pywikibot/support.py
| 3 ---
│ 2 files changed, 1 insertion(+), 4 deletions(-)
│tools.drini@tools-login:~/pywikibot-compat$ python patrol.py
│Traceback (most recent call last):
>> Historia del fútbol de Jalisco <<<
│ File "patrol.py", line 21,
in <module>
- Los jóvenes almacenistas del Ciudad de méxico
desaparecieron del panorama futbolero,
│ import mwlib.uparser # used to parse the whitelist
--
You are receiving this mail because:
You are the assignee for the bug.