https://bugzilla.wikimedia.org/show_bug.cgi?id=58549
Web browser: ---
Bug ID: 58549
Summary: catall.py replaces categories instead of adding them
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: ---
Expected behavior: every entered category is added to the page.
Actual behavior: all existing categories are removed, and only the entered ones
are placed.
Example:
https://nl.wikipedia.org/w/index.php?title=NS_1200_(stoomlocomotief)&diff=3…
Note: this is the case for both core and compat.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55249
Web browser: ---
Bug ID: 55249
Summary: Unicode error when handling non-ASCII network errors
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/1280/
Reported by: tgr_
Created on: 2011-01-09 09:33:39
Subject: Unicode error when handling non-ASCII network errors
Original description:
The error handler for Site.postData in wikipedia.py line 5248 \(in r8821\)
casts an exception to a string:
except Exception, e:
output\(u'%s' %e\)
This will fail with a UnicodeDecodeError if the exception message contains
non-ASCII characters \(which is often the case for network error messages on
non-English Windows\).
Pywikipedia \[http\] trunk/pywikipedia \(r8821, 2011/01/06, 22:01:33\)
Python 2.7 \(r27:82525, Jul 4 2010, 09:01:59\) \[MSC v.1500 32 bit \(Intel\)\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: triggers problem \#3081100
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58817
Web browser: ---
Bug ID: 58817
Summary: PYWP-11 Scripts showing warnings from pkg_require
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: trivial
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: wmf.bugconverter(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
This issue was converted from https://jira.toolserver.org/browse/PYWP-11.
Summary: Scripts showing warnings from pkg_require
Issue type: Bug - A problem which impairs or prevents the functions of the
product.
Priority: Trivial
Status: Open
Assignee: Merlijn van Deen <valhallasw(a)arctus.nl>
On Fri, 21 Jan 2011 22:20:43, Merlijn van Deen <valhallasw(a)arctus.nl> opened
the following bug:
> Running any script yields: /home/valhallasw/src/pwbde/pwb-
> flat/branches/rewrite/pywikibot/comms/threadedhttp.py:41:
> UserWarning: Module pkg_resources was already imported from
> /home/valhallasw/src/pwbde/lib/python2.6/site-
> packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py, but
> /home/valhallasw/src/pwbde/lib/python2.6/site-
> packages/distribute-0.6.10-py2.6.egg is being added to sys.path
> import pkg_resources /home/valhallasw/src/pwbde/pwb-
> flat/branches/rewrite/pywikibot/comms/threadedhttp.py:41:
> UserWarning: Module site was already imported from
> /home/valhallasw/src/pwbde/lib/python2.6/site.pyc, but
> /home/valhallasw/src/pwbde/lib/python2.6/site-
> packages/distribute-0.6.10-py2.6.egg is being added to sys.path
> Running r8871 - version.py hasnt been ported to the rewrite yet.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55270
Web browser: ---
Bug ID: 55270
Summary: category.py using wrong message in deletion notice
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: normal
Priority: Unprioritized
Component: category.py
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/1206/
Reported by: silvonen
Created on: 2010-07-07 04:11:43
Subject: category.py using wrong message in deletion notice
Assigned to: cydeweys
Original description:
The script "category.py move" used to put the message 'Robot: Category was
moved to \[\[:Category:%s|%s\]\]' on the old category page when marking it as
deletable. Now it uses the message 'Robot: Changing %s', which doesn't make
much sense in this context. Please fix.
>python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r8344, 2010/07/05, 17:49:14\)
Python 2.5.4 \(r254:67916, Jan 29 2009, 12:02:11\) \[MSC v.1310 32 bit
\(Intel\)\]
config-settings:
use\_api = True
use\_api\_login = True
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=68794
Bug ID: 68794
Summary: pywikibot uses incorrect domain for https certificate
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: ian(a)iankelling.org
Web browser: ---
Mobile Platform: ---
Running a simple pywikibot script gives error that my server has an invalid
certificate, then it retries, and seems to ignore that issue and succeeds.
In the error, it reports the certificate for a different domain that my server
also hosts, probably because either 1. it is the domain used for reverse dns,
or 2. it is the domain which my server redirects to for urls containing the ip
address.
Pywikibot should get the certificate for the domain I configured it to use.
Here is the error output.
ERROR: Traceback (most recent call last):
File "/root/opt/pywikibot/pywikibot/data/api.py", line 298, in submit
body=paramstring)
File "/root/opt/pywikibot/pywikibot/comms/http.py", line 174, in request
raise request.data
CertificateHostnameMismatch: Server presented certificate that does not match
host ofswiki.org: {'notAfter': 'May 23 20:21:24 2015 GMT', 'subjectAltName':
(('DNS', 'www.iankelling.org'), ('DNS', 'iankelling.org')), 'subject':
((('description', u'0NEmhfbNSxh2R2RF'),), (('countryName', u'US'),),
(('commonName', u'www.iankelling.org'),), (('emailAddress',
u'REDACTED-AT-iankelling.org'),))}
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=67663
Bug ID: 67663
Summary: unsigned comments cause travis build breakage
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: archivebot.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
When a section ends with an unsigned comment, on one of Xqt's talk pages, the
archivebot tests fail
https://travis-ci.org/wikimedia/pywikibot-core/jobs/29181593
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=68611
Bug ID: 68611
Summary: Running data_ingestion.py depends on
tests/data/csv_ingestion.csv
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: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
Running data_ingestion requires the file 'tests/data/csv_ingestion.csv'
relative to CWD, which doesnt exist except when the bot operator is calling the
script whilst CWD is the scripts directory.
$ python pwb.py scripts/data_ingestion.py
Traceback (most recent call last):
File "pwb.py", line 157, in <module>
run_python_file(fn, argv, argvu)
File "pwb.py", line 67, in run_python_file
exec(compile(source, filename, "exec"), main_mod.__dict__)
File "scripts/data_ingestion.py", line 144, in <module>
reader = CSVReader(open('tests/data/csv_ingestion.csv'), 'url')
IOError: [Errno 2] No such file or directory: 'tests/data/csv_ingestion.csv'
<type 'exceptions.IOError'>
CRITICAL: Waiting for 1 network thread(s) to finish. Press ctrl-c to abort
There is a test, which isnt run as part of the test suite:
scripts/tests/test_data_ingestion.py
And the data file does exist as:
scripts/tests/data/csv_ingestion.csv
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=56963
Web browser: ---
Bug ID: 56963
Summary: Tests: handle network problems gracefully
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: ---
https://integration.wikimedia.org/ci/job/pywikibot-core-tests/186/consoleFu…
Retrying often is probably not the best option for unit tests. This could
either be solved by handling the network errors gracefully in some way (and
then passing the test?), or by switching tests to run on a local mediawiki (see
https://bugzilla.wikimedia.org/56961 )
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55241
Web browser: ---
Bug ID: 55241
Summary: Problem with chinese character
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/1327/
Reported by: jandudik
Created on: 2011-08-03 11:31:41
Subject: Problem with chinese character
Original description:
Bot removes interwiki, which have incorrect character at the end.
But mediawiki translates this character correctly
http://pl.wikipedia.org/w/index.php?title=Wios%C5%82onos\_ameryka%C5%84ski&…
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55099
Web browser: ---
Bug ID: 55099
Summary: Bot to put the same text on the same page on every
wiki
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: interwiki.py
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/154/
Reported by: mike_lifeguard
Created on: 2008-07-28 00:24:41
Subject: Bot to put the same text on the same page on every wiki
Original description:
It should simply put the exact same text on the same page \(accounting for
namespace localization\) on every wiki \(or some specified subset\). Should be
easy to do for those knowing python. This would be useful to create
template-like user/user talk pages, spamming messages cross-wiki, updating
templates, updating blacklists \(for stewards\) etc. Mike.lifeguard | @meta
00:21, 28 July 2008 \(UTC\)
--
You are receiving this mail because:
You are the assignee for the bug.