Dvorapa created this task.
Dvorapa added a project: Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
Restricted Application added a project: Pywikibot.

TASK DESCRIPTION
  Happens lately in tests:
  
    ERROR: test_BlockEntry_dewp (tests.logentry_tests.TestLogentries)
    Test a single logtype entry on wikipedia:de
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "C:\projects\pywikibot-g4xqx\tests\aspects.py", line 747, in 
wrapped_method
        func(self, key)
      File "C:\projects\pywikibot-g4xqx\tests\logentry_tests.py", line 121, in 
test_logevent
        self._test_logevent(logtype)
      File "C:\projects\pywikibot-g4xqx\tests\logentry_tests.py", line 69, in 
_test_logevent
        logentry = self._get_logentry(logtype)
      File "C:\projects\pywikibot-g4xqx\tests\logentry_tests.py", line 65, in 
_get_logentry
        return next(iter(self.site.logevents(logtype=logtype, total=1)))
      File "C:\projects\pywikibot-g4xqx\pywikibot\data\api.py", line 2862, in 
__iter__
        for result in self._extract_results(resultdata):
      File "C:\projects\pywikibot-g4xqx\pywikibot\data\api.py", line 2811, in 
_extract_results
        result = self.result(item)
      File "C:\projects\pywikibot-g4xqx\pywikibot\data\api.py", line 3108, in 
result
        return self.entryFactory.create(pagedata)
      File "C:\projects\pywikibot-g4xqx\pywikibot\logentries.py", line 448, in 
create
        return self._creator(logdata)
      File "C:\projects\pywikibot-g4xqx\pywikibot\logentries.py", line 430, in 
<lambda>
        self._creator = lambda data: logclass(data, self._site)
      File "C:\projects\pywikibot-g4xqx\pywikibot\logentries.py", line 197, in 
__init__
        pos = self.data['title'].find('#')
      File "C:\projects\pywikibot-g4xqx\pywikibot\logentries.py", line 38, 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.
    ======================================================================
    ERROR: test_BlockEntry_dewp (tests.logentry_tests.TestLogentryParams)
    Test BlockEntry methods on wikipedia:de
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "C:\projects\pywikibot-g4xqx\tests\aspects.py", line 747, in 
wrapped_method
        func(self, key)
      File "C:\projects\pywikibot-g4xqx\tests\logentry_tests.py", line 170, in 
test_BlockEntry
        for logentry in self.site.logevents(logtype='block', total=5):
      File "C:\projects\pywikibot-g4xqx\pywikibot\data\api.py", line 2862, in 
__iter__
        for result in self._extract_results(resultdata):
      File "C:\projects\pywikibot-g4xqx\pywikibot\data\api.py", line 2811, in 
_extract_results
        result = self.result(item)
      File "C:\projects\pywikibot-g4xqx\pywikibot\data\api.py", line 3108, in 
result
        return self.entryFactory.create(pagedata)
      File "C:\projects\pywikibot-g4xqx\pywikibot\logentries.py", line 448, in 
create
        return self._creator(logdata)
      File "C:\projects\pywikibot-g4xqx\pywikibot\logentries.py", line 430, in 
<lambda>
        self._creator = lambda data: logclass(data, self._site)
      File "C:\projects\pywikibot-g4xqx\pywikibot\logentries.py", line 197, in 
__init__
        pos = self.data['title'].find('#')
      File "C:\projects\pywikibot-g4xqx\pywikibot\logentries.py", line 38, 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.
  
  
https://ci.appveyor.com/project/Ladsgroup/pywikibot-g4xqx/builds/33454688/job/t18m1mt2ubqq7uws#L5117

TASK DETAIL
  https://phabricator.wikimedia.org/T255109

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Dvorapa
Cc: Aklapper, pywikibot-bugs-list, Dvorapa, JohnsonLee01, SHEKH, Dijkstra, 
Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Altostratus, 
Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to