Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
    
/Users/runner/hostedtoolcache/GraalPy/25.0.3/arm64/lib/python3.12/site-packages/urllib3/__init__.py:35:
 NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 
'ssl' module is compiled with 'GraalVM JSSE'. See: 
https://github.com/urllib3/urllib3/issues/3020
      warnings.warn(
    Traceback (most recent call last):
      File 
"/Users/runner/work/pywikibot/pywikibot/pywikibot/scripts/wrapper.py", line 
312, in <module>
        import pywikibot as pwb
      File "/Users/runner/work/pywikibot/pywikibot/pywikibot/__init__.py", line 
23, in <module>
        from pywikibot import config as _config
      File "/Users/runner/work/pywikibot/pywikibot/pywikibot/config.py", line 
406, in <module>
        base_dir = get_base_dir(config_file=user_config_file)
      File "/Users/runner/work/pywikibot/pywikibot/pywikibot/config.py", line 
395, in get_base_dir
        raise RuntimeError(exc_text)
    RuntimeError: No user-config.py found in directory 
'/Users/runner/work/pywikibot/pywikibot'.
    
    Please check that user-config.py is stored in the correct location.
    Directory where user-config.py is searched is determined as follows:
    
        Return the directory in which user-specific information is stored.
    
        This is determined in the following order:
         1.  If the script was called with a `-dir:` argument, use the
             directory provided in this argument.
         2.  If the user has a `PYWIKIBOT_DIR` environment variable, use the
             value of it.
         3.  If `user-config` is present in current directory, use the
             current directory.
         4.  If `user-config` is present in `pwb.py` directory, use that
             directory
         5.  Use (and if necessary create) a `'pywikibot'` folder under
             `'Application Data'` or `'AppData\Roaming'` (Windows) or
             `'.pywikibot'` directory (Unix and similar) under the user's
             home directory.
    
        Set `PYWIKIBOT_NO_USER_CONFIG=1` to disable loading user config file
        (`user-config.py`) or install Pywikibot as a site-package.
    
        .. version-changed:: 7.7
           Added the *config_file* parameter.
    
      File 
"/Users/runner/hostedtoolcache/GraalPy/25.0.3/arm64/lib/python3.12/importlib/__init__.py",
 line 90, in import_module
        return _bootstrap._gcd_import(name[level:], package, level)
      File 
"/Users/runner/hostedtoolcache/GraalPy/25.0.3/arm64/lib/python3.12/encodings/euc_jis_2004.py",
 line 10, in <module>
        codec = _codecs_jp.getcodec('euc_jis_2004')
    LookupError: no such codec is supported.

TASK DETAIL
  https://phabricator.wikimedia.org/T430459

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to