https://bugzilla.wikimedia.org/show_bug.cgi?id=53698
xqt <info(a)gno.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |UNCONFIRMED
Ever confirmed|1 |0
--- Comment #2 from xqt <info(a)gno.de> ---
This is not the current framework code. Could you please verify.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=53698
xqt <info(a)gno.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |info(a)gno.de
Version|unspecified |core (2.0)
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55881
Web browser: ---
Bug ID: 55881
Summary: Missing possibility to retrieve images from a page
that were not included through templates
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: crangasi2001(a)yahoo.com
Blocks: 55880
Classification: Unclassified
Mobile Platform: ---
For the image parsing, the function linkedPages(withImageLinks = True)
used to provide images that were not included through templates, while
imageLinks would provide all the images. In core, the linkedPages
function no longer provides this capability, and I haven't found any
replacement
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55836
Web browser: ---
Bug ID: 55836
Summary: Invalid link found while title parsing
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: info(a)gno.de
Classification: Unclassified
Mobile Platform: ---
Externsteine -> no corresponding page in wikipedia:bn
** wikipedia:an has 0 good articles
** wikipedia:ar has 233 good articles
Retrieving 50 pages from wikipedia:ar.
أحمد ياسين -> no corresponding page in wikipedia:bn
الإخوان المسلمون -> corresponding page is মুসলিম ব্রাদারহুড
Traceback (most recent call last):
File "C:\pwb\core\pwb.py", line 104, in <module>
run_python_file(fn, args)
File "C:\pwb\core\pwb.py", line 49, in run_python_file
exec compile(source, filename, "exec") in main_mod.__dict__
File "C:\pwb\core\scripts\featured.py", line 672, in <module>
main()
File "C:\pwb\core\scripts\featured.py", line 665, in main
bot.run()
File "C:\pwb\core\scripts\featured.py", line 278, in run
self.run_good()
File "C:\pwb\core\scripts\featured.py", line 313, in run_good
self.treat(code, task)
File "C:\pwb\core\scripts\featured.py", line 359, in treat
self.featuredWithInterwiki(fromsite, process)
File "C:\pwb\core\scripts\featured.py", line 601, in featuredWithInterwiki
atrans.put(text, comment)
File "C:\pwb\core\pywikibot\page.py", line 898, in put
async=async, callback=callback, **kwargs)
File "C:\pwb\core\pywikibot\page.py", line 821, in save
**kwargs)
File "C:\pwb\core\pywikibot\page.py", line 827, in _save
comment = self._cosmetic_changes_hook(comment) or comment
File "C:\pwb\core\pywikibot\page.py", line 877, in _cosmetic_changes_hook
self.text = ccToolkit.change(old)
File "C:\pwb\core\scripts\cosmetic_changes.py", line 174, in change
text = self.cleanUpLinks(text)
File "C:\pwb\core\scripts\cosmetic_changes.py", line 508, in cleanUpLinks
'startspace'])
File "C:\pwb\core\pywikibot\textlib.py", line 199, in replaceExcept
replacement = new(match)
File "C:\pwb\core\scripts\cosmetic_changes.py", line 403, in handleOneLink
namespace = page.namespace()
File "C:\pwb\core\pywikibot\page.py", line 114, in namespace
return self._link.namespace
File "C:\pwb\core\pywikibot\page.py", line 3256, in namespace
self.parse()
File "C:\pwb\core\pywikibot\page.py", line 3241, in parse
% self._text)
pywikibot.exceptions.Error: Invalid link (no page title):
'বিষ
য়শ্রেণী:'
Exception TypeError: TypeError("'NoneType' object is not callable",) in <bound
m
ethod ConnectionPool.__del__ of {'https:ar.wikipedia.org':
[<httplib2.python2.ht
tplib2.HTTPSConnectionWithTimeout instance at 0x0000000006662AC8>],
'https:bn.wi
kipedia.org': [<httplib2.python2.httplib2.HTTPSConnectionWithTimeout instance
at
0x0000000002AA4E88>], 'https:als.wikipedia.org':
[<httplib2.python2.httplib2.HT
TPSConnectionWithTimeout instance at 0x0000000005745C08>],
'https:www.wikidata.o
rg': [<httplib2.python2.httplib2.HTTPSConnectionWithTimeout instance at
0x000000
0002C4B148>], 'https:an.wikipedia.org':
[<httplib2.python2.httplib2.HTTPSConnect
ionWithTimeout instance at 0x000000000666C488>]}> ignored
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55208
Web browser: ---
Bug ID: 55208
Summary: invalid literal found for minutesDiff
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
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/1418/
Reported by: xqt
Created on: 2012-03-10 11:43:20
Subject: invalid literal found for minutesDiff
Original description:
Timestamps seems to be different.
Trace:
Dump cu \(wikipedia\) appended.
Traceback \(most recent call last\):
File "C:\pwb\trunk\interwiki.py", line 2573, in <module>
main\(\)
File "C:\pwb\trunk\interwiki.py", line 2547, in main
bot.run\(\)
File "C:\pwb\trunk\interwiki.py", line 2287, in run
self.queryStep\(\)
File "C:\pwb\trunk\interwiki.py", line 2265, in queryStep
subj.finish\(self\)
File "C:\pwb\trunk\interwiki.py", line 1699, in finish
time.gmtime\(\)\)\)
File "C:\pwb\trunk\interwiki.py", line 1567, in minutesDiff
int\(time1\[6:8\]\)\) \* 24 + int\(time1\[8:10\]\)\) \* 60 + \
ValueError: invalid literal for int\(\) with base 10: '3-'
Updating page \[\[tr:Kaplan\]\] via API
version.py:
C:\pwb\trunk
Pywikipedia trunk/pywikipedia/ \(r9974, 2012/03/09, 11:08:24\)
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=54995
Web browser: ---
Bug ID: 54995
Summary: [PATCH] Editing before getting the revisions of the
page is causing a KeyError
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Keywords: easy, patch
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: crangasi2001(a)yahoo.com
Classification: Unclassified
Mobile Platform: ---
Created attachment 13438
--> https://bugzilla.wikimedia.org/attachment.cgi?id=13438&action=edit
Proposed patch
I'm running
https://code.google.com/p/wikiro/source/browse/trunk/robots/python/pywikipe…
on ro.wp. The put function throws a KeyError:
>>> Comuna Adâncata, Ialomița <<<
[[Comuna Adâncata, Ialomiţa]] doesn't exist
Do you want to create a redirect? ([y]es, [N]o, [a]ll, [q]uit) y
{}
Traceback (most recent call last):
File "pwb.py", line 58, in <module>
execfile(sys.argv[0])
File "diacritice/diacritics_redirects.py", line 127, in <module>
main()
File "diacritice/diacritics_redirects.py", line 123, in main
bot.run()
File "diacritice/diacritics_redirects.py", line 50, in run
self.treat(page)
File "diacritice/diacritics_redirects.py", line 99, in treat
page_mod.put(u"#%s [[%s]]" % (self.site.redirect(True), page_t.title()),
comment)
File "/home/andrei/pywikibot-core/pywikibot/page.py", line 872, in put
async=async, callback=callback, **kwargs)
File "/home/andrei/pywikibot-core/pywikibot/page.py", line 795, in save
**kwargs)
File "/home/andrei/pywikibot-core/pywikibot/page.py", line 804, in _save
watch=watchval, bot=botflag, **kwargs)
File "/home/andrei/pywikibot-core/pywikibot/site.py", line 709, in callee
return fn(self, *args, **kwargs)
File "/home/andrei/pywikibot-core/pywikibot/site.py", line 2636, in editpage
params["basetimestamp"] = page._revisions[lastrev].timestamp
KeyError: 4164884
The error is caused by the _revisions dict not being populated. Possible patch
is attached.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54535
Web browser: ---
Bug ID: 54535
Summary: Relative links in Wikisource main namespace
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/626/
Reported by: andreasjs
Created on: 2013-08-24 22:20:52.133000
Subject: Relative links in Wikisource main namespace
Original description:
Wikisource main namespace allows subpages and therefore relative links.
Add the line:
self.namespacesWithSubpage.extend([0])
See attachment
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=52692
Andre Klapper <aklapper(a)wikimedia.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks|55673 |
See Also| |https://bugzilla.wikimedia.
| |org/show_bug.cgi?id=55673
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=52692
Andre Klapper <aklapper(a)wikimedia.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution|--- |FIXED
--- Comment #34 from Andre Klapper <aklapper(a)wikimedia.org> ---
Migration has been finished; closing as FIXED. Followup issues can be handled
in separate reports and/or talk pages, mailing lists.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55663
Web browser: ---
Bug ID: 55663
Summary: AttributeError: 'module' object has no attribute
'NullHandler'
Product: Pywikibot
Version: compat (1.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: ---
According to [1] the 'NullHandler' was introduced in python 2.7 only - but in
order to run the bot on the toolserver we need python 2.6 compatibility.
[1] http://docs.python.org/2/library/logging.handlers.html#nullhandler
In order to reproduce this error run, e.g.:
$ python pwb.py -subster_irc
--
You are receiving this mail because:
You are the assignee for the bug.