From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WHDcFPyUql47TAAA0tVLHw (envelope-from ) for ; Thu, 30 Apr 2020 09:06:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oL3+OQSVql4YNAAA1q6Kng (envelope-from ) for ; Thu, 30 Apr 2020 09:06:12 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 E6185942A05 for ; Thu, 30 Apr 2020 09:06:11 +0000 (UTC) Received: from localhost ([::1]:43014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jU58z-0005Ss-W9 for larch@yhetil.org; Thu, 30 Apr 2020 05:06:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45232) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jU58j-0005SA-ER for bug-guix@gnu.org; Thu, 30 Apr 2020 05:06:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jU56w-0002gR-NE for bug-guix@gnu.org; Thu, 30 Apr 2020 05:05:53 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33799) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jU56w-0002gL-9x for bug-guix@gnu.org; Thu, 30 Apr 2020 05:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jU56w-0007xV-5t for bug-guix@gnu.org; Thu, 30 Apr 2020 05:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#40952: gnuradio-osmosdr: no hook into gnuradio block directory? Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 30 Apr 2020 09:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40952 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Howard Received: via spool by 40952-submit@debbugs.gnu.org id=B40952.158823743430579 (code B ref 40952); Thu, 30 Apr 2020 09:04:02 +0000 Received: (at 40952) by debbugs.gnu.org; 30 Apr 2020 09:03:54 +0000 Received: from localhost ([127.0.0.1]:45345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jU56n-0007x9-VX for submit@debbugs.gnu.org; Thu, 30 Apr 2020 05:03:54 -0400 Received: from mout02.posteo.de ([185.67.36.66]:58073) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jU56k-0007wu-VQ for 40952@debbugs.gnu.org; Thu, 30 Apr 2020 05:03:52 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 561CF2400FF for <40952@debbugs.gnu.org>; Thu, 30 Apr 2020 11:03:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1588237424; bh=zjV2UV9RJ5k0TqyKme5w7TIhpM1+LSH8RdZKkGYlJdk=; h=From:To:Cc:Subject:Date:From; b=Rt9yIjfIqiSnM6Z6zbZbeOYOtFr1tPk5ac98jOP0fqg5MEbTRYheBGQxskfYOybAQ /hWj0NwChI9Za+kj3v5KkiKl7NZ9BQlPMiXr42AZa1rPK7/MguNfXeOqwAOi4qkM/O atCjFLhJB2clYsIqSyi30to/oBfQliaGyXB7Jpy2NpbcL0tsxvWtDKpTjO4T1RZ45O A4Ux1pN/8wKqKt9DHiw7T8v1lTDtUEQdlol4NHn6Tqn51XbnCnMNt4iNcgJBB1rCM/ mgKje3JPU1fvTTEtWb5ZP+NLTkU+vf+0wcbCaiO0zjgl1a5jFJ8AjCAlRq3iJG7+wt iHGRA9hpAC1bQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49CTvM0ptjz6tm5; Thu, 30 Apr 2020 11:03:42 +0200 (CEST) References: <2daa37de70a83d3ffad747710e95e429eeeea6aa.camel@qlfiles.net> <874kt2heju.fsf@yamatai> User-agent: mu4e 1.4; emacs 26.3 From: Guillaume Le Vaillant In-reply-to: Date: Thu, 30 Apr 2020 11:03:42 +0200 Message-ID: <87a72twdjl.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 40952@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 X-Spam-Score: -0.51 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.net header.s=2017 header.b=Rt9yIjfI; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Scan-Result: default: False [-0.51 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49418675046903]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.17), country: US(-0.00), ip: 2001:470:142::17(-0.49)]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; R_DKIM_REJECT(1.00)[posteo.net:s=2017]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[posteo.net:-]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[glv@posteo.net,bug-guix-bounces@gnu.org]; ARC_NA(0.00)[]; URIBL_BLOCKED(0.00)[librehacker.com:email]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[40952@debbugs.gnu.org]; HAS_LIST_UNSUB(-0.01)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_SEVEN(0.00)[10]; FORGED_SENDER_MAILLIST(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[posteo.net : SPF not aligned (strict),none] X-TUID: 6c/MyRXxeisR --=-=-= Content-Type: text/plain Christopher Howard skribis: > I can see the osmosdr sink, insert it into the flow graph, and change > the settings. However, when trying to build the flow graph, I receive > the following error. Apparently you need to also update whatever > environment variable controls the python module load path. > > <<< Welcome to GNU Radio Companion 3.8.0.0 >>> > > Block paths: > /home/christopher/.guix-profile/share/gnuradio/grc/blocks > /gnu/store/h2igg2gcbx6ds8wbvlkqz0dkplvwjxbd-gnuradio- > 3.8.0.0/share/gnuradio/grc/blocks > > Generating: '/home/christopher/Scratch/test.py' > > Executing: /gnu/store/c0ysvb6s92kwwnmkgdhnspllxvd3f231-python- > 3.7.4/bin/python3 -u /home/christopher/Scratch/test.py > > Warning: failed to XInitThreads() > Traceback (most recent call last): > File "/home/christopher/Scratch/test.py", line 33, in > import osmosdr > ModuleNotFoundError: No module named 'osmosdr' > >>>> Done (return code 1) I pushed a patch to set PYTHONPATH in the profile when gnuradio is intalled (commit f03e5ca59f2f099693def2c8e6ff409e5b4ed40a). I guess I had another installed package that had set it, because I didn't get this error. Could you try if it works for you? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQQkUwKxurH4Z/3KlryPP4Yfgut6mgUCXqqUbgAKCRCPP4Yfgut6 mtKAAP4+tXkybBK4R9s+EoeSpglMQecYY9m5G4Cj2S0rYvTsyQD/cXnkjZv3oB+c BH/WUY8Z2nctXYzAszA/a3vAmyXsuAQ= =JtaW -----END PGP SIGNATURE----- --=-=-=--