delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/06/11/11:44:28

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=qlFn1vB1gQH299bz
apXLbKt3RskdHlrBau9CKWIV27UwipQPMPWRerliak9167w7ipLbI1n8t0KFoltX
nQw92TGkAos/erjPI4k8MWvucdPcsa6YumejZJ4Cz8gnC7z4fOsjY8XulPpC6n2V
Ga/Ru0sWaAe0TbdevssJLPcPCU0=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=CfZ0A8MASv1PftGTv1rDI1
vkQMI=; b=NkPbMe6S28lvkQwiQJIcL4S9yUBCVdu1Ql8u1Rq9g3zWemQvXVNOOH
t2eWWxZ7I+rxlo96Y6iV+oszHt6bLb4Jlan87ZROFJwCabESra/5EtK9vaCiss8s
B0L25kavp/Yx198Cg+bCCzH2mUJXnxr/s/3H1OFlUcW67ePmFcjas=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=inglis, Inglis, calgary, H*r:sk:smtp-ou
X-HELO: smtp-out-so.shaw.ca
X-Authority-Analysis: v=2.2 cv=UpATD64B c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=NEAV23lmAAAA:8 a=EGIAf1dmWQcb5K3y7Q4A:9 a=QEXdDO2ut3YA:10
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: Python 3.6.1 fails to generate 256 colors, with xterm-256color, on Cygwin based 64-bit Windows 10.
To: cygwin AT cygwin DOT com
References: <86DAFF59-6EA8-4288-9D7D-E3262988BD7C AT comcast DOT net>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <33db6ad1-fe1f-5c02-1a1d-6743cf478601@SystematicSw.ab.ca>
Date: Sun, 11 Jun 2017 09:44:09 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1
MIME-Version: 1.0
In-Reply-To: <86DAFF59-6EA8-4288-9D7D-E3262988BD7C@comcast.net>
X-CMAE-Envelope: MS4wfI+Kib0biqZppQROATGejK+lJ4ifGrTvdzDXVKcAwj7bLaNZiYuv9JURkyzxIPjkzM2HPoATLu6F8jxq0X+iODRPeryrtQl89MCOyNVdwU4UACgPcdlU y8vfRMxuzU8gwecM7trKfezEyM6Z1aX7vVS+ST4zVnmXQWowqXVzoLCfjk88PeGbJYbhcT8SbAPsOA==
X-IsSubscribed: yes

On 2017-06-11 08:18, Richard S. Gordon wrote:

See how to make decent Cygwin problem reports at the link below my sig.

> 3. Python 3.6.1 generates 256 colors (65536-color pairs), with 
> xterm-256color, on Cygwin based 64-bit Windows 10. However, the 
> generated colors appear to be corrupted by overloading text
> attribute with specified foreground and background colors.
Could you please give some examples of what you expect to see and why,
and what you actually see?

Which Windows console are you running the test in: mintty, cmd, ...?

What are the results when you run it in another console?

Are you running a Windows Insider or some developer build?
That recently had a keyboard problem that was fixed a few days later.

> 6. Cygwin Problem Reporter's Test Case: This Cygwin problem can be 
> demonstrated by running the Problem Reporter's 
> test_tsWxColorPalette.py in Python 3x (developer-sandbox) which can 
> be found in https://github.com/rigordo959/tsWxGTUI_PyVx_Repository
Could you please provide a direct link to a Simple Test Case program,
again with examples of what you expect to see and what you actually see?
I had to dig to find where you hid your test program.

If the program requires certain Cygwin python modules installed to run,
please state which Cygwin packages need to be installed.
The console, ncursesw, pty, or tty person trying to reproduce and
diagnose your problem may not be a python guy.

Plus which Windows console are you seeing the problems under?

Steps to Reproduce your problem are required.

Running your test under current Win10 x64, latest Cygwin, mintty,
python3, and also on Debian, I get:

$ python3 Downloads/test_tsWxColorPalette.py
test_tsWxColorPalette: ImportError (tsLibCLI); importCode=No module
named 'tsLibCLI'
test_tsWxColorPalette: ImportError (tsLibCLI); importCode=No module
named 'tsExceptions'
test_tsWxColorPalette: ImportError (tsLibGUI); importCode=No module
named 'tsLibGUI'
test_tsWxColorPalette: ImportError (tsLibGUI); importCode=No module
named 'tsWx'
Traceback (most recent call last):
  File "Downloads/test_tsWxColorPalette.py", line 272, in <module>
    StandardTerminalEmulators = wxThemeToUse['StandardTerminalEmulators']
NameError: name 'wxThemeToUse' is not defined

> 4. Cygwin problem reporter's test platform is a 27" iMAC (with 3.5 
> GHz Intel Core i7, 16 GB 1600 MHz DDR3) running Mac OS 10.12.5
> (Sierra). It uses the Parallels Desktop 12 for Mac (a hypervisor) to
> run the following guest operating system:

> e. Windows (10 32-bit, 10 64-bit) (NOTE: previously ran 32-bit XP, 7 
> and 8.1). Only Windows 10, with Cygwin, includes support for Python
> 3.6.1 and support for xterm, xterm-16color and xterm-256olor.
What is the ||s VM screen interface config and the console screen config?

Please append cygcheck -svr output as a text attachment to your post, so
support folks can see what your environment is running.

Any chance you can test this on a bare Windows system with a fresh
Cygwin install and only the required modules?

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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