You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a user configuration file ~/.egrc is used, the following exception is thrown by Python 3.12 and above when running eg:
Traceback (most recent call last):
File "/home/<username>/.local/bin/eg", line 7, in <module>
core.run_eg()
File "/home/<username>/.local/lib/python3.12/site-packages/eg/core.py", line 166, in run_eg
resolved_config = config.get_resolved_config(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/<username>/.local/lib/python3.12/site-packages/eg/config.py", line 234, in get_resolved_config
egrc_config = get_egrc_config(egrc_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/<username>/.local/lib/python3.12/site-packages/eg/config.py", line 196, in get_egrc_config
egrc_config = get_config_tuple_from_egrc(config_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/<username>/.local/lib/python3.12/site-packages/eg/config.py", line 320, in get_config_tuple_from_egrc
config.readfp(egrc)
^^^^^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?
If a user configuration file
~/.egrc
is used, the following exception is thrown by Python 3.12 and above when runningeg
:This caused by the method readfp being removed from module configparser.ConfigParser in Python 3.12 and above (see https://docs.python.org/3.12/whatsnew/3.12.html#configparser for further information).
The text was updated successfully, but these errors were encountered: