<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Leo,<br>
    <br>
    Thanks for your reply!<br>
    <br>
    After some digging, it seems that hexagonit is a standard recipe
    used for building things. Probably, some other package is using
    hexagonit to build something that includes ImageMagick. <br>
    <br>
    I am trying to find out why ImageMagick being downloaded. In the
    installed packages, I come across references to another version of
    ImageMagick, version 6.6.6-1, which seems to be part of ghostscript
    and Perl (?). But nowhere do I find any reference to this particular
    version, 6.7.3-10, not even after a full grep on all files in
    /opt/slapos and /opt/slapgrid. Strange, I would expect a reference
    to the <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.7.3-10.tar.bz2">ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.7.3-10.tar.bz2</a>
    location somewhere. I was hoping to hard-code the location you
    found, but that seems difficult.<br>
    <br>
    An other approach I tried was to download the tarball manually and
    put it in the right location for slapgrid to think it already was
    downloaded. However, I can't find any other tarballs, so I don't
    know what the right location is for downloaded tarballs. It seems
    slapgrid cleans up after itself once packages are properly
    installed.<br>
    <br>
    Any hints / pointers?<br>
    <br>
    Thanks,<br>
    Evert<br>
    <br>
    <br>
    Op 11-2-2012 12:00 PM, <a class="moz-txt-link-abbreviated" href="mailto:erp5-users-request@erp5.org">erp5-users-request@erp5.org</a> schreef:
    <blockquote cite="mid:mailman.7.1328958002.3541.erp5-users@erp5.org"
      type="cite">
      <pre wrap="">Date: Fri, 10 Feb 2012 16:58:23 +0100
From: Leonardo Rochael Almeida <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:leonardo@nexedi.com">&lt;leonardo@nexedi.com&gt;</a>
Subject: Re: [Erp5-users] Installation through buildout / slapos
To: <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:erp5-users@erp5.org">erp5-users@erp5.org</a>
Cc: C?dric de Saint Martin <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:cedric.dsm@tiolive.com">&lt;cedric.dsm@tiolive.com&gt;</a>
Message-ID: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:4F353E9F.20607@nexedi.com">&lt;4F353E9F.20607@nexedi.com&gt;</a>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Evert,

in your output, the error happens as buildout (actually, 
hexagonit.recipe.download, called by hexagonit.recipe.cmmi) tries to 
download

<a moz-do-not-send="true" class="moz-txt-link-freetext" href="ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.7.3-10.tar.bz2">ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.7.3-10.tar.bz2</a>

That file doesn't seem to exist, at least not at that location, which 
contains only ImageMagick-6.7.5-3.tar.gz.

However the file specified can be found at:

<a moz-do-not-send="true" class="moz-txt-link-freetext" href="ftp://ftp.imagemagick.org/pub/ImageMagick/legacy/ImageMagick-6.7.3-10.tar.gz">ftp://ftp.imagemagick.org/pub/ImageMagick/legacy/ImageMagick-6.7.3-10.tar.gz</a>

C?dric, what needs to be fixed so that the right ImageMagic is 
downloaded from the right location?

Regards,

Leo

On 10-02-2012 11:59, Evert van de Waal wrote:
</pre>
      <blockquote type="cite" style="color: #000000;">
        <pre wrap=""><span class="moz-txt-citetags">&gt; </span>Hi All,
