Page MenuHomePhabricator

User-config not read when site-package
Closed, DuplicatePublic


I spent all morning trying to find out why my wasn't being read any more.

I finally found the (new?) code in which forces __no_user_config to 2 when pywikibot is installed as a site-package.

That seems a bit counter-intuitive to me, but you probably have your reasons.

I suggest you mention, somewhere in the docs, that it is necssary to set PYWIKIBOT_NO_USER_CONFIG=0 if you want your read, when you use pywikibot as site-package.

PS: I went down various false leads along the way and noticed that the doc is not quite in agreement when and where site-names are folded to lower-case ?

Event Timeline

I guess I should mention:

FreeBSD 12.2 with py37-pywikibot-5.3.0

JJMC89 added a subscriber: JJMC89.

Fixed in version 5.4.0