[python-win32] win32pdhutil failing on counters with a "/"

2011-03-30 Thread Jeffrey Melloy
My script to parse perfmon data is working correctly, however, when I have a counter name with "/" in it, it seems to throw an error in GetFormattedData. Has anyone seen this before? import win32pdhutil machine = "seaweb001p" object = "Memory" counters, instances = win32pdh.EnumObjectItems(

Re: [python-win32] win32pdhutil failing on counters with a "/"

2011-03-30 Thread Jeffrey Melloy
7;m working remotely or locally. On Wed, Mar 30, 2011 at 11:02 AM, Tim Roberts wrote: > Jeffrey Melloy wrote: >> My script to parse perfmon data is working correctly, however, when I >> have a counter name with "/" in it, it seems to throw an error in >> GetFormatted

Re: [python-win32] win32pdhutil failing on counters with a "/"

2011-03-30 Thread Jeffrey Melloy
Duplicating the function and calling CollectQueryData seems to fix it. XP must interpolate the time-series data differently than Windows 7. On Wed, Mar 30, 2011 at 11:07 AM, Jeffrey Melloy wrote: > It gives that error every time.  My script runs through these in a loop. > > I'm u