https://bugzilla.wikimedia.org/show_bug.cgi?id=54684
Web browser: --- Bug ID: 54684 Summary: AttributeError: 'Page' object has no attribute '_isredir' Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: info@gno.de Classification: Unclassified Mobile Platform: ---
AttributeError: 'Page' object has no attribute '_isredir' occures but it never should occure after loadpageinfo method is executed:
WARNING: loadpageinfo: Query on [[ml:????????? ?????????]] returned data on '??? ???? ?????' Traceback (most recent call last): File "C:\pwb\core\pwb.py", line 103, 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 287, in run self.run_featured() File "C:\pwb\core\scripts\featured.py", line 350, in run_featured 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 554, in featuredWithInterwiki atrans = self.findTranslated(a, tosite) File "C:\pwb\core\scripts\featured.py", line 472, in findTranslated if backpage.isRedirectPage(): File "C:\pwb\core\pywikibot\page.py", line 445, in isRedirectPage return self.site.page_isredirect(self) File "C:\pwb\core\pywikibot\site.py", line 1364, in page_isredirect return page._isredir AttributeError: 'Page' object has no attribute '_isredir' Exception TypeError: TypeError("'NoneType' object is not callable",) in <bound m ethod ConnectionPool.__del__ of {'https:yo.wikipedia.org': [<httplib2.python2.ht tplib2.HTTPSConnectionWithTimeout instance at 0x000000003132D748>], 'https:lv.wi ... b2.python2.httplib2.HTTPSConnectionWithTimeout instance at 0x000000000945DB08>], 'https:simple.wikipedia.org': [<httplib2.python2.httplib2.HTTPSConnectionWithTi meout instance at 0x000000002DD044C8>]}> ignored
https://bugzilla.wikimedia.org/show_bug.cgi?id=54684
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |High Severity|normal |major
https://bugzilla.wikimedia.org/show_bug.cgi?id=54684
Geoffrey Mon geofbot@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |geofbot@gmail.com
--- Comment #1 from Geoffrey Mon geofbot@gmail.com --- Hmmm I might be able to work this one out in my spare time...
https://bugzilla.wikimedia.org/show_bug.cgi?id=54684
Merlijn van Deen valhallasw@arctus.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |core (2.0) See Also| |https://bugzilla.wikimedia. | |org/show_bug.cgi?id=54868
https://bugzilla.wikimedia.org/show_bug.cgi?id=54684
--- Comment #2 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 101784 had a related patch set uploaded by Sn1per: Fix bug 54684 by setting _isredir to false if it doesn't exist yet
https://gerrit.wikimedia.org/r/101784
https://bugzilla.wikimedia.org/show_bug.cgi?id=54684
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=54684
--- Comment #3 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 101784 merged by jenkins-bot: Fix bug 54684 by setting _isredir to false if it doesn't exist yet
https://gerrit.wikimedia.org/r/101784
https://bugzilla.wikimedia.org/show_bug.cgi?id=54684
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
pywikipedia-bugs@lists.wikimedia.org