https://bugzilla.wikimedia.org/show_bug.cgi?id=55313
Web browser: ---
Bug ID: 55313
Summary: -hintfile: option
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: normal
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/bugs/836/
Reported by: Anonymous user
Created on: 2009-01-23 23:29:52
Subject: -hintfile: option
Assigned to: purodha
Original description:
The newly introduced version -hintfile: is not well-documented or it's not
working as expected.
It asks for a page to be checked \(see below\) while \(according to \[2284955\]
interwiki hints from file\) it's supposed to read both a local page and a hint
page from file. Please fix it. Thanks\!
python interwiki.py -hintfile:
Please enter the hint filename: hints.txt
Which page to check:
Pywikipedia \[http\] trunk/pywikipedia \(r6291, Jan 23 2009, 16:08:14\)
Python 2.5.1 \(r251:54863, Apr 18 2007, 08:51:08\) \[MSC v.1310 32 bit
\(Intel\)\]
--
You are receiving this mail because:
You are the assignee for the bug.
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=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=55131
Web browser: ---
Bug ID: 55131
Summary: Non-unicode path results in UnicodeDecodeError
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/1648/
Reported by: valhallasw
Created on: 2013-07-28 19:36:57.919000
Subject: Non-unicode path results in UnicodeDecodeError
Original description:
>From an IRC support request:
Traceback (most recent call last):
File "login.py", line 436, in <module>
main()
File "login.py", line 432, in main
loginMan.login()
File "login.py", line 319, in login
cookiedata = self.getCookie(api)
File "login.py", line 243, in getCookie
self.site.updateCookies(L, self.sysop)
File "wikipedia.py", line 6371, in updateCookies
self._setupCookies(self._cookies[index], sysop)
File "wikipedia.py", line 6342, in _setupCookies
f = open(config.datafilepath('login-data', filename), 'w')
File "config.py", line 555, in datafilepath
return makepath(os.path.join(base_dir, *filename))
File "/usr/lib/python2.7/posixpath.py", line 80, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 16:
ordinal not in range(128)
The pywikipedia folder was in '/.../Télechargements', which is has an accented
letter. Moving to a non-accented directory solved the issue.
User is running rewrite; version.py did not yield useful results because it
doesn't support git or git nightlies yet...
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54868
Web browser: ---
Bug ID: 54868
Summary: isDisambig results in AttributeError
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: themineo+wikibz(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
In [1]: import pywikibot
In [2]: s = pywikibot.Site("et", "wikipedia")
In [3]: p = pywikibot.Page(s, "Hannes Varblane")
In [4]: p.isDisambig()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-4-af3848c4be35> in <module>()
----> 1 p.isDisambig()
/home/wieland/dev/pywikibot-core/pywikibot/page.pyc in isDisambig(self,
get_Index)
569 if self.site.hasExtension('Disambiguator', False):
570 # If the Disambiguator extension is loaded, use it
--> 571 return 'disambiguation' in self.properties()
572
573 if not hasattr(self.site, "_disambigtemplates"):
/home/wieland/dev/pywikibot-core/pywikibot/page.pyc in properties(self, force)
379 if not hasattr(self, '_pageprops') or force:
380 self.site.loadpageprops(self)
--> 381 return self._pageprops
382
383 def defaultsort(self, force=False):
AttributeError: 'Page' object has no attribute '_pageprops'
» git describe --always --dirty
a987c8e-dirty
(Dirty here refers to the submodules having been updated)
This is obviously using the core branch.
--
You are receiving this mail because:
You are the assignee for the bug.