From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Daniele Newsgroups: gmane.lisp.guile.user Subject: Re: Guile-CV: Not a GRAY, RGB nor an RGBA image "sand.tif" Date: Wed, 6 Dec 2017 08:12:54 +0100 Message-ID: References: <20171205175403.3a2e8f71@capac> <20171205195540.49b4218e@capac> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1512577154 19937 195.159.176.226 (6 Dec 2017 16:19:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 6 Dec 2017 16:19:14 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Dec 06 17:19:04 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eMcP3-0001Nn-S1 for guile-user@m.gmane.org; Wed, 06 Dec 2017 17:18:33 +0100 Original-Received: from localhost ([::1]:54141 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMTtU-0004oS-6p for guile-user@m.gmane.org; Wed, 06 Dec 2017 02:13:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMTt2-0004oM-VY for guile-user@gnu.org; Wed, 06 Dec 2017 02:12:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMTt1-0007WV-Qj for guile-user@gnu.org; Wed, 06 Dec 2017 02:12:56 -0500 Original-Received: from mail-oi0-x22d.google.com ([2607:f8b0:4003:c06::22d]:46579) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eMTt1-0007WF-Ls for guile-user@gnu.org; Wed, 06 Dec 2017 02:12:55 -0500 Original-Received: by mail-oi0-x22d.google.com with SMTP id t81so1926152oih.13 for ; Tue, 05 Dec 2017 23:12:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=gfwmuI2NtsF8K0KVAev5l7VRqnBCnBYCYUfHWeOueak=; b=qS6Z7hJsjv4aNvMUxRkPcINhXHdf9BzKnRXlZvZE+ew+zEcrAgN5kjUNlOxDIR4eN+ 5wTZgE2JxTveYbjce8DPxm8hA2WJdrh9qnEL+MUAL5Z6oQOuUQB71Ux/Kr2O0wtaODci OF8PSmcubyoz2aE7i+LJEle//0raju6DMoNkBRLXObT1CtTu+V3b8TBKtZjQc70/+gtn +DsNtvyaMTUUjT6Em68ARBK8yeG0HIQRGzGChmWe02PECxpYDudWLZSfq6OujlhfcPs9 JC3hZwkrngxn6Cx/fbvUgXxX2RA3I6GPi+Ehv49EiamuQ9A4KyRWSeARa6rUVDIpSe4D yWKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=gfwmuI2NtsF8K0KVAev5l7VRqnBCnBYCYUfHWeOueak=; b=uNgV8b+Knto5VIdMkjbCCQUkxeaNfURCpHmm2FqcFQYcrfrNot7RPnd3tp/tbjG25r 65qMNPGv2Y/CjaiZg/vihh3gBiljAM8KcDSKlZYpmKWXRHaBMRv81lBITkf+gcRV3AIL OFbnga11FhlppTU18GNMtFWjwdp8mXOuJIDYgQK9vD6hj+6lTXsgcrBiTf/NqkM2vZt2 gAF63SYmDt3J7h0zd+MfHtjByS06VEpurL8DDkuFWIBQK4OfHFEKNYHIdUrgm8ISOFBu /XrbCOcoJzcNn9RHPQ6x7+BwcL9gDx3Iylb1LH0yznq2e2pIlIvGjdwKqb1/YKR5zYqz ZBqg== X-Gm-Message-State: AJaThX5AoMbyQ/2MpfIq9Aff9R8jH19nJ9HJI2blOxWu5Q54iw0sYjFj GpS5PQY7ixH6h+ooHmRdtnV87RWCKtoSlECHY7bG8w== X-Google-Smtp-Source: AGs4zMaTKt0u3IIBMU6SqSZxBKFKU2wxpYz9Ao+DcNMtjx1TL6h3Lo4TWjXiLQg96IOqxyuk3tugAG5qPH22BatdhqY= X-Received: by 10.202.77.203 with SMTP id a194mr18485622oib.144.1512544374709; Tue, 05 Dec 2017 23:12:54 -0800 (PST) Original-Received: by 10.157.86.167 with HTTP; Tue, 5 Dec 2017 23:12:54 -0800 (PST) In-Reply-To: <20171205195540.49b4218e@capac> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::22d X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:14319 Archived-At: Hi David, I hadn't tried make check, and in fact it fails on a very similar error (pp-17-bf.png is right there when is trying to find it and it opens in an image viewer just fine): test-impex failed: assert-equal: expected: (85 95 1) got: (0 0 0) test-features-2: exception in test: (misc-error #f "~A ~S" ("Not a GRAY, RGB nor an RGBA image" "/home/daniele/build/guile-cv/doc/images/pp-17-bf.png") #f) 20 run, 2 failed FAIL: tests/cv.scm ======================================= 1 of 2 tests failed Please report to david at altosw dot be ======================================= Makefile:368: recipe for target 'check-TESTS' failed make[2]: *** [check-TESTS] Error 1 make[2]: Leaving directory '/home/daniele/build/guile-cv/test-suite' Makefile:491: recipe for target 'check-am' failed make[1]: *** [check-am] Error 2 make[1]: Leaving directory '/home/daniele/build/guile-cv/test-suite' Makefile:649: recipe for target 'check-recursive' failed make: *** [check-recursive] Error 1 daniele@dlaptop:~/build/guile-cv$ eog doc/images/pp-17-bf.png 2017-12-05 22:55 GMT+01:00 David Pirotte : > Hi Daniele, > >> > Yes: your are not in the right directory wrt guile, and this flename 'does not >> > exists', it does not exists in the directory your are trying to load this image, >> > see: >> > >> > scheme@(guile-user)> (getcwd) >> > $5 = "/usr/alto/projects/guile-cv/images" >> >> unfortunately that's not the problem, I am in the right directory and >> the image is there. I still get that error. > > This is impossible :), you think you are in the right directory, but you most > likely you are not. > > You can try (getcwd), then (system "ls") and compare ... till you are convinced > this is the source of your problem (or proved me wrong, then I'll pay you a pack of > beers :) > > unless you would have inadvertently replaced the file content with something > else then a tif image... I very much doubt but just in case, you can run > 'file sand.tif' in a terminal and double check... if the file is not a tif > file, although it would be in the directory, the same error you be > reported ... > > Did you run 'make check' while you built guile-cv? Did all check pass? It checks > that im-load works fine ... > > David