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
I noticed ifupdown2 stopped working after upgrading to Python3.12. It fails to bring up all interfaces with: error: main exception: 'RawConfigParser' object has no attribute 'readfp'
According to the documentation, readfp can be replaced by read_file since Python 3.2. Python 3.12 removes this object. After local modification of ifupdown/main.py (see diff below) I managed ifupdown2 to resume operation as expected in my envinronment.
I noticed ifupdown2 stopped working after upgrading to Python3.12. It fails to bring up all interfaces with:
error: main exception: 'RawConfigParser' object has no attribute 'readfp'
According to the documentation,
readfp
can be replaced byread_file
since Python 3.2. Python 3.12 removes this object. After local modification ofifupdown/main.py
(see diff below) I managed ifupdown2 to resume operation as expected in my envinronment.The text was updated successfully, but these errors were encountered: