Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3560

Testing And Unstable • python 3.12 - object has no attribute 'readfp, causes network to fail

$
0
0
Sorry. This took a while, but it works fine again, after the file was modified manually :)

Here the main.py file has the required change.

Code:

diff main.py main.py.bakdiff /usr/share/ifupdown2/ifupdown/main.py /usr/share/ifupdown2/ifupdown/main.py.bak142,143c142<         #parser.readfp(configFP)<         parser.read_file(configFP)--->         parser.readfp(configFP)

Statistics: Posted by lbm — 2024-11-05 10:39 — Replies 4 — Views 248



Viewing all articles
Browse latest Browse all 3560

Trending Articles