Re: [Pysnmp-dev] Regarding pysnmp/entity/engine.py : AttributeError: 'module' object has no attribu
Brought to you by:
elie
From: Ilya E. <il...@gl...> - 2010-11-06 15:49:14
|
Mohammed, You seem to run into a bug/typo. Patch is attached to this message and it's also in CVS at SF. You can modify and use pysnmp in any way. However it surprises me that you have to use pysnmp at relatively low API level. Maybe your goal could be satisfied on top of high-level API (which is more stable and easy to use). Therefore, once you consider sharing the details of your project, I could possibly advise on the best approach. -ilya > I am getting error when I use certain functions in > engine.py file like registerTransportDispatcher for the module 'error' > which is imported from pysnmp/error.py which has only one attribute > PySnmpError, the we are trying to call ProtocolError which is there in > pysnmp/proto/error.py. I believe we can change the code as per the > license agreement but I want to know if I am missing something or some > patch. Can you please clarify in this ? |