Re: current status of python bindings in the trunk

2007-12-13 Thread Noah Gift
Just an FYI, I wrote an article for IBM Developerworks on IPython and Net-SNMP. http://www.ibm.com/developerworks/aix/library/au-netsnmpnipython/ - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It

Re: current status of python bindings in the trunk

2007-05-31 Thread Noah Gift
One other coding design question: I think Session is a pretty cool idea, but what about making it a Super Class and having a Version 2 and Version 3 Class inhert from Session? If these two classes overloaded the default methods and had default keyword arguments it would be easier to subclass in O

Re: current status of python bindings in the trunk

2007-05-31 Thread G. S. Marzot
Noah Gift wrote: > On 5/21/07, Wes Hardaker <[EMAIL PROTECTED]> wrote: >> > "NG" == Noah Gift <[EMAIL PROTECTED]> writes: > The ideal not technical implementation > would be an egg could install itself automatically against a source > tree. Even better would be if the egg could work independen

Re: current status of python bindings in the trunk

2007-05-22 Thread Noah Gift
They are pretty nice. it is like apt-get for python modules in one sense. We might try to get some help from the eggs mailing list. I could do a little research and find out some more and get back to you. On 5/22/07, Wes Hardaker <[EMAIL PROTECTED]> wrote: > > "NG" == Noah Gift <[EMAIL PROT

Re: current status of python bindings in the trunk

2007-05-22 Thread Wes Hardaker
> "NG" == Noah Gift <[EMAIL PROTECTED]> writes: NG> I am not sure of the actual implementation details myself, I could NG> research it if you need help. The ideal not technical implementation NG> would be an egg could install itself automatically against a source NG> tree. Even better would

Re: current status of python bindings in the trunk

2007-05-22 Thread Noah Gift
On 5/21/07, Wes Hardaker <[EMAIL PROTECTED]> wrote: > > "NG" == Noah Gift <[EMAIL PROTECTED]> writes: > > NG> On this subject, do you think it would be possible to decouple the > NG> net-SNMP core and the python bindings at all? The reason I ask is > NG> that the preferred python module instal

Re: current status of python bindings in the trunk

2007-05-21 Thread Wes Hardaker
> "NG" == Noah Gift <[EMAIL PROTECTED]> writes: NG> On this subject, do you think it would be possible to decouple the NG> net-SNMP core and the python bindings at all? The reason I ask is NG> that the preferred python module installation method is to use NG> something called "easy_install" w

Re: current status of python bindings in the trunk

2007-05-17 Thread Noah Gift
On 5/17/07, Wes Hardaker <[EMAIL PROTECTED]> wrote: > > "GSM" == G S Marzot <[EMAIL PROTECTED]> writes: > > GSM> hmmm...if you had done a full install of the net-snmp package I > GSM> think ldconfig should have been run for you. > > For the record, if you do a make install from the net-snmp dir

Re: current status of python bindings in the trunk

2007-05-16 Thread Wes Hardaker
> "GSM" == G S Marzot <[EMAIL PROTECTED]> writes: GSM> hmmm...if you had done a full install of the net-snmp package I GSM> think ldconfig should have been run for you. For the record, if you do a make install from the net-snmp directory, the build system does *NOT* run ldconfig. It prints a

Re: current status of python bindings in the trunk

2007-05-10 Thread Thomas Anders
G. S. Marzot wrote: > looks good in a quick eyeball review...thanks Thomas. Applied to 5.4.x and trunk (r16352). +Thomas - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 expre

Re: current status of python bindings in the trunk

2007-05-10 Thread G. S. Marzot
looks good in a quick eyeball review...thanks Thomas. -G Thomas Anders wrote: > Noah Gift wrote: >> It would be super, super, super cool if we could install the python >> bindings >> via "easy_install" from the python cheeseshop without even worrying about >> the underlying net-snmp package. You

Re: current status of python bindings in the trunk

2007-05-10 Thread Dave Shield
On 09/05/07, Thomas Anders <[EMAIL PROTECTED]> wrote: > I've just submitted the following patch (from > Debian) which would at least make life easier for packagers: > Would anyone be willing to review it? I'm no Python expert (to put it mildly!), but this patch seems: a) pla

Re: current status of python bindings in the trunk

2007-05-09 Thread Thomas Anders
Noah Gift wrote: > It would be super, super, super cool if we could install the python > bindings > via "easy_install" from the python cheeseshop without even worrying about > the underlying net-snmp package. You would get a ton of python people > using > net-SNMP if eggs were available. At PyCon

Re: current status of python bindings in the trunk

2007-05-09 Thread Noah Gift
> running the test suite might have shown a prob before install... That is a good point, I don't remember running the test. I need to compile it again on a few more VM's so I will report back with Cent OS and Ubuntu notes. On a fresh Ubuntu 7.04 install and using a tarball from svn last ni

Re: current status of python bindings in the trunk

2007-05-09 Thread Noah Gift
On 5/9/07, G. S. Marzot <[EMAIL PROTECTED]> wrote: Noah Gift wrote: > Not really, as I was able to compile with lots of warnings, but when I went > to install the egg the snmp module was linked a non-existance shared object > (not in path). So this was a python problem, although, I didn't reall

Re: current status of python bindings in the trunk

2007-05-09 Thread G. S. Marzot
Noah Gift wrote: > Not really, as I was able to compile with lots of warnings, but when I went > to install the egg the snmp module was linked a non-existance shared object > (not in path). So this was a python problem, although, I didn't really > test > the regular snmp stuff to much..I would thi

Re: current status of python bindings in the trunk

2007-05-09 Thread Noah Gift
Not really, as I was able to compile with lots of warnings, but when I went to install the egg the snmp module was linked a non-existance shared object (not in path). So this was a python problem, although, I didn't really test the regular snmp stuff to much..I would think someone would have poin

Re: current status of python bindings in the trunk

2007-05-09 Thread G. S. Marzot
just for the record...thous was a general net-snmp install related problem rather than anything related to the python bindings...right? thanks, G Noah Gift wrote: > Well the good news is that, with the help of a colleague, I was able > to get the bindings to work properly. When I compiled from s

Re: current status of python bindings in the trunk

2007-05-09 Thread Noah Gift
Thanks. I started a page and put a usage example. Someone else is editing right now, but I will probably add more later. On 5/9/07, Dave Shield <[EMAIL PROTECTED]> wrote: > On 09/05/07, Noah Gift <[EMAIL PROTECTED]> wrote: > > If we have a wiki for the python bindings, > > I can put what I lea

Re: current status of python bindings in the trunk

2007-05-09 Thread Dave Shield
On 09/05/07, Noah Gift <[EMAIL PROTECTED]> wrote: > If we have a wiki for the python bindings, > I can put what I learned up so far. Your wish is my command, Oh Master. See http://www.net-snmp.org/wiki/index.php?title=Python_Bindings > As for the separate mailing list, it might encourage mo

Re: current status of python bindings in the trunk

2007-05-09 Thread Noah Gift
Well the good news is that, with the help of a colleague, I was able to get the bindings to work properly. When I compiled from source on ubuntu 7.04 and then installed the python egg it could not find libnetsnmp.so.15 when I did an import from ipython. My colleague used ldconfig to link the path

Re: current status of python bindings in the trunk

2007-05-09 Thread Dave Shield
On 08/05/07, Noah Gift <[EMAIL PROTECTED]> wrote: > I had problems importing the netsnmp python moduel once I had compiled > version 5.4. Is the version in the trunk a better place to checkout > the python bindings? I don't think there's any significant difference between the two Comparing the tw

Re: current status of python bindings in the trunk

2007-05-08 Thread Noah Gift
Sorry for the double post, but this is the traceback I get on the version in the trunk as well: In [1]: import netsnmp --- Traceback (most recent call last) /src/net-snmp-svn-main/python/ in () /src/net-snmp-svn-m

current status of python bindings in the trunk

2007-05-08 Thread Noah Gift
I had problems importing the netsnmp python moduel once I had compiled version 5.4. Is the version in the trunk a better place to checkout the python bindings? Noah - This SF.net email is sponsored by DB2 Express Download DB