X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1624795467; bh=4Bz1wfqDqzkypBYTe3PN0giiJ519n3tg6cD/l+ndxII=; h=X-UI-Sender-Class:From:To:Subject:Date:In-Reply-To:References; b=QtPNcbXjSz8hqBgTr1hqvlk4uDpNnUZ/IrNks/cUGlH5EIFDxW4W9vbS3VcGJ4QpM 8xy6a55clIrtNvVmwjQ4rLZ/iMK8vuwyWCb8hmCNtie56ku05pwrlN/MRlDOr0o8vl x70jZUOoKS9yD3+UCzqf4P13IjAcssn8EFDN3FX8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c MIME-Version: 1.0 Message-ID: From: "Claudio Fabri (clafi AT gmx DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] PCB can no longer imports schematic Content-Type: text/plain; charset=UTF-8 Date: Sun, 27 Jun 2021 14:04:27 +0200 Importance: normal Sensitivity: Normal In-Reply-To: References: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:BSHdCSNCaKFcDs4eqzS+DNyHsLoQabl+Gjw69mdHvEvYJl+2BxB2prpojymInUbaADqgX +Febjas1THGCp8WMFHvPC9wrB+kq1I05mf4YeK5jbF8XaxyiR6kQwzrf+Z0ULkYF6mHyTNil0Fss 31wt0n3ZYfrV/wgJhBUwRMfV4NkrxZ8OfCTRoEJ9In4gDHwKbH9zW39mJKIHHKUFTvNdK5Lk0g1v MQSa8VvxxyiQFPy3ioGkVaVevXnztFR2epHUk0MejZlwBb0g1D6NH6MyiIdi3G54ZhhVwqXDFa+g 3U= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:EKuulAngq3c=:3MZCbO5MJFm7ybTr8jKvef +kERUEwAcRN2NzJvkdqZdE0LxM1772o3mA+vevP/OlCRPi0qYqo3wXZPxxaQ8e2guOcRfHcg+ vo0Yw6W0WQmZXhoc1eOtIqKZuQmlK21VBDDGZca4QQ3+XuM6z2cHAU9ZXjSDY9dtEsnQb5WMN l7rKhRj3bGXBfYb7HbLq4MjTW3LUTUsAG41fRcOoD6vMMvXdKsA1m6+kTubDx1DIoBd1qnOrp P5csYxzYBcpwGSCeHwh2dnu5VdBspUOqsFRqvgv3zd1jdLswUEF2YVnzJ8XMcivg3hQHYpEtF C/LjZA7KvihgMlMc3TPcbuhHVQDrOBQ0ck9GiOqU79gk3U21gFlxIP6mm6ZNK3bMtj7IFU2T8 IJfF/+KQ6ExaHrnRN7/7eKjyxJ3ZpzvUuL6FpYzjw5BVb7zd7CChoQfmmxYzNVsImH2jYeQHw 21FcknPBjpAdkclJbSsT3JznPx+M8Ea4BtH7NZCImvE4sEPcJL08whV1GD0ASEOh6UeDX1WZB LPXx8DOjEbDvJfNKZZeKxgeOGsgfMsD5WyqZTbZnt9IT4G3WfcjHnBcoX0Hgil/uvgffIv2+o 4otyQQWZoZKQ2vSIV4VKDRX4uw1J0wCrHv10srN7vCdX0l8+PPOVjRbqMyUsBufPuORueUL5H BexVub74Ct4m7GFVwwbBUl/cIwFoXe72wmOqdZ5dUuWKKtWxFnqWooHKz+rAXATPvp+QsunYU kAkxpxMTeMscwEfCNtvqJn/WDZdNHA6LKPXXoeBD4dkI5+uzT7RFZ2EZdGFSVpl0RCXKFGmqg L302acq10+T875nBCWgg5aWEDLECw== Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 15RC4UcV011220 Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Sent: Thursday, June 17, 2021 at 12:23 PM > From: "Roland Lutz" > To: "Claudio Fabri (clafi AT gmx DOT com) [via geda-user AT delorie DOT com]" > Subject: Re: [geda-user] PCB can no longer imports schematic > > On Thu, 17 Jun 2021, Claudio Fabri (clafi AT gmx DOT com) [via > geda-user AT delorie DOT com] wrote: > > Now I get this error: > > > > [...] > > ImportError: No module named gtk > > That's weird; I thought I had fixed this problem. > > Since the line numbers don't appear to match: are you sure you are using > the latest `master'? In particular, "import gaf.netlist.reportgui" should > be at line 259 of PREFIX/lib/xorn/netlist.py, not at line 306. Maybe this > is another case of files left over from an older installation? > Well, I only know I have the latest version available from Manjaro (Arch) repositories. I'm just shy (read: reluctant) to start fiddling with compiling packages myself, I'm rather new on that Platform. Had it been on Gentoo, no worries. Here's the relevant part of netlist.py, with line numbers: 297 def main(): 298 try: 299 inner_main() 300 sys.exit(0) 301 except SystemExit as e: 302 if report_gui_enabled: 303 sys.stderr = report_gui_stderr 304 log = report_gui_buf.getvalue() 305 report_gui_buf.close() 306 import gaf.netlist.reportgui 307 daemonize( 308 lambda: gaf.netlist.reportgui.report_messages(e.code, log)) 309 raise 310 except KeyboardInterrupt: 311 raise 312 except: 313 if report_gui_enabled: 314 import gaf.netlist.reportgui 315 daemonize(lambda: gaf.netlist.reportgui.report_crash()) 316 raise My current version of gschem is 1.10.0 (g1919a45), dates 2019 so I guess that's not the latest. I can wait though. Or check Arch forums if there's a more recent package version available in AUR. C.F.