"Fatal error: Uncaught exception" with manual update on Norwegian Wiki

Issue #15 new
Finn Årup Nielsen
created an issue

From https://no.wikipedia.org/wiki/Bruker:Anne-Sophie_Ofrim/dahl I press "Oppdater listen manuelt".

Listeria errs with the following message:

( ! ) Fatal error: Uncaught exception 'Exception' with message 'HTTP Error 301' in /data/project/listeria/Chris-G-botclasses/botclasses.php on line 254
( ! ) Exception: HTTP Error 301 in /data/project/listeria/Chris-G-botclasses/botclasses.php on line 254

#   Time    Memory  Function    Location
1   0.0025  231512  {main}( )   ../index.php:0
2   0.2369  753816  Listeria->updatePage( ) ../index.php:32
3   61.5586 8153880 wikipedia->login( ) ../shared.inc:914
4   61.5587 8154320 wikipedia->query( ) ../botclasses.php:455
5   61.5616 8126728 wikipedia->query( ) ../botclasses.php:252
(last line repeated)

I do not know if the error is temporary.

Comments (2)

  1. Finn Årup Nielsen reporter

    The version with lang=no completes:

    https://tools.wmflabs.org/listeria/index.php?action=update&lang=no&page=Bruker:Fnielsen/Autolister/V%C3%A6rker_af_Martinus_R%C3%B8rbye

    While the equivalent with lang=nb errs:

    https://tools.wmflabs.org/listeria/index.php?action=update&lang=nb&page=Bruker:Fnielsen/Autolister/V%C3%A6rker_af_Martinus_R%C3%B8rbye

    {{CONTENTLANG}} is nb for no.wikipedia.org

    Another problem is that the label is not set from Wikidata even if the nb-label is defined. Only the Q-number is shown, see https://no.wikipedia.org/wiki/Bruker:Fnielsen/Autolister/V%C3%A6rker_af_I.C._Dahl. I suspect this is a related no/nb problem?

  2. Log in to comment