We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Traceback (most recent call last): File "test.py", line 38, in <module> ipdb_ns.interfaces[wan].add_ip('192.168.1.3/24').up().commit() File "/usr/local/lib/python3.5/dist-packages/pyroute2/ipdb/interfaces.py", line 653, in commit for record in self.ipdb.routes.filter({'oif': self['index']}): File "/usr/local/lib/python3.5/dist-packages/pyroute2/ipdb/routes.py", line 1184, in filter for table in self.tables.values(): RuntimeError: dictionary changed size during iteration
pyroute2 0.4.21 / py3.5.2 / ubuntu 16.04
upgraded to git master and haven't reproduced yet, but behavior is somewhat stateful and I don't have a concise test case asof yet.
cheers!
The text was updated successfully, but these errors were encountered:
issue is confirmed on
pyroute2==0.4.18.post92
installed via
sudo pip install --upgrade git+https://github.com/svinota/pyroute2.git#master
I still don't have a nice test case as the issue doesn't present itself reliably.
Sorry, something went wrong.
Ough. Clearly a bug. Fixing, thanks!
ipdb: fix dict iterations
1530e44
Bug-Url: #432
Should be fixed now, thanks for the report!
No branches or pull requests
pyroute2 0.4.21 / py3.5.2 / ubuntu 16.04
upgraded to git master and haven't reproduced yet, but behavior is somewhat stateful and I don't have a concise test case asof yet.
cheers!
The text was updated successfully, but these errors were encountered: