From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kKwsD7RXdmJ2ewAAbAwnHQ (envelope-from ) for ; Sat, 07 May 2022 13:27:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aP9IDrRXdmIMrgAAG6o9tA (envelope-from ) for ; Sat, 07 May 2022 13:27:48 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8FAA722D38 for ; Sat, 7 May 2022 13:27:47 +0200 (CEST) Received: from localhost ([::1]:45146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnIbB-00018x-Sf for larch@yhetil.org; Sat, 07 May 2022 07:27:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnIaE-0000EL-QO for help-guix@gnu.org; Sat, 07 May 2022 07:26:46 -0400 Received: from mout01.posteo.de ([185.67.36.65]:32811) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnIaB-0002oG-P3 for help-guix@gnu.org; Sat, 07 May 2022 07:26:46 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 29629240027 for ; Sat, 7 May 2022 13:26:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1651922800; bh=e7BAzQh3O8yac+7UcQxThf0BLUlvPZIyQuIwopOyWqc=; h=Date:To:From:Subject:From; b=TDL1WoLyCeSOy/uXpGMTy8L6uUboqNKZF0wq8Llt1h+mxCWCyJzJeSRz+omw73Qri QZlrtxB4Yem7lMwDc5A8YjbJHvnzAqrowUpGSb+LNhGUXaK/H1+1kMpkhAmlZ5Llqn ut4i8jrKW/Qxrt27Y/B1u+VQAaxGiILDbkzFn1U1hrFFXhPNZ/6HQAmSBRFxEK/+hC +6n1z/ijN70qqxMDGCQrYwAFkXTBpPyjJyUD9s+AfLR++Wj/2wVZIP+4GYGAT5R24P 2njoRcmHrGVMIr273qajjld8Lm6IFUthS8ESGaCSp7dy53llW9tfgmCJaccqAKK20R 0SQwn/pCmJKpg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4KwQB738VQz6tmJ for ; Sat, 7 May 2022 13:26:39 +0200 (CEST) Message-ID: Date: Sat, 7 May 2022 11:26:38 +0000 MIME-Version: 1.0 To: help-guix@gnu.org Content-Language: en-US From: Zelphir Kaltstahl Subject: guile-dbi from guix not working Received-SPF: pass client-ip=185.67.36.65; envelope-from=zelphirkaltstahl@posteo.de; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651922867; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=LkpFSF51LHBx1Y1Q4JXHhmPP9fl5nvr6jzcMJuoQ55I=; b=Ga6rhQtM0RqVFuUzVdilkGs0beBzrPI1+FGHlkpcpTSbNTuk40xGcb2AQjNE+Cj1aJasVh Blu4bmEjx7prYElWM0SBu0cyBv7YkmhuLBNrUXLT2Xpmfu/A2XgrQEi7p7UCEJBf1wdoMd UEo9DWKTZTefUAGARhezPckYNWTi8invGOQqEIcSvWyNrIzPj86Bbu45AL9t7n+GQB94MD XLgK7sNFDXG7zcGMVrN/21l1xwtbGXXg2ga/8AmbaBdy3v6Hc9xFm8Dku+H+Bw+BhHzXnZ fHvwQgzJd4HiHaZL9h38zsb+bW+RKpaaAIWZA4xXsf5UVqAy9U9o4DmZPERSmg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651922867; a=rsa-sha256; cv=none; b=V7fIHtud1kFDI3pv+4POckn7goqRl72K29fMJD5NWmn2RaZiyqUGwEF36JiBEECjsUc5+s vjBEnJdRFfabhkGNcmYIjo71hbt+sNh3SBAWTaunovamNJOKFTYJELpICkQV6TfpDFtfUX /+5sxk+67DGukUQ92ZanQ1efuhZTcgopRMwyA01XsiR8TXqbg3Es7V4qRArN0zE5uPClgA 8/+k/k+mkhWmHA8jnYdxNBGQQVDoW2pqd+xZowyxKAEXDcL/VMqky5SCgysmEAyL8M/R/c nAS4yHWeM7bllQKJZYzs5A4pvTrwoqstFb5lCZunwiGlNrntWE5IX/JcGuXxYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.de header.s=2017 header.b=TDL1WoLy; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=posteo.de header.s=2017 header.b=TDL1WoLy; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8FAA722D38 X-Spam-Score: 7.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: COiqxMvNKQHH Hi! I have repeatedly tried to use guile-dbi from Guix at different commits and failed. I have the following setup for using guile-dbi: channels.scm: ~~~~ (list (channel (name 'guix) (url"https://git.savannah.gnu.org/git/guix.git") (branch "master") (commit "02182c623e0b19f23701d9feaae096e5a1bd5823") (introduction (make-channel-introduction "9edb3f66fd807b096b48283debdcddccfea34bad" (openpgp-fingerprint "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))) ~~~~ manifest.scm: ~~~~ (specifications->manifest '("guile@3.0.8" "guile-dbi")) ~~~~ guix shell: ~~~~ guix time-machine --channels="channels.scm" -- \ shell --cores=8 --check --manifest="manifest.scm" ~~~~ guile code "example.scm" (mostly copied from the tutorial at https://htmlpreview.github.io/?https://github.com/opencog/guile-dbi/blob/master/website/guile-dbi.html): ~~~~ (import (dbi dbi)) ;; Log into the database. (define db-obj (dbi-open "sqlite3" "database")) (display db-obj) (newline) ;; Create a table. (dbi-query db-obj "create table hellotable(id int, name varchar(15))") ;; Look at the return status of the last SQL command (display db-obj) (newline) ;; Populate the table with values. (dbi-query db-obj "insert into hellotable ('id', 'name') values('33', 'ola')") (dbi-query db-obj "insert into hellotable ('id', 'name') values('34', 'dzien dobre')") (dbi-query db-obj "insert into hellotable ('id', 'name') values('44', 'annyong haseyo')") (display db-obj) (newline) ;; Display each of the rows of the table, in turn. (dbi-query db-obj "select * from hellotable") (display db-obj) (newline) (write (dbi-get_row db-obj)) (newline) (write (dbi-get_row db-obj)) (newline) (write (dbi-get_row db-obj)) (newline) (write (dbi-get_row db-obj)) (newline) ;; Close the database. (dbi-close db-obj) (display db-obj) (newline) ~~~~ result: ~~~~ $ guile example.scm # # # # () () () () # ~~~~ It does not seem to matter, whether I give it an absolute filename for the database. Still file not found. Is it really broken, or am I doing something wrong? Best regards, Zelphir -- repositories:https://notabug.org/ZelphirKaltstahl