python-coloredlogs icon indicating copy to clipboard operation
python-coloredlogs copied to clipboard

Windows 10 bug (related to pyreadline)

Open TimothyClaeys opened this issue 5 years ago • 1 comments

I'm using coloredlogs (with python 2.7) in a project (https://github.com/openwsn-berkeley/openvisualizer) to color logs written to the terminal. On both Mac OSX and Linux everything works great, but on Windows 10 the logging output is sometimes garbled or overwritten by subsequent logs.

I've tracked the issue to the pyreadline package (installed by humanfriendly). It looks like pyreadline is no longer maintained (its README.md states that is has been tested on Windows 2000 and Windows XP and nothing has been merged since 2015). A quick google search shows many issues related to pyreadline when used on Windows 10.

I was wondering if it is possible switch pyreadline with another maintained package that provides similar functionalities?

TimothyClaeys avatar Apr 30 '20 16:04 TimothyClaeys

Related links:

  • https://github.com/pyreadline/pyreadline/issues/65
  • (a patched fork) https://github.com/osrf/pyreadline/commit/792e60e16c258d390c4d28e4eafe73454e970e47

ahogen avatar May 17 '21 17:05 ahogen