| Dalba added a comment. |
Thanks! It seems to me that pywikibot is not able to find your user-config.py.
What is the path of your user-config.py ? (it normally should be the same directory as pwb.py or in ~/.pywikibot)
You could try setting the PYWIKIBOT2_DIR environment variable (export PYWIKIBOT2_DIR=/absolute/path/to/your/user-config/directory) and see if it helps (you should do this in your cron script).
Has this problem occurred recently or is it the first time you're trying to run it through the cron job?
TASK DETAIL
EMAIL PREFERENCES
To: Dalba
Cc: Dalba, zhuyifei1999, matej_suchanek, Aklapper, pywikibot-bugs-list, MuhammadShuaib, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Masti, Alchimista, Rxy
Cc: Dalba, zhuyifei1999, matej_suchanek, Aklapper, pywikibot-bugs-list, MuhammadShuaib, Magul, Tbscho, rafidaslam, MayS, Mdupont, JJMC89, Avicennasis, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
