[reportlab-users] Problem with renderPM

Geoff Wright reportlab-users@reportlab.com
14 Jun 2003 16:14:09 -0500


--=-kA07tCIC4LN1yZCDqQQI
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi again,

This may not be the best place to ask this but I am having a heck of a
time trying to use renderPM within Zope.  Has anyone successfully
managed to use it?

from reportlab.graphics import renderPS --> success

from reportlab.graphics import renderPM --> fails with this message

Error Type: ImportError
Error Value: cannot import name renderPM

renderPM works fine, however, with the python interpreter.

any advice would be much appreciated at this point?

thanks.
geoff



On Sat, 2003-06-14 at 13:08, Robin Becker wrote:
> In article <1055614009.7027.11.camel@melba.linux.ott>, Geoff Wright
> <geoffwright@rogers.com> writes
> >On Gentoo 1.4-rc3
> >python2.2.2
> >reportlab1.17
> >
> you need to build and install the _renderPM extension. That should be
> doable using.
>=20
> python setup.py build
> python setup.py install
>=20
> in the  renderPM source directory.
>=20
> >I am not able to import the renderPM module.
> >
> >from reportlab.graphics import renderPS --> succeeds
> >
> >from reportlab.graphics import renderPM --> fails with the following
> >error message.
> >
> >
> >>>> from reportlab.graphics import renderPM
> >Traceback (most recent call last):
> >  File "<stdin>", line 1, in ?
> >  File
> >"/usr/lib/python2.2/site-packages/reportlab/graphics/renderPM.py", line
> >28, in ?
> >    raise ImportError, "No module named _renderPM\n" + \
> >ImportError: No module named _renderPM
> >see http://www.reportlab.com/rl_addons.html
> >
> >
> >I have downloaded the latest renderPM 0.9 but I am not sure what to do
> >with it.  I couldn't find any docs or READMEs with it.  What am I
> >missing here?
> >
> >Thanks in advance for your help.
> >
> >geoff

--=-kA07tCIC4LN1yZCDqQQI
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+65Ah8YiimZ3XxVkRAq6EAKCpZQDmOGJP5HxTq0+TycqqjLz6HACdGU2P
dEOIYzds2kSnT1aA3NBpJ/M=
=UaqV
-----END PGP SIGNATURE-----

--=-kA07tCIC4LN1yZCDqQQI--