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 <ermitaoj@gmail.com>
On 13-05-11 20:19, João Alfredo wrote:
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.
Perhaps reportlab.lib.units existed in an earlier version of reportlab? Perhaps you need an older one? Something like that is what I'd investigate. Reinout -- Reinout van Rees http://reinout.vanrees.org/ reinout@vanrees.org http://www.nelen-schuurmans.nl/ "If you're not sure what to do, make something. -- Paul Graham"
reportlab.lib.units exists into <buildout_root>/eggs/reportlab-2.5-py2.7-macosx-10.5-intel.egg/ but buildout doesn't seens to be adding it to sys.path during the building process. João Alfredo 2011/5/13 Reinout van Rees <reinout@vanrees.org>:
On 13-05-11 20:19, João Alfredo wrote:
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.
Perhaps reportlab.lib.units existed in an earlier version of reportlab? Perhaps you need an older one? Something like that is what I'd investigate.
Reinout
-- Reinout van Rees http://reinout.vanrees.org/ reinout@vanrees.org http://www.nelen-schuurmans.nl/ "If you're not sure what to do, make something. -- Paul Graham"
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org http://mail.python.org/mailman/listinfo/distutils-sig
-- João Alfredo <ermitaoj@gmail.com>
participants (2)
-
João Alfredo
-
Reinout van Rees