Page MenuHomePhabricator

Archivebot failure for wikipedia:frr
Closed, DeclinedPublic

Description

I've found these two failures and thing there were more:

======================================================================
FAIL: test_archivebot_frr (tests.archivebot_tests.TestArchiveBot)
Test archivebot for one site on wikipedia:frr
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/wikimedia/pywikibot-core/tests/aspects.py", line 651, in wrapped_method
    func(self, key)
  File "/home/travis/build/wikimedia/pywikibot-core/tests/archivebot_tests.py", line 74, in test_archivebot
    self.assertIsInstance(thread.timestamp, datetime)
AssertionError: None is not an instance of <class 'datetime.datetime'>

Event Timeline

XZise created this task.Jul 16 2015, 5:25 PM
XZise raised the priority of this task from to Needs Triage.
XZise updated the task description. (Show Details)
XZise added projects: Pywikibot-tests, Pywikibot.
XZise added subscribers: Aklapper, pywikibot-bugs-list, XZise.
jayvdb updated the task description. (Show Details)Jul 16 2015, 5:31 PM
jayvdb set Security to None.
jayvdb added a subscriber: jayvdb.Jul 16 2015, 5:34 PM

The frr case appeared first on T69663#1376125 . Prior problems were only on de.wp and other wikis where unsigned comments were appearing on Xqt's talk page.

Mpaa added a subscriber: Mpaa.Jul 17 2015, 8:00 PM

Why the debug code we added for T69663 did not output anything? Any clue?

It did for the second (more recent) case, but at the place where it happened: https://travis-ci.org/wikimedia/pywikibot-core/jobs/71239095#L2597

:Ich habe diese Seite durchaus auch unter Beobachtung ;) &nbsp;<small>[[Benutzer Diskussion:Xqt|@]]</small>[[Benutzer:Xqt|xqt]] 12:43, 20. Now. 2011 (CET)
::Danke für Deine Rückmeldung!
::Ich hatte in den letzten Tagen zahlreiche ähnliche Links auf Benutzerseiten gesetzt, weil viele Bots und User ihre frr-Userseiten leider nicht auf ihrer Beo haben. Falls Du frr-Fragen lieber auf dieser Seite beantworten möchtest, dann lösch den Link (oben) doch bitte wieder. Bitte entschuldige meine Übereifrigkeit. --[[Benutzer:Murma174|Murma174]] 12:56, 20. Now. 2011 (CET)

The date time format looks normal, especially as it is almost 4 years old. What might be happening that the month name changed and is not “Now” anymore?

Mpaa added a comment.Jul 18 2015, 3:07 PM

It looks it is not changed, https://frr.wikipedia.org/w/api.php?action=query&meta=allmessages&ammessages=nov

"query": {
    "allmessages": [
        {
            "name": "nov",
            "*": "Now."
        }
    ]
}

And running offline, python -m unittest tests.archivebot_tests.TestArchiveBot

2 Threads found on [[wikipedia:frr:Benutzer Diskussion:Xqt]]
2010-08-21 09:04:00+02:00
2011-11-20 12:56:00+02:00

which looks OK (except tzone ...)

09:04, 21. Aug. 2010 (UTC)
12:56, 20. Now. 2011 (CET)

No clue ...

Xqt closed this task as Declined.May 21 2018, 7:15 AM
Xqt added a subscriber: Xqt.

The month name has been changed someday. Don't think that we should care about it any longer