https://bugzilla.wikimedia.org/show_bug.cgi?id=62388
Bug ID: 62388
Summary: Bot should not edit when it is not logged in:
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: info(a)gno.de
Web browser: ---
Mobile Platform: ---
see https://de.wikipedia.org/wiki/Spezial:Beitr%C3%A4ge/79.213.29.131
Sorry, I didn't find that edit in the log but I try to remeber it: Bot was
running for several days in an infinite loop. I shortly logged me in as bot on
de-wiki to change some settings. Most of my bot task stopped and asked for the
password to continue on both branches (core and compat) except of one. It asked
for a new token and continued, but it was logged out.
--
You are receiving this mail because:
You are the assignee for the bug.
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.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55880
Web browser: ---
Bug ID: 55880
Summary: [Tracking] Functionality existing in compat but
missing from core
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: crangasi2001(a)yahoo.com
Classification: Unclassified
Mobile Platform: ---
This is a tracking bug for feature that existed in compat, are absent in core
and are still considered useful.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=68560
Bug ID: 68560
Summary: Page.interwikis() fails when page includes interwikis
which are not sites
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: login.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
The current travis build shows an error caused by the "mail:" found on the Main
Page of English Wikipedia
The first travis build to exhibit this bug is
https://travis-ci.org/wikimedia/pywikibot-core/jobs/30562987
which is this changeset
https://gerrit.wikimedia.org/r/#/c/145691/
There has been one fixup committed
https://git.wikimedia.org/commit/pywikibot%2Fcore.git/5aa0d76a6f1c2dde140bb…
but that leaves mail: still not working, and the tests still failing.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55211
Web browser: ---
Bug ID: 55211
Summary: Error in nice_get_address?
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1412/
Reported by: binbot
Created on: 2012-02-27 14:38:50
Subject: Error in nice_get_address?
Original description:
Copy
replace.py -page:"A Ki vagy, Doki? epizódjainak listája" x v -lang:hu
to your command line and press b for browser -- you will get an error message.
Spaces won't be translated to underscores.
Pywikipedia trunk/pywikiped \(r9936, 2012/02/26, 09:10:05\)
Python 2.7.2 \(default, Jun 12 2011, 14:24:46\) \[MSC v.1500 64 bit \(AMD64\)\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: ok
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=56961
Web browser: ---
Bug ID: 56961
Summary: Tests: test using local mediawiki installation
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: valhallasw(a)arctus.nl
Classification: Unclassified
Mobile Platform: ---
Currently, tests are run on enwiki. It would be much nicer if we could set up a
local mediawiki instance with a set of fixed pages/database, and run tests
there. That would also allow us to test with different mediawiki versions, for
example.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=57602
Web browser: ---
Bug ID: 57602
Summary: pywikibot.Site.protect does not exist
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: valhallasw(a)arctus.nl
Classification: Unclassified
Mobile Platform: ---
There is no protect functionality in core yet!
valhallasw@lisilwen:~/src/pwb/pywikibot-core$ python pwb.py protect
-links:User:Valhallasw/linkpage -site:test -family:test
Processing page User:Valhallasw
Do you want to change the protection level of [[test:User:Valhallasw]]? ([Y]es,
[N]o, [A]ll) Y
Traceback (most recent call last):
File "pwb.py", line 123, in <module>
run_python_file(fn, argv, argvu)
File "pwb.py", line 64, in run_python_file
exec compile(source, filename, "exec") in main_mod.__dict__
File "scripts/protect.py", line 286, in <module>
main()
File "scripts/protect.py", line 280, in main
bot.run()
File "scripts/protect.py", line 137, in run
move=self.move)
File "/home/valhallasw/src/pwb/pywikibot-core/pywikibot/__init__.py", line
251, in wrapper
return method(*__args, **__kw)
File "/home/valhallasw/src/pwb/pywikibot-core/pywikibot/page.py", line 1417,
in protect
return self.site.protect(self, edit, move, reason)
File "/home/valhallasw/src/pwb/pywikibot-core/pywikibot/site.py", line 230,
in __getattr__
% (self.__class__.__name__, attr))
AttributeError: APISite instance has no attribute 'protect'
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=71095
Bug ID: 71095
Summary: newitem.py broken after page.py update
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: Wikidata
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: maarten(a)mdammers.nl
CC: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
I just updated to the latest git version and now newitem.py stopped working:
>>> HSM Salamander - Phoenix <<<
Traceback (most recent call last):
File "C:\pywikibot\coredev\pwb.py", line 164, in <module>
run_python_file(fn, argv, argvu)
File "C:\pywikibot\coredev\pwb.py", line 69, in run_python_file
exec(compile(source, filename, "exec"), main_mod.__dict__)
File "C:\pywikibot\coredev\scripts\newitem.py", line 141, in <module>
main()
File "C:\pywikibot\coredev\scripts\newitem.py", line 138, in main
bot.run()
File "C:\pywikibot\coredev\scripts\newitem.py", line 68, in run
item = pywikibot.ItemPage.fromPage(page)
File "C:\pywikibot\coredev\pywikibot\page.py", line 3156, in fromPage
raise pywikibot.NoPage(i)
pywikibot.exceptions.NoPage: Page [[wikidata:-1]] doesn't exist.
<class 'pywikibot.exceptions.NoPage'>
The behaviour of Page.fromPage was changed:
https://git.wikimedia.org/blobdiff/pywikibot%2Fcore.git/431cb776cbdf0196b54…
Forgot to test downstream usage?
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=69842
Bug ID: 69842
Summary: pywikibot.Link malfunction on commons (and likely
meta)
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: zhuyifei1999(a)gmail.com
CC: info(a)gno.de
Web browser: ---
Mobile Platform: ---
Expected output:
$ python
Python 2.7.3 (default, Feb 27 2014, 19:58:35)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pywikibot
>>> pywikibot.Link("en:", pywikibot.Site("commons", "commons")).site
Site("en", "wikipedia")
>>> pywikibot.Link("wikipedia:", pywikibot.Site("commons", "commons")).site
Site("en", "wikipedia")
----
In fact:
$ python
Python 2.7.3 (default, Feb 27 2014, 19:58:35)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pywikibot
>>> pywikibot.Link("en:", pywikibot.Site("commons", "commons")).site
Site("commons", "commons")
>>> pywikibot.Link("wikipedia:", pywikibot.Site("commons", "commons")).site
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pywikibot/page.py", line 3777, in site
self.parse()
File "pywikibot/page.py", line 3700, in parse
newsite = pywikibot.Site(otherlang, familyName)
File "pywikibot/__init__.py", line 528, in Site
_sites[key] = __Site(code=code, fam=fam, user=user, sysop=sysop)
File "pywikibot/site.py", line 1186, in __init__
BaseSite.__init__(self, code, fam, user, sysop)
File "pywikibot/site.py", line 449, in __init__
% (self.__code, self.__family.name))
pywikibot.exceptions.NoSuchSite: Language commons does not exist in family
wikipedia
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=69401
Bug ID: 69401
Summary: creating new item on Wikidata fails - A string was
expected, but n ot found in the json
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Wikidata
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jan.dudik(a)gmail.com
Web browser: ---
Mobile Platform: ---
pwb.py newitem -newpages:5000 -lang:cs
...
Processing [[cs:Boris Peškovič]]
[[cs:Boris Peškovič]] already has an item: [[wikidata:Q443336]].
Processing [[cs:Boříkovy lapálie (rozcestník)]]
Bot: New item with sitelink from [[wikipedia:cs:Boříkovy lapálie (rozcestník)]]
Logging in to wikidata:wikidata as JAnDbot
Traceback (most recent call last):
File "I:\py\rewrite\pwb.py", line 171, in <module>
run_python_file(fn, argv, argvu)
File "I:\py\rewrite\pwb.py", line 69, in run_python_file
exec(compile(source, filename, "exec"), main_mod.__dict__)
File "I:\py\rewrite\scripts\newitem.py", line 142, in <module>
main()
File "I:\py\rewrite\scripts\newitem.py", line 139, in main
bot.run()
File "I:\py\rewrite\scripts\newitem.py", line 111, in run
item.editEntity(data, summary=summary)
File "I:\py\rewrite\pywikibot\page.py", line 2786, in editEntity
baserevid=baserevid, **kwargs)
File "I:\py\rewrite\pywikibot\site.py", line 854, in callee
return fn(self, *args, **kwargs)
File "I:\py\rewrite\pywikibot\site.py", line 4122, in editEntity
data = req.submit()
File "I:\py\rewrite\pywikibot\data\api.py", line 458, in submit
raise APIError(code, info, **result["error"])
pywikibot.data.api.APIError: not-recognized-string: A string was expected, but
n
ot found in the json for the langCode cs and argument 'value'
<class 'pywikibot.data.api.APIError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
--
You are receiving this mail because:
You are the assignee for the bug.