Mpaa reopened this task as "Open". Mpaa added a comment.
user@pc:~/python/core {master}$ python Python 3.8.3 (default, Jul 2 2020, 16:21:59) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pywikibot /home/user/python/core/pywikibot/config2.py:1066: UserWarning: Configuration variable "oauth_tokens" is defined in your user- config.py but unknown. It can be a misspelled one or a variable that is no longer supported. warn('\n' + fill('Configuration variable "{0}" is defined in ' Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/user/python/core/pywikibot/__init__.py", line 36, in <module> from pywikibot.data.api import UploadWarning File "/home/user/python/core/pywikibot/data/api.py", line 33, in <module> from pywikibot.comms import http File "/home/user/python/core/pywikibot/comms/http.py", line 68, in <module> debug('Loaded cookies from file.', _logger) File "/home/user/python/core/pywikibot/logging.py", line 182, in debug logoutput(text, decoder, newline, DEBUG, layer, **kwargs) File "/home/user/python/core/pywikibot/logging.py", line 78, in logoutput _init() File "/home/user/python/core/pywikibot/logging.py", line 34, in _init init_routine() File "/home/user/python/core/pywikibot/bot.py", line 344, in init_handlers writelogheader() File "/home/user/python/core/pywikibot/bot.py", line 405, in writelogheader filename = version.get_module_filename(module) File "/home/user/python/core/pywikibot/version.py", line 450, in get_module_filename if hasattr(module, '__file__') and os.path.exists(module.__file__): File "/home/user/anaconda3/lib/python3.8/genericpath.py", line 19, in exists os.stat(path) TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType TASK DETAIL https://phabricator.wikimedia.org/T264235 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, Mpaa Cc: Aklapper, pywikibot-bugs-list, Mpaa, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs