> Duncan Webb a écrit : >> I wrote a very horrible sensors.rpy script, :) >> >> Duncan >> >> > Hi Duncan, > > Thanks a lot, your 'horrible' script (I wish I can write such horrible > things :-) ) really helped me a lot. In fact, on the system where I did > my first tests, the python-rrdtool module was broken ! > I just installed the standard rrdtools rpm for Mandriva 2007, and, with > these modules, I was not able to do a 'import rrdtool' ! > > Now, with a fresh compiled rrdtool, everything is OK. your script is > running, I'll have to study now...
A while ago I sent a patch to the rrdtool developer to fix the python bindings and IIRC the new name is rrdtoolmodule, you can check the site-packages for the rrdtool*.so So what I now do is: try: import rrdtoolmodule except ImportError: import rrdtool So the latest version gets imported first and then the older version is tried. Duncan ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Freevo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-devel
