Geraldo Reports + buildout

48 views
Skip to first unread message

João Alfredo

unread,
May 13, 2011, 2:03:22 PM5/13/11
to gerald...@googlegroups.com
Hi everybody,

I'm not sure if this is a geraldo issue or a buildout issue but here we go.
I'm trying to include geraldo into my project buildout but it fails to
build with the following error:

File "/Users/joaoalf/Dropbox/Projetos/dx.nfe/eggs/setuptools-0.6c12dev_r88795-py2.7.egg/setuptools/sandbox.py",
line 64, in <lambda>
File "setup.py", line 12, in <module>
package_dir={'': 'src'},
File "/var/folders/Fa/Faj+MzOzGuWUpLWQhPYR+++++TI/-Tmp-/easy_install-LmafwR/Geraldo-0.4.12-stable/geraldo/__init__.py",
line 56, in <module>
File "/var/folders/Fa/Faj+MzOzGuWUpLWQhPYR+++++TI/-Tmp-/easy_install-LmafwR/Geraldo-0.4.12-stable/geraldo/base.py",
line 8, in <module>
ImportError: No module named reportlab.lib.units
An error occurred when trying to install Geraldo 0.4.12-stable. Look
above this message for any errors that were output by easy_install.
While:
Installing Geraldo.
Getting distribution for 'Geraldo'.
Error: Couldn't install: Geraldo 0.4.12-stable

and here is my buildout.cfg:

[buildout]
develop = .
parts =
xmlsec
Geraldo
PySPED
dx.nfe

[xmlsec]
recipe = hexagonit.recipe.cmmi
url = http://www.aleksey.com/xmlsec/download/xmlsec1-1.2.18.tar.gz

[Geraldo]
recipe = zc.recipe.egg
eggs =
reportlab
Geraldo

[PySPED]
recipe = gitrecipe
repository = https://github.com/aricaldeira/PySPED.git

[dx.nfe]
recipe = zc.recipe.egg
scripts = dxnfe
interpreter = py
eggs =
zope.interface
zope.component
zope.event
lxml
PyXMLSec
src = src/dx/nfe

reportlab is installed into my buildout eggs directory but geraldo
seens to miss it.

Can anyone tell me how to fix it?

Thanks in advance.

João Alfredo


--
João Alfredo <ermi...@gmail.com>

Vinicio Arango

unread,
May 23, 2011, 11:09:43 AM5/23/11
to gerald...@googlegroups.com
you have to istall the report lab first: the order will be


apt-get install python-setuptools
apt-get install python-dev
sudo easy_install django
sudo easy_install reportlab
sudo easy_install geraldo

Reply all
Reply to author
Forward
0 new messages