https://bugzilla.wikimedia.org/show_bug.cgi?id=55127
Web browser: ---
Bug ID: 55127
Summary: core hangs on killed http(s) connection
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/1657/
Reported by: valhallasw
Created on: 2013-08-22 15:14:10.237000
Subject: core hangs on killed http(s) connection
Original description:
Steps to reproduce:
>>> p = pywikibot.Page(pywikibot.getSite('nl', 'wikipedia'), 'Wikipedia')
>>> p.get()
# now kill the connection, e.g. using tcpview in windows
>>> p = pywikibot.Page(pywikibot.getSite('nl', 'wikipedia'), 'Wikipedia')
>>> p.get()
# hangs
Expected result:
pywikibot reconnects and executes the .get()
Actual result:
complete hang (deadlock?)
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=60406
Web browser: ---
Bug ID: 60406
Summary: site.loadrevisions(): None is returned in no Page
param is passed
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: mpaa.wiki(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Passing revids without Page parameter does not return anything.
Since there is no use case for not passing the Page object, it should be made
mandatory and docstring updated.
Try:
>>> import pywikibot
>>> s = pywikibot.Site('nl', 'wikipedia')
>>> s.loadrevisions(revids=[39557838, 39484879])
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54539
Web browser: ---
Bug ID: 54539
Summary: Remove error-prone invalid-char exception
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/patches/623/
Reported by: gallaecio
Created on: 2013-08-03 21:14:53.303000
Subject: Remove error-prone invalid-char exception
Original description:
The code removed by this patch was preventing me from loading the following
page:
http://techbase.kde.org/Localization/fy/Fryske_kompjûterwurden
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54415
Web browser: ---
Bug ID: 54415
Summary: claimit.py: enable claim with the same property, but
different value
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
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/feature-requests/349/
Reported by: apac1
Created on: 2013-09-15 16:15:03.602000
Subject: claimit.py: enable claim with the same property, but different value
Original labels: claimit.py, wikidata, enhancement, python, pywikibotOriginal
description:
The below can be added to claimit.py to enable adding statements on items with
the same property, but different values.
https://github.com/wikimedia/pywikibot-core/blob/master/scripts/claimit.py
:::python
for claim in self.claims:
if claim.getID() in item.get().get('claims'):
propertytoadd = claim.getID()
for valueofproperty in item.claims[propertytoadd]:
if valueofproperty.getTarget() ==
claim.getTarget():
pywikibot.output("item for %s has already
property %s with value %s" % (page.title(), propertytoadd,
valueofproperty.getTarget()))
break
else:
continue
else:
pywikibot.output('Adding additional %s --> %s' %
(claim.getID(), claim.getTarget()))
item.addClaim(claim)
else:
pywikibot.output('Adding %s --> %s'
% (claim.getID(), claim.getTarget()))
item.addClaim(claim)
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54542
Web browser: ---
Bug ID: 54542
Summary: Add multiple values for a claim
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/patches/620/
Reported by: felixreimann
Created on: 2013-07-03 13:43:43.303000
Subject: Add multiple values for a claim
Original description:
Wikidata: The attached patch allows to add additional values even if the claim
is already there.
Before, editClaim either adds the claim and the value if the item does not
contain the claim yet or changes the value of the claim. Sometimes, however,
additional values are needed.
This is enabled with the force_add parameter which is False per default and
thus, the prior behavior of the method is unchanged if not otherwise specified.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54566
Web browser: ---
Bug ID: 54566
Summary: New option "-no" to djvutext.py
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/patches/539/
Reported by: aronsson
Created on: 2012-03-12 14:40:15
Subject: New option "-no" to djvutext.py
Original description:
djvutext.py adds OCR text to books in Wikisource. Some books already have text
for some pages, but not for others. The "-no" flag added by this patch only
adds new pages, but doesn't alter the text for any existing pages. \(At any
such question, it answers "no" automatically.\)
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=60582
Web browser: ---
Bug ID: 60582
Summary: noreferences.py - czech localization
Product: Pywikibot
Version: compat (1.0)
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jan.dudik(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Created attachment 14408
--> https://bugzilla.wikimedia.org/attachment.cgi?id=14408&action=edit
patch
see attachment
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=60610
Web browser: ---
Bug ID: 60610
Summary: disambredir.py: unknown variables
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: info(a)gno.de
Classification: Unclassified
Mobile Platform: ---
pyflakes reports unknown variables
21:41:38 scripts/disambredir.py:44: undefined name 'linktrail'
21:41:38 scripts/disambredir.py:54: undefined name 'mysite'
21:41:38 scripts/disambredir.py:57: undefined name 'page'
21:41:38 scripts/disambredir.py:116: undefined name 'linktrail'
21:41:38 scripts/disambredir.py:139: undefined name 'mysite'
seems this bug is on both (compat and core) releases
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58943
Web browser: ---
Bug ID: 58943
Summary: Archivebot: create unit tests for Timestripper
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
Blocks: 58941
Classification: Unclassified
Mobile Platform: ---
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55160
Web browser: ---
Bug ID: 55160
Summary: Page._getVersionHistory returns only a part of a
history
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
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/1546/
Reported by: dixond
Created on: 2012-11-28 13:00:50
Subject: Page._getVersionHistory returns only a part of a history
Assigned to: xqt
Original description:
There is a bug in Page.\_getVersionHistory. It doesn't load the whole history
it it is large. The problem in here \(wikipedia.py\):
if len\(result\['query'\]\['pages'\].values\(\)\[0\]\['revisions'\]\) <
revCount:
thisHistoryDone = True
I believe it should be as following:
if not getAll and
len\(result\['query'\]\['pages'\].values\(\)\[0\]\['revisions'\]\) >=
revCount:
thisHistoryDone = True
Version.py:
Pywikipedia trunk/pywikipedia/ \(r10745, 2012/11/20, 13:03:05\)
Python 2.7.3 \(default, Apr 10 2012, 23:31:26\) \[MSC v.1500 32 bit \(Intel\)\]
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.