https://bugzilla.wikimedia.org/show_bug.cgi?id=55329
Web browser: ---
Bug ID: 55329
Summary: showDiff() highlighting limitation due to difflib
design
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/509/
Reported by: cosoleto
Created on: 2007-09-28 07:35:32
Subject: showDiff() highlighting limitation due to difflib design
Assigned to: cosoleto
Original description:
showDiff\(\) can fail to highlight a char-by-char difference because Python
difflib seems don't support fully char-by-char comparison.
Please see in Python tracker:
\* issue \#1528074: "difflib.SequenceMatcher.find\_longest\_match\(\) wrong
result" \(http://bugs.python.org/issue1528074\)
\* issue \#1678345: "A fix for the bug \#1528074 \[warning: quite slow\]"
\(http://bugs.python.org/issue1678345\)
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55297
Web browser: ---
Bug ID: 55297
Summary: Archivebot - unsupported locale setting
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/991/
Reported by: purodha
Created on: 2009-07-25 09:20:16
Subject: Archivebot - unsupported locale setting
Original description:
Here is its output:
python archivebot.py -log -p:Something
Traceback \(most recent call last\):
File "/home/purodha/pywikipedia/archivebot.py", line 599, in <module>
main\(\)
File "/home/purodha/pywikipedia/archivebot.py", line 540, in main
locale.setlocale\(locale.LC\_TIME,options.locale\) \#Required for english month
names
File "/usr/lib/python2.5/locale.py", line 478, in setlocale
return \_setlocale\(category, locale\)
locale.Error: unsupported locale setting
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55223
Web browser: ---
Bug ID: 55223
Summary: archivebot.py not working on dewikinews
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/1391/
Reported by: Anonymous user
Created on: 2012-01-09 19:13:59
Subject: archivebot.py not working on dewikinews
Original description:
As the title says, archivebot.py is not working on dewikinews, without an error
message. Using verbose output \(adding import wikipedia; wikipedia.verbose =
1\) you can see that it doesn't even try to change pages, although there are
changes that need to be done \(I've added that as attachment, the output goes
on like the last two for all pages out of
http://de.wikinews.org/wiki/Spezial:Linkliste/Vorlage:Autoarchiv and exits
then\). The script is running on the toolserver,
version.py:
hoo@willow:~/pywikipedia$ python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r9822, 2012/01/04, 08:38:45\)
Python 2.7.1 \(r271:86832, Jan 4 2011, 13:57:14\)
\[GCC 4.5.2\]
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=55178
Web browser: ---
Bug ID: 55178
Summary: Archivebot.py adds to archive first, checks then
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/1496/
Reported by: Anonymous user
Created on: 2012-07-24 21:52:34
Subject: Archivebot.py adds to archive first, checks then
Original description:
Archivebot.py seems to add first to archive page, and only then does the size
check. better way to work would be:
Check if the size of archive page is less than limit.
If No, increase counter and go to begin
If Yes, archive
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55175
Web browser: ---
Bug ID: 55175
Summary: archivebot.py error
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/1506/
Reported by: Anonymous user
Created on: 2012-08-25 11:51:13
Subject: archivebot.py error
Original description:
I'm trying to use this on sr.wikipedia, but I'm getting the same error all the
time:
6 Threads found on \[\[sr:Разговор са корисником:Micki\]\]
Looking for: \{\{Korisnik:MickiBot/archive\}\} in \[\[sr:Разговор са
корисником:Micki\]
\]
Error occured while processing page \[\[sr:Разговор са корисником:Micki\]\]
Traceback \(most recent call last\):
File "D:\Documents\Instalacije\pywikipedia\archivebot.py", line 601, in main
Archiver = PageArchiver\(pg, a, salt, force\)
File "D:\Documents\Instalacije\pywikipedia\archivebot.py", line 376, in
\_\_init
\_\_
self.loadConfig\(\)
File "D:\Documents\Instalacije\pywikipedia\archivebot.py", line 418, in loadCo
nfig
raise MissingConfigError\(u'Missing or malformed template'\)
MissingConfigError: Missing or malformed template
Does anyone know how to resolve this?
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55116
Web browser: ---
Bug ID: 55116
Summary: When it will start work archivebot.py and
weblinkchecker.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/support-requests/37/
Reported by: n-fran
Created on: 2013-01-25 12:13:15
Subject: When it will start work archivebot.py and weblinkchecker.py?
Original description:
1\) archivebot.py
I put in the parameters
|algo = old\(1d\)
Several days have passed, but still appears
Processing 10 threads
There are only 0 Threads. Skipped
When it will be back up?
2\) weblinkchecker.py
I set the parameter-day:1 several days have Passed, but the bot is doing
nothing.
And the errors are gone. I think that the problem is not only in my family
file, because the same error occurs when I run the bot in Russian Wikipedia.
http://pastebin.com/x1zQipmU
Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58906
Web browser: ---
Bug ID: 58906
Summary: 'page-exists' key error when uploading a file that has
a local description page
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: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
When trying to upload an image for which a local description page exists but no
local file exists, an upload warning of 'page-exists' will be raised.
However that message isn't defined so it raises a KeyError while trying to
raise the UploadWarning.
File "/Users/km/projects/pwb-core/pywikibot/site.py", line 3268, in upload
raise pywikibot.UploadWarning(upload_warnings[warning]
KeyError: u'page-exists'
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58872
Web browser: ---
Bug ID: 58872
Summary: Set locale if system uses wrong default
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: dr.trigon(a)surfeu.ch
Classification: Unclassified
Mobile Platform: ---
The grid engine on tool labs has another default locale setting than the
console.
Grid engine:
>>> import locale
>>> print locale.localeconv()
{'mon_decimal_point': '', 'int_frac_digits': 127, 'p_sep_by_space': 127,
'frac_digits': 127, 'thousands_sep': '', 'n_sign_posn': 127, 'decimal_point':
'.', 'int_curr_symbol': '', 'n_cs_precedes': 127, 'p_sign_posn': 127,
'mon_thousands_sep': '', 'negative_sign': '', 'currency_symbol': '',
'n_sep_by_space': 127, 'mon_grouping': [], 'p_cs_precedes': 127,
'positive_sign': '', 'grouping': []}
>>> print locale.getdefaultlocale()
(None, None)
>>> print locale.getlocale()
(None, None)
>>> print locale.getpreferredencoding()
ANSI_X3.4-1968
Console:
>>> import locale
>>> print locale.localeconv()
{'mon_decimal_point': '', 'int_frac_digits': 127, 'p_sep_by_space': 127,
'frac_digits': 127, 'thousands_sep': '', 'n_sign_posn': 127, 'decimal_point':
'.', 'int_curr_symbol': '', 'n_cs_precedes': 127, 'p_sign_posn': 127,
'mon_thousands_sep': '', 'negative_sign': '', 'currency_symbol': '',
'n_sep_by_space': 127, 'mon_grouping': [], 'p_cs_precedes': 127,
'positive_sign': '', 'grouping': []}
>>> print locale.getdefaultlocale()
('en_US', 'UTF-8')
>>> print locale.getlocale()
(None, None)
>>> print locale.getpreferredencoding()
UTF-8
The one from console works with pywikibot, the other one not, see Bug 58181.
Essentially the issue is that the locale on the grid engine is not set
properly. But it is not important where this error comes from, the bots must
not crash in such situations.
I propose to check 'locale.getdefaultlocale()' on startup and compare it to
'config.textfile_encoding' (may be also 'config.console_encoding') IFF they
mismatch, the encoding has to be set according to config in order to use the
correct one.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55285
Web browser: ---
Bug ID: 55285
Summary: Login no longer available
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: login.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/1136/
Reported by: Anonymous user
Created on: 2010-03-09 13:34:43
Subject: Login no longer available
Original description:
I get the following errors when using a known good user-config.py and family
configurations for an SVN checkout of 2009-11-05. This is for a local wiki.
Using 2010-03-09, I get the following error on Ubuntu 9.04 \(Python 2.6.2\) and
Ubuntu 8.04 \(Python 2.5.2\):
Logging into FamilyName:en as UserName via API
Error downloading data: No JSON object could be decoded
Request: en:/scriptpath/api.php?
Retrying in 1 minutes.... \(I changed line 152 of query.py to
retry\_idle\_time\*0.01 so I could see the dump without growing a beard first\)
Dump output:
Error reported: No JSON object could be decoded
127.0.0.1
/hcrscript/api.php?
\{"login":\{"result":"Success","lguserid":3,"lgusername":"UserName","lgtoken":"2b448df9379b445c225c0a5c1d3af18b","cookieprefix":"DatabaseName","sessionid":"3dd4cc3dd33236b57da8234d2f73e6d3"\}\}
on Ubuntu 9.04:
python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r7983, 2010/03/09, 08:14:34\)
Python 2.6.2 \(release26-maint, April 19, 2009, 01:56:41\)
\[GCC 4.3.3\]
also broken on Ubuntu 8.04
python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r7983, 2010/03/09, 08:14:34\)
Python 2.5.2 \(r252:60911, Jul 22 2009, 15:35:03\)
\[GCC 4.2.4 \(Ubuntu 4.2.4-1ubuntu3\)\]
But it seems to work fine on this system:
foreignhost:pywikipedia-2010-03-09 alex$ python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r7983, 2010/03/09, 08:14:34\)
Python 2.5.2 \(r252:60911, Feb 22 2008, 07:57:53\)
\[GCC 4.0.1 \(Apple Computer, Inc. build 5363\)\]
Any ideas what's happening?
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58269
Web browser: ---
Bug ID: 58269
Summary: Bot Edit Summary does is not entered in a correct
language
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: lotusnagarkot(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Localization of Nepali Language for Pywikibot is Complete in Translatewiki
when I use bot in newiki the edit summary entered are in Newari language . Why
is not it finding the wiki and using correct summary ?
Bot version :
Pywikibot: [https] r/pywikibot/compat (r10585, 44f2c99, 2013/12/09, 20:53:06,
ok)
Release version: 1.0b1
Python: 2.7.5+ (default, Sep 19 2013, 13:48:49)
[GCC 4.8.1]
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.