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: [email protected]
          Reporter: [email protected]
    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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to