[reportlab-users] _renderPM.so for Jaguar

Petr van Blokland reportlab-users@reportlab.com
Tue, 24 Sep 2002 09:47:28 +0200


--Apple-Mail-8-859357771
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed


On Tuesday, September 24, 2002, at 08:36 AM, Dinu Gherman wrote:

> Robin Becker:
>
>> this looks really screwed up, I guess distutils hasn't yet reached
>> stability for that OS. Certainly mixing ppc and i386 isn't going to be
>> useful :).
>>
>> Perhaps Dinu can say what he needed to do to make this go?
>
> As I said, I'm using the version compiled on 10.1.5. This is a problem
> with moved libraries. Here you'll get an idea of what might fix it:
>
>   http://www.osxgnu.org/#jagbugs
>
> I have no clue how to fix distutils to reflect this, though...
>
The 10.1.5 version of _renderPM.so does not completely solve the 
problem.
It looks like some other things changed:

renderPM.drawToFile(self.canvas, self.path, fmt = self.format)
File "/usr/lib/python2.2/site-packages/reportlab/graphics/renderPM.py", 
line 493, in drawToFile
c.saveToFile(fn,fmt)
File "/usr/lib/python2.2/site-packages/reportlab/graphics/renderPM.py", 
line 270, in saveToFile
im = self.toPIL()
File "/usr/lib/python2.2/site-packages/reportlab/graphics/renderPM.py", 
line 261, in toPIL
im = Image.new('RGB', size=(self._gs.width, self._gs.height))
AttributeError: 'module' object has no attribute 'new'


Regards,
Petr

--Apple-Mail-8-859357771
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
	charset=US-ASCII



On Tuesday, September 24, 2002, at 08:36 AM, Dinu Gherman wrote:


<excerpt>Robin Becker:


<excerpt>this looks really screwed up, I guess distutils hasn't yet
reached

stability for that OS. Certainly mixing ppc and i386 isn't going to be

useful :).


Perhaps Dinu can say what he needed to do to make this go?

</excerpt>

As I said, I'm using the version compiled on 10.1.5. This is a problem

with moved libraries. Here you'll get an idea of what might fix it:


  http://www.osxgnu.org/#jagbugs


I have no clue how to fix distutils to reflect this, though...


</excerpt>The 10.1.5 version of _renderPM.so does not completely solve
the problem.

It looks like some other things changed:


<bold><fontfamily><param>Verdana</param><color><param>1111,1111,9999</param>renderPM.drawToFile(self.canvas,
self.path, fmt = self.format)

File
"/usr/lib/python2.2/site-packages/reportlab/graphics/renderPM.py", line
493, in drawToFile

c.saveToFile(fn,fmt)

File
"/usr/lib/python2.2/site-packages/reportlab/graphics/renderPM.py", line
270, in saveToFile

im = self.toPIL()

File
"/usr/lib/python2.2/site-packages/reportlab/graphics/renderPM.py", line
261, in toPIL

im = Image.new('RGB', size=(self._gs.width, self._gs.height))

AttributeError: 'module' object has no attribute 'new'

</color></fontfamily></bold>


Regards,

Petr


--Apple-Mail-8-859357771--