From: Sandro T. <mo...@de...> - 2009-02-11 19:22:21
|
On Wed, Feb 11, 2009 at 20:13, Ryan May <rm...@gm...> wrote: > On Wed, Feb 11, 2009 at 12:56 PM, Sandro Tosi <mo...@de...> wrote: >> >> Hello, >> I got a script (attached, even if without the datafile has less >> meaning) that parses a log file and plots 3 datasets. With 0.98.5.3 I >> got this error >> RuntimeError: maximum recursion depth exceeded >> >> I see the same behavior in .2 but not in 0.98.5. I remembered I've >> copied this from an example in mpl doc, but that's all. >> >> Is that a regression or something wrong in the code? > > It looks like your script is trying to plot a list of a strings (which > contains numbers). I checked in a fix for this on the trunk but I didn't > bother on the branch since I figured it wasn't really supported behavior. > Try converting the strings to numbers and you should be fine. Indeed: adding int(res.group...) works fine, just nice how it worked on 0.98.5 and not on .2 .3 :) Thanks a lot, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi |