X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f X-Recipient: geda-help AT delorie DOT com Message-ID: <20220206162158.5231.qmail@stuge.se> Date: Sun, 6 Feb 2022 16:21:58 +0000 From: "Peter Stuge (peter AT stuge DOT se) [via geda-help AT delorie DOT com]" To: geda-help AT delorie DOT com Subject: Re: [geda-help] error message of "gsch2pcb" References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Reply-To: geda-help AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-help AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Hi Gilles, Gilles Bauder (gilles DOT bauder AT sunrise DOT ch) [via geda-help AT delorie DOT com] wrote: > I am trying to transfer a scheme into a printed circuit board using the > application "gsch2pcb". I always get the following error message: > > ----------- > > |archgilles% gsch2pcb osz_a.sch|| > ||  File "/usr/bin/gnetlist", line 133|| > ||    raise TypeError, '"%s" argument %d must be %s, not %s' % (|| > ||                   ^|| > ||SyntaxError: invalid syntax|| .. > ||I could not find any solution so far... Please provide information about your system and installed versions. In general I can say that the syntax raise TypeError, 'text' is valid with a Python 2 interpreter, but not with a Python 3 interpreter. I guess that your distribution has removed python-2 and forces the assumption onto you that anything in your system that uses python expects to get python-3. This is IMO rude and outrageous, but common just the same. //Peter