Hoi, As a followup - I tried to remember why I copied class VPPStats() and friends into my own repository, but that may be because it's not exported in __init__.py. Should it be? I pulled in the latest changed Damjan made to vpp_stats.py into my own repo, and my app runs again. Is it possibly worth our while to add the VPPStats() class to the exported classes in vpp_papi ?
groet, Pim On Fri, Apr 1, 2022 at 2:50 PM Pim van Pelt via lists.fd.io <pim= ipng...@lists.fd.io> wrote: > Hoi, > > I noticed that my VPP SNMP Agent no longer works with the python API at > HEAD, and my attention was drawn to this change: > https://gerrit.fd.io/r/c/vpp/+/35640 > stats: convert error counters to normal counters > At HEAD, src/vpp-api/python/vpp_papi/vpp_stats.py now fails 4 out of 6 > tests with the same error as my application: > struct.error: offset -140393469444104 out of range for 1073741824-byte > buffer > .. > Ran 6 tests in 0.612s > FAILED (errors=4) > > Damjan, Ole, any clues? > > groet, > Pim > -- > Pim van Pelt <p...@ipng.nl> > PBVP1-RIPE - http://www.ipng.nl/ > > > > -- Pim van Pelt <p...@ipng.nl> PBVP1-RIPE - http://www.ipng.nl/
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21182): https://lists.fd.io/g/vpp-dev/message/21182 Mute This Topic: https://lists.fd.io/mt/90177707/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-