On Monday, October 17, 2011, Rich Shepard <rshep...@appl-ecosys.com> wrote:
> On Mon, 17 Oct 2011, Benjamin Root wrote:
>
>> In the afm.py file, a before line 167, can you print the value of the
>> "line" variable and tell us what it is?
>
> Ben,
>
> Here are lines 158-167:
>
> while 1:
> line = fh.readline()
> if not line: break
> line = line.rstrip()
> if line.startswith('EndCharMetrics'): return ascii_d, name_d
> vals = line.split(';')[:4]
> if len(vals) !=4 : raise RuntimeError('Bad char metrics line: %s'
> num = _to_int(vals[0].split()[1])
> wx = _to_float(vals[1].split()[1])
> name = vals[2].split()[1]
>
> Thanks,
>
> Rich
>
Rich,
On line 166, I want you to put "print 'Line:', line". Then, rerun your
program and report back what the output of that print statement.
Ben Root
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users