| Framawiki created this task. Framawiki added a project: Pywikibot-core. Herald added subscribers: pywikibot-bugs-list, Aklapper. |
TASK DESCRIPTION
huwikinews
Traceback (most recent call last):
File "pywikibot-core/pwb.py", line 262, in <module>
if not main():
File "pywikibot-core/pwb.py", line 255, in main
run_python_file(filename, [filename] + args, argvu, file_package)
File "pywikibot-core/pwb.py", line 121, in run_python_file
main_mod.__dict__)
File "test.py", line 14, in <module>
if p.exists():
File "pywikibot-core/pywikibot/page.py", line 803, in exists
return self.site.page_exists(self)
File "pywikibot-core/pywikibot/site.py", line 907, in __getattr__
% (self.__class__.__name__, attr))
AttributeError: RemovedSite instance has no attribute 'page_exists'
<type 'exceptions.AttributeError'>
CRITICAL: Closing network session.with something like
p = pwb.Page(pwb.Site('hu', 'wikinews'), 'Category:Published') print(p.exists())same error for .text AttributeError: RemovedSite instance has no attribute 'loadrevisions' and others
TASK DETAIL
EMAIL PREFERENCES
To: Framawiki
Cc: Aklapper, pywikibot-bugs-list, Framawiki, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
Cc: Aklapper, pywikibot-bugs-list, Framawiki, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