<span class="moz-txt-citetags">&gt;</span>
<span class="moz-txt-citetags">&gt; </span>I am installing ERP5 according the steps in
<span class="moz-txt-citetags">&gt; </span><a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.erp5.com/user-install.ERP5.With.SlapOS">http://www.erp5.com/user-install.ERP5.With.SlapOS</a>, on a vanilla Kubuntu
<span class="moz-txt-citetags">&gt; </span>11.04 virtual machine.
<span class="moz-txt-citetags">&gt;</span>
<span class="moz-txt-citetags">&gt; </span>During step 5, discover slapgrid, ERP5 and all dependencies are
<span class="moz-txt-citetags">&gt; </span>compiled. I get an error message when ImageMagick 6.7.3-10 is installed:
<span class="moz-txt-citetags">&gt; </span>Failed to change directory (the full error text is added below). I
<span class="moz-txt-citetags">&gt; </span>searched on google, but got no solutions, except that the same error
<span class="moz-txt-citetags">&gt; </span>also occured during an ERP5 test in June 2011:
<span class="moz-txt-citetags">&gt; </span><a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://mail.tiolive.com/pipermail/erp5-report/20110603/075286.html">http://mail.tiolive.com/pipermail/erp5-report/20110603/075286.html</a>. That
<span class="moz-txt-citetags">&gt; </span>was for an earlier version of ImageMagick, but looks very similar.
<span class="moz-txt-citetags">&gt;</span>
<span class="moz-txt-citetags">&gt; </span>The buildout below also reports a failure to download ImageMagick due to
<span class="moz-txt-citetags">&gt; </span>an 'unreachable network'. However, this error was reported for all
<span class="moz-txt-citetags">&gt; </span>packages that were installed. Buildout seems to try several sources for
<span class="moz-txt-citetags">&gt; </span>packages. It was able to download it from somewhere, build it, but got
<span class="moz-txt-citetags">&gt; </span>stuck during installation of the things it built. Thus I think the
<span class="moz-txt-citetags">&gt; </span>'unreachable network' error is unrelated to the failed to change
<span class="moz-txt-citetags">&gt; </span>directory error.
<span class="moz-txt-citetags">&gt;</span>
<span class="moz-txt-citetags">&gt; </span>Does anybody know how to solve this problem?
<span class="moz-txt-citetags">&gt;</span>
<span class="moz-txt-citetags">&gt; </span>Thanks,
<span class="moz-txt-citetags">&gt; </span>Evert
<span class="moz-txt-citetags">&gt;</span>
<span class="moz-txt-citetags">&gt; </span>Installing imagemagick.
<span class="moz-txt-citetags">&gt; </span>imagemagick: [ENV] CPPFLAGS =
<span class="moz-txt-citetags">&gt; </span>-I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/bzip2/include
<span class="moz-txt-citetags">&gt; </span>-I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/zlib/include
<span class="moz-txt-citetags">&gt; </span>-I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/jbigkit/include
<span class="moz-txt-citetags">&gt; </span>-I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libjpeg/include
<span class="moz-txt-citetags">&gt; </span>-I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libtiff/include
<span class="moz-txt-citetags">&gt; </span>-I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libpng/include
<span class="moz-txt-citetags">&gt; </span>-I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/jasper/include
<span class="moz-txt-citetags">&gt; </span>-I/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/freetype/include
<span class="moz-txt-citetags">&gt; </span>imagemagick: [ENV] LDFLAGS =
<span class="moz-txt-citetags">&gt; </span>-L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/bzip2/lib
<span class="moz-txt-citetags">&gt; </span>-Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/bzip2/lib
<span class="moz-txt-citetags">&gt; </span>-L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/zlib/lib
<span class="moz-txt-citetags">&gt; </span>-Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/zlib/lib
<span class="moz-txt-citetags">&gt; </span>-L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/jbigkit/lib
<span class="moz-txt-citetags">&gt; </span>-Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/jbigkit/lib -L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libjpeg/lib
<span class="moz-txt-citetags">&gt; </span>-Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libjpeg/lib -L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libtiff/lib
<span class="moz-txt-citetags">&gt; </span>-Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libtiff/lib -L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libpng/lib
<span class="moz-txt-citetags">&gt; </span>-Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/libpng/lib
<span class="moz-txt-citetags">&gt; </span>-L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/jasper/lib
<span class="moz-txt-citetags">&gt; </span>-Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/jasper/lib
<span class="moz-txt-citetags">&gt; </span>-L/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/freetype/lib
<span class="moz-txt-citetags">&gt; </span>-Wl,-rpath=/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/freetype/lib
<span class="moz-txt-citetags">&gt; </span>imagemagick: [ENV] PATH =
<span class="moz-txt-citetags">&gt; </span>/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/freetype/bin:/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/ghostscript/bin:/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/pkgconfig/bin:/opt/slapos/parts/bison/bin:/opt/slapos/parts/bzip2/bin:/opt/slapos/parts/gettext/bin:/opt/slapos/parts/glib/bin:/opt/slapos/parts/libxml2/bin:/opt/slapos/parts/libxslt/bin:/opt/slapos/parts/m4/bin:/opt/slapos/parts/ncurses/bin:/opt/slapos/parts/openssl/bin:/opt/slapos/parts/pkgconfig/bin:/opt/slapos/parts/python2.7/bin:/opt/slapos/parts/readline/bin:/opt/slapos/parts/sqlite3/bin:/opt/slapos/parts/swig/bin:/opt/slapos/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
<span class="moz-txt-citetags">&gt;</span>
<span class="moz-txt-citetags">&gt; </span>imagemagick: [ENV] PKG_CONFIG_PATH =
<span class="moz-txt-citetags">&gt; </span>/opt/slapos/afaeaed482578cde211ab84114e0c317/parts/fontconfig/lib/pkgconfig
<span class="moz-txt-citetags">&gt; </span>Downloading
<span class="moz-txt-citetags">&gt; </span><a moz-do-not-send="true" class="moz-txt-link-freetext" href="ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.7.3-10.tar.bz2">ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.7.3-10.tar.bz2</a>
<span class="moz-txt-citetags">&gt; </span>Downloading ImageMagick-6.7.3-10.tar.bz2 from network cache.
<span class="moz-txt-citetags">&gt; </span>Failed to download from network cache ImageMagick-6.7.3-10.tar.bz2:
<span class="moz-txt-citetags">&gt; </span>&lt;urlopen error [Errno 101] Network is unreachable&gt;
<span class="moz-txt-citetags">&gt; </span>While:
<span class="moz-txt-citetags">&gt; </span>Installing imagemagick.
<span class="moz-txt-citetags">&gt;</span>
<span class="moz-txt-citetags">&gt; </span>An internal error occurred due to a bug in either zc.buildout or in a
<span class="moz-txt-citetags">&gt; </span>recipe being used:
<span class="moz-txt-citetags">&gt; </span>Traceback (most recent call last):
<span class="moz-txt-citetags">&gt; </span>File
<span class="moz-txt-citetags">&gt; </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/zc.buildout-1.6.0_dev_SlapOS_003-py2.7.egg/zc/buildout/buildout.py",
<span class="moz-txt-citetags">&gt; </span>line 2027, in main
<span class="moz-txt-citetags">&gt; </span>getattr(buildout, command)(args)
<span class="moz-txt-citetags">&gt; </span>File
<span class="moz-txt-citetags">&gt; </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/zc.buildout-1.6.0_dev_SlapOS_003-py2.7.egg/zc/buildout/buildout.py",
<span class="moz-txt-citetags">&gt; </span>line 737, in install
<span class="moz-txt-citetags">&gt; </span>installed_files = self[part]._call(recipe.install)
<span class="moz-txt-citetags">&gt; </span>File
<span class="moz-txt-citetags">&gt; </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/zc.buildout-1.6.0_dev_SlapOS_003-py2.7.egg/zc/buildout/buildout.py",
<span class="moz-txt-citetags">&gt; </span>line 1490, in _call
<span class="moz-txt-citetags">&gt; </span>return f()
<span class="moz-txt-citetags">&gt; </span>File
<span class="moz-txt-citetags">&gt; </span>"<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/hexagonit.recipe.cmmi-1.5.0-py2.7.egg/hexagonit/recipe/cmmi<span class="moz-txt-tag">/</span></i>__init__.py",
<span class="moz-txt-citetags">&gt; </span>line 144, in install
<span class="moz-txt-citetags">&gt; </span>self.buildout, self.name, opt).install()
<span class="moz-txt-citetags">&gt; </span>File
<span class="moz-txt-citetags">&gt; </span>"<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/hexagonit.recipe.download-1.5.0-py2.7.egg/hexagonit/recipe/download<span class="moz-txt-tag">/</span></i>__init__.py",
<span class="moz-txt-citetags">&gt; </span>line 81, in install
<span class="moz-txt-citetags">&gt; </span>path, is_temp = download(self.options['url'],
<span class="moz-txt-citetags">&gt; </span>md5sum=self.options.get('md5sum'))
<span class="moz-txt-citetags">&gt; </span>File
<span class="moz-txt-citetags">&gt; </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/zc.buildout-1.6.0_dev_SlapOS_003-py2.7.egg/zc/buildout/download.py",
<span class="moz-txt-citetags">&gt; </span>line 119, in __call__
<span class="moz-txt-citetags">&gt; </span>local_path, is_temp = self.download_cached(url, md5sum)
<span class="moz-txt-citetags">&gt; </span>File
<span class="moz-txt-citetags">&gt; </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/zc.buildout-1.6.0_dev_SlapOS_003-py2.7.egg/zc/buildout/download.py",
<span class="moz-txt-citetags">&gt; </span>line 167, in download_cached
<span class="moz-txt-citetags">&gt; </span>_, is_temp = self.download(url, md5sum, cached_path)
<span class="moz-txt-citetags">&gt; </span>File
<span class="moz-txt-citetags">&gt; </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/eggs/zc.buildout-1.6.0_dev_SlapOS_003-py2.7.egg/zc/buildout/download.py",
<span class="moz-txt-citetags">&gt; </span>line 209, in download
<span class="moz-txt-citetags">&gt; </span>tmp_path, headers = urllib.urlretrieve(url, tmp_path)
<span class="moz-txt-citetags">&gt; </span>File
<span class="moz-txt-citetags">&gt; </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/urllib.py",
<span class="moz-txt-citetags">&gt; </span>line 91, in urlretrieve
<span class="moz-txt-citetags">&gt; </span>return _urlopener.retrieve(url, filename, reporthook, data)
<span class="moz-txt-citetags">&gt; </span>File
<span class="moz-txt-citetags">&gt; </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/urllib.py",
<span class="moz-txt-citetags">&gt; </span>line 237, in retrieve
<span class="moz-txt-citetags">&gt; </span>fp = self.open(url, data)
<span class="moz-txt-citetags">&gt; </span>File
<span class="moz-txt-citetags">&gt; </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/urllib.py",
<span class="moz-txt-citetags">&gt; </span>line 205, in open
<span class="moz-txt-citetags">&gt; </span>return getattr(self, name)(url)
<span class="moz-txt-citetags">&gt; </span>File
<span class="moz-txt-citetags">&gt; </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/urllib.py",
<span class="moz-txt-citetags">&gt; </span>line 548, in open_ftp
<span class="moz-txt-citetags">&gt; </span>(fp, retrlen) = self.ftpcache[key].retrfile(file, type)
<span class="moz-txt-citetags">&gt; </span>File
<span class="moz-txt-citetags">&gt; </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/urllib.py",
<span class="moz-txt-citetags">&gt; </span>line 898, in retrfile
<span class="moz-txt-citetags">&gt; </span>self.ftp.cwd(file)
<span class="moz-txt-citetags">&gt; </span>File
<span class="moz-txt-citetags">&gt; </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/ftplib.py",
<span class="moz-txt-citetags">&gt; </span>line 543, in cwd
<span class="moz-txt-citetags">&gt; </span>return self.voidcmd(cmd)
<span class="moz-txt-citetags">&gt; </span>File
<span class="moz-txt-citetags">&gt; </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/ftplib.py",
<span class="moz-txt-citetags">&gt; </span>line 249, in voidcmd
<span class="moz-txt-citetags">&gt; </span>return self.voidresp()
<span class="moz-txt-citetags">&gt; </span>File
<span class="moz-txt-citetags">&gt; </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/ftplib.py",
<span class="moz-txt-citetags">&gt; </span>line 224, in voidresp
<span class="moz-txt-citetags">&gt; </span>resp = self.getresp()
<span class="moz-txt-citetags">&gt; </span>File
<span class="moz-txt-citetags">&gt; </span>"/opt/slapos/afaeaed482578cde211ab84114e0c317/rebootstrap.3.parts/python2.7/lib/python2.7/ftplib.py",
<span class="moz-txt-citetags">&gt; </span>line 219, in getresp
<span class="moz-txt-citetags">&gt; </span>raise error_perm, resp
<span class="moz-txt-citetags">&gt; </span>IOError: [Errno ftp error] [Errno ftp error] 550 Failed to change
<span class="moz-txt-citetags">&gt; </span>directory.
<span class="moz-txt-citetags">&gt; </span>ERROR:SoftwareReleases:Traceback (most recent call last):
<span class="moz-txt-citetags">&gt; </span>File
<span class="moz-txt-citetags">&gt; </span>"/opt/slapos/eggs/slapos.core-0.19-py2.7.egg/slapos/grid/slapgrid.py",
<span class="moz-txt-citetags">&gt; </span>line 406, in processSoftwareReleaseList
<span class="moz-txt-citetags">&gt; </span>shadir_key_file=self.shadir_key_file).install()
<span class="moz-txt-citetags">&gt; </span>File
<span class="moz-txt-citetags">&gt; </span>"/opt/slapos/eggs/slapos.core-0.19-py2.7.egg/slapos/grid/SlapObject.py",
<span class="moz-txt-citetags">&gt; </span>line 116, in install
<span class="moz-txt-citetags">&gt; </span>console=self.console)
<span class="moz-txt-citetags">&gt; </span>File "/opt/slapos/eggs/slapos.core-0.19-py2.7.egg/slapos/grid/utils.py",
<span class="moz-txt-citetags">&gt; </span>line 318, in launchBuildout
<span class="moz-txt-citetags">&gt; </span>raise BuildoutFailedError(message)
<span class="moz-txt-citetags">&gt; </span>BuildoutFailedError: Failed to run buildout profile in directory
<span class="moz-txt-citetags">&gt; </span>'/opt/slapos/afaeaed482578cde211ab84114e0c317':
<span class="moz-txt-citetags">&gt; </span>Please consult messages above
<span class="moz-txt-citetags">&gt;</span>
<span class="moz-txt-citetags">&gt;</span>
<span class="moz-txt-citetags">&gt; </span>INFO:SoftwareReleases:Finished software releases...
<span class="moz-txt-citetags">&gt; </span>INFO:ComputerPartitionProcessing:Processing computer partitions...
<span class="moz-txt-citetags">&gt; </span>INFO:SVCBackend:Supervisord already running.
<span class="moz-txt-citetags">&gt; </span>INFO:ComputerPartitionProcessing:Finished computer partitions...
<span class="moz-txt-citetags">&gt; </span>INFO:UsageReporting:Aggregating and sending usage reports...
<span class="moz-txt-citetags">&gt; </span>INFO:UsageReporting:Finished usage reports...
<span class="moz-txt-citetags">&gt;</span></pre>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>