delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/02/20/13:59:11

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CBBAE385B511
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1676919499;
bh=FAJPsp3c3xP3YHY6DXCWnfxg+g2RxgWNewPhom9/tSA=;
h=To:Cc:Subject:References:Date:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=eigUG61z8BWM5cXdi4k8Pbfv8Gs3xJzpTXd5Qw4OK/bAn03kgZZA9NAY9TLJyk3N7
foH12hbDsXLpFMS0XRncMrfMBxe7tQ11fDN+Nv9GdT87mQK3/TMpp+E25mIHMFkmJe
W777oLNS84vb+XWWC9rXcwEpfIqoEq96Gxi2L90I=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7AA653858CDB
To: Jose Isaias Cabrera <jicman AT outlook DOT com>
Cc: Jim Garrison via Cygwin <cygwin AT cygwin DOT com>
Subject: Re: OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'
References: <DB9P251MB006325F99185BB6DE6FC4FD1DEA49 AT DB9P251MB0063 DOT EURP251 DOT PROD DOT OUTLOOK DOT COM>
Date: Mon, 20 Feb 2023 18:57:59 +0000
In-Reply-To: <DB9P251MB006325F99185BB6DE6FC4FD1DEA49@DB9P251MB0063.EURP251.PROD.OUTLOOK.COM>
(Jose Isaias Cabrera via Cygwin's message of "Mon\,
20 Feb 2023 18\:04\:36 +0000")
Message-ID: <f5bilfw2mh4.fsf@ecclerig.inf.ed.ac.uk>
User-Agent: Gnus/5.101 (Gnus v5.10.10) XEmacs/21.5-b34 (linux)
MIME-Version: 1.0
X-Edinburgh-Scanned: at loire.is.ed.ac.uk
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: "Henry S. Thompson via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Henry S. Thompson" <ht AT inf DOT ed DOT ac DOT uk>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Jose Isaias Cabrera via Cygwin writes:

>   File "/usr/local/lib/python3.9/site-packages/keyboard/__init__.py", line 128, in <module>
>     raise OSError("Unsupported platform '{}'".format(_platform.system()))
> OSError: Unsupported platform 'CYGWIN_NT-10.0-19044'
>>>>
>
> Any ideas on how I can make this work?  Thanks.

First thing to find out if it's truly broken, or just not known to
work.

With a _safe_ test case, just try editting the code to allow Cygwin,
e.g. on line 121 of keyboard/__init__.py:

  if _platform.system() in ['Windows','CYGWIN_NT-10.0-19044']:

If that doesn't work, try a similar edit on line 123.

One way or the other, you should find out what the _real_ problem is.

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht AT inf DOT ed DOT ac DOT uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019