<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/graphite/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/graphite/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 15 May 2001 02:28:30 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/graphite/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>genOutput mishandles PIL</title><link>https://sourceforge.net/p/graphite/bugs/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In utility.genOutput&lt;br /&gt;
the PIL branch needs to build the filename&lt;br /&gt;
the same way as for the VCR branch.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 15 May 2001 02:28:30 -0000</pubDate><guid>https://sourceforge.netd84531ce8d31bc9814c4cdb0ea40e60f2a7c9433</guid></item><item><title>clipLines crashes because of improper ty</title><link>https://sourceforge.net/p/graphite/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In __init__.py line 704...&lt;/p&gt;
&lt;p&gt;for i in range(1,len(dataset)):&lt;br /&gt;
endpoints = [pts[i-1], pts[i]]&lt;br /&gt;
if clipLine(endpoints, bounds):&lt;br /&gt;
thisSegment = Line(endpoints[0], endpoints[1],&lt;br /&gt;
style=self.lineStyle)&lt;/p&gt;
&lt;p&gt;should be changed to ...&lt;/p&gt;
&lt;p&gt;for i in range(1,len(dataset)):&lt;br /&gt;
endpoints = Numeric.array([pts[i-1], pts[i]])&lt;br /&gt;
if clipLine(endpoints, bounds):&lt;br /&gt;
thisSegment = Line(endpoints[0], endpoints[1],&lt;br /&gt;
style=self.lineStyle)&lt;/p&gt;
&lt;p&gt;Notice the Numeric.array call, since pts[] is set to a&lt;br /&gt;
list above here, the math and division using the lists&lt;br /&gt;
is not good.&lt;/p&gt;
&lt;p&gt;The symptom is a crash if you have lines that actually&lt;br /&gt;
get clipped, i.e. lie outside the graph.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 30 Mar 2001 23:10:24 -0000</pubDate><guid>https://sourceforge.net246fa8977817502664cfc33d20f8a5d8b5869896</guid></item><item><title>class Dataset incorrect type check</title><link>https://sourceforge.net/p/graphite/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;On line 174 (or so) for graphite __init__.py in&lt;br /&gt;
the class Dataset in __init__ were the lines....&lt;/p&gt;
&lt;p&gt;def __init__(self, *data):&lt;br /&gt;
if len(data)==1 and (type(data[0]==TupleType) or&lt;br /&gt;
type(data[0]==ListType)):&lt;/p&gt;
&lt;p&gt;to add NumericArray type and to fix up the parentheses&lt;br /&gt;
we changed it to...&lt;/p&gt;
&lt;p&gt;def __init__(self, *data):&lt;br /&gt;
if len(data)==1 and ( type(data[0])==TupleType  or&lt;br /&gt;
type(data[0])==ListType or&lt;br /&gt;
type(data[0])==Numeric.ArrayType ):&lt;br /&gt;
data = data[0]&lt;/p&gt;
&lt;p&gt;The above incorrect line worked on Python 2.0 but not&lt;br /&gt;
on Python 2.1b2 .&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 30 Mar 2001 20:12:49 -0000</pubDate><guid>https://sourceforge.netb97cbc3b0de522329c67392e6ccaee8f3a7c44f3</guid></item><item><title>TK and PIL fail as output options</title><link>https://sourceforge.net/p/graphite/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;If you change .../tests/testa.py to produce&lt;br /&gt;
a 'PIL' or 'TK' output instead of 'PDF',&lt;br /&gt;
then it bombs.  Solaris 2.6, Tk/TCL 8.3.1.&lt;br /&gt;
Python 1.6a2+.&lt;/p&gt;
&lt;p&gt;hce* python testa.py&lt;br /&gt;
]&lt;br /&gt;
Warning: unable to load font metrics!&lt;br /&gt;
magnitude =  -1.0&lt;br /&gt;
self._actualRange =  [0.20000000000000001, 0.80000000000000004]&lt;br /&gt;
_actualSpacing =  0.1&lt;br /&gt;
magnitude =  -1.0&lt;br /&gt;
self._actualRange =  [0.5, 1.0]&lt;br /&gt;
_actualSpacing =  0.5&lt;br /&gt;
_actualSpacing =  0.1&lt;br /&gt;
magnitude =  -1.0&lt;br /&gt;
self._actualRange =  [0, 1]&lt;br /&gt;
_actualSpacing =  0.1&lt;br /&gt;
magnitude =  -1.0&lt;br /&gt;
self._actualRange =  [0, 1]&lt;br /&gt;
_actualSpacing =  0.1&lt;br /&gt;
[[ 1.   0.   0.  -0.5]&lt;br /&gt;
[-0.   1.  -0.  -0.5]&lt;br /&gt;
[ 0.   0.  -1.   5. ]&lt;br /&gt;
[ 0.   0.   0.   1. ]]&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
File &amp;amp;quot;testa.py&amp;amp;quot;, line 339, in ?&lt;br /&gt;
genOutput(g1,'PIL')&lt;br /&gt;
File &amp;amp;quot;/usr/local/lib/python1.6/site-packages/graphite/utility.py&amp;amp;quot;, line 75, in genOutput&lt;br /&gt;
graph.draw(canvas)&lt;br /&gt;
File &amp;amp;quot;/usr/local/lib/python1.6/site-packages/graphite/graphite.py&amp;amp;quot;, line 911, in draw&lt;br /&gt;
item.draw(canvas)&lt;br /&gt;
File &amp;amp;quot;/usr/local/lib/python1.6/site-packages/graphite/primitive.py&amp;amp;quot;, line 395, in draw&lt;br /&gt;
font=self.style.font, color=self.style.color, angle=self.angle )&lt;br /&gt;
File &amp;amp;quot;/usr/local/lib/python1.6/site-packages/piddle/stringformat.py&amp;amp;quot;, line 373, in drawString&lt;br /&gt;
seg.calcNewFont(font),color,angle)&lt;br /&gt;
File &amp;amp;quot;/usr/local/lib/python1.6/site-packages/piddle/piddlePIL.py&amp;amp;quot;, line 327, in drawString&lt;br /&gt;
if not pilfont: raise &amp;amp;quot;bad font!&amp;amp;quot;, font&lt;br /&gt;
bad font!: Font(10,0,0,0,None)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 28 Jun 2000 19:11:30 -0000</pubDate><guid>https://sourceforge.nete4bcb08667984add0ca4681b3af7defe70c6b05c</guid></item></channel></rss>