Xqt added a comment.
Current failure log is:
======================================================================
ERROR: test_BlockEntry_tewp (tests.logentries_tests.TestLogentries)
Test a single logtype entry on wikipedia:test
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\projects\pywikibot-g4xqx\tests\aspects.py", line 653, in
wrapped_method
func(self, key)
File "C:\projects\pywikibot-g4xqx\tests\logentries_tests.py", line 150,
in test_logevent
self._test_logevent(logtype)
File "C:\projects\pywikibot-g4xqx\tests\logentries_tests.py", line 75, in
_test_logevent
logentry = self._get_logentry(logtype)
File "C:\projects\pywikibot-g4xqx\tests\logentries_tests.py", line 68, in
_get_logentry
le = next(iter(self.site.logevents(logtype=logtype, total=1)))
File "C:\projects\pywikibot-g4xqx\pywikibot\data\api.py", line 2609, in
__iter__
yield from self._extract_results(resultdata)
File "C:\projects\pywikibot-g4xqx\pywikibot\data\api.py", line 2558, in
_extract_results
result = self.result(item)
File "C:\projects\pywikibot-g4xqx\pywikibot\data\api.py", line 2833, in
result
return self.entryFactory.create(pagedata)
File "C:\projects\pywikibot-g4xqx\pywikibot\logentries.py", line 367, in
create
return self._creator(logdata)
File "C:\projects\pywikibot-g4xqx\pywikibot\logentries.py", line 357, in
<lambda>
self._creator = lambda data: logclass(data, self._site)
File "C:\projects\pywikibot-g4xqx\pywikibot\logentries.py", line 159, in
__init__
pos = self['title'].find('#')
File "c:\python353-x64\lib\collections\__init__.py", line 988, in
__getitem__
return self.__class__.__missing__(self, key)
File "C:\projects\pywikibot-g4xqx\pywikibot\logentries.py", line 63, in
__missing__
'permission to view it.'.format(self['type'], key))
pywikibot.exceptions.HiddenKeyError: Log entry (block) has a hidden 'title'
key and you don't have permission to view it.
TASK DETAIL
https://phabricator.wikimedia.org/T78152
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Dvorapa, Framawiki, Dalba, Masti, Magul, Shanmugamp7, gerritbot, Xqt,
jayvdb, Aklapper, pywikibot-bugs-list, XZise, Jyoo1011, JohnsonLee01, SHEKH,
Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89,
Altostratus, Avicennasis, mys_721tx, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]