Dimpizzy created this task. Dimpizzy added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Reception123, Aklapper. Restricted Application added a project: affects-Miraheze.
TASK DESCRIPTION I'm trying to get pywikibot set up for a Miraheze site (https://comprehensibleinput.miraheze.org) but when I run login, it gives response 200, as the content of the page is html, not json. But as a test, when I try logging into wikipedia, it gets the correct json format. I tried figuring it out myself, but I guess I don't know enough about Python to do it. I added the python module snoop to a couple functions that seem to be somewhere near the problem, and I'll upload the console output I got. The final error is at the bottom. I'll also add the user-config.py and family file in case I did something wrong there. Python 3.10.7 on Ubuntu 22.04 Mediawiki 1.38.4 Pywikibot 7.6.0 comprehensibleinputwiki_family.py F35935404: comprehensibleinputwiki_family.py <https://phabricator.wikimedia.org/F35935404> user-config.py F35935405: user-config.py <https://phabricator.wikimedia.org/F35935405> console output F35935407: pywb.txt <https://phabricator.wikimedia.org/F35935407> TASK DETAIL https://phabricator.wikimedia.org/T326046 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Dimpizzy Cc: Aklapper, Reception123, pywikibot-bugs-list, Dimpizzy, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb, Masti, Alchimista
_______________________________________________ pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org