X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 532AD385840F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=U7eI6WObTZhSFM7iySUVDL2kNO5fDh5LGU0bYgyAXco=; b=GJTmvN8L38nH7ugn3q75O1/yPgvThZQ3KZe0Blsms/96/kuHtwF3C6PHTomRRHxxYq pafyLA1YfdZDWktthN/Bjg56EhuKNq/pHMXDq7fZi2aios9EP2O0RMvLkUdeloHC5HoU e/8yoNJvodS3/3ph4FhP5qWzcnn4j/6TKyCu0xI1Yh4KHPLYHxTfuESPs1/Jl1TddjzI AOfe9mIlfE0LQWd/E04SPFHy/mYKesF8XceO0/ZALjvaC+4ikfSW/YrGUtazpNfo2pkw PEKiOcARbWxVblwqOCzsxW3rIymfNz8Njbd+PUnYyx9bMPVU1AGD5rXlX1hdXsLXGPos 2ZiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=U7eI6WObTZhSFM7iySUVDL2kNO5fDh5LGU0bYgyAXco=; b=1ORBqHS50YwigILI2n7xD5d5PwFMPKcSKSugfopejDzd0GjUNevUUIcqd5FDOzyKJV eE0UA1uQb6/yA3LTj2O0mFuM7Q94MHXFzj9Mb1BT/TBlxm2b5fgfq3ESVdZAUm5R4odq ptrSJKEpYgeo/hjdOf48Z3RBAVwLnpxFC21pArw8ZKCKqMTPOBR/7fCfG3J2vifEvJth gLccCEXBB1HA0nGbORdTXnTE9gnRSmKaWacElrxf5g0TqVAHHOQD66eB6Cj4j27u9lDm ipl1IG7yf9IV7Q2HW6jianFoMZ3qm7G3bDjAcCIGEUK4lFji0Ru3nv1EYfpQrBcIgONP NNDg== X-Gm-Message-State: AOAM531itHC+k/XEVd6VFbGWdFoFY0lYFbWakvztDq4PatnyWwQeg8A9 8eGaXJz9VlWJUUYd3ljheGnoFKToxMIo/g== X-Google-Smtp-Source: ABdhPJyawMn7MyKaqRkdZQoGFc/VfM9F3v2MBXWOPa313oVQPmwAVbghIQSEF2Hloy/5P7IGOSz28w== X-Received: by 2002:a50:cf48:0:b0:415:df40:9e3d with SMTP id d8-20020a50cf48000000b00415df409e3dmr4729543edk.185.1647529100058; Thu, 17 Mar 2022 07:58:20 -0700 (PDT) Message-ID: <88a9e223-4424-68b7-4783-ed13bb90fda9@gmail.com> Date: Thu, 17 Mar 2022 15:58:18 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: Using terminator with cygwin Content-Language: en-GB To: cygwin AT cygwin DOT com References: <8f8f5466-adb9-0c95-6c43-dec7d1a4d9e3 AT gmail DOT com> <20220317115625 DOT gopucjkijidk46ib AT lucy DOT dinwoodie DOT org> From: zweiund40 In-Reply-To: <20220317115625.gopucjkijidk46ib@lucy.dinwoodie.org> X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 22HEwdVD006334 Thx. On 17.03.22 12:56, Adam Dinwoodie wrote: > On Thu, Mar 17, 2022 at 11:54:02AM +0100, zweiund40 wrote: >> Hi all, >> >> I've got a question and I hope u can help there. I guess the question may be >> a bit silly for some of u, but, u know, I'm not an expert. I want to use >> terminator with cygwin and was excited when I found it as package listed in >> the setup.exe, So, I installed it and since there was no terminator.exe to >> be found I tried "terminator" on the command line, but it didn't work. >> Error-message is rather confusing: >> >> $ terminator >>   File "/usr/bin/terminator", line 119 >>     except (KeyError,ValueError), ex: >>                                 ^ >> SyntaxError: invalid syntax >> >> >> What am I doing wrong? I think I didn't understand something very basal. > It looks like terminator hasn't been updated since Cygwin moved from > /usr/bin/python being Python2 to Python3, and it doesn't explicitly > specify the Python version it needs. > > This really needs a fix from the terminator maintainer, Mike DePaulo, > but while Mike used to be fairly active on these lists, I've not seen > him post for several years. Mike: are you there? Are you able to update > this package? > > In the meantime, you might be able to work around this by manually > editing /usr/bin/terminator and /usr/bin/remotinator, and changing the > first line from this: > > #!/usr/bin/python > > to this: > > #!/usr/bin/python2 > > That said, it's worth noting the version of terminator that's available > from the Cygwin package repositories is almost six years old, and relies > on a Python version that has been completely out of support for almost > two years, so I wouldn't be vastly surprised if this isn't fixable > without a more significant update from the Cygwin package maintainer. > > HTH > > Adam -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple