Ticket #104 (new defect)

Opened 6 years ago

Last modified 3 years ago

getch throws error on windows

Reported by: mmckerns Owned by: mmckerns
Priority: minor Milestone: mystic-0.3a
Component: mystic.tools Keywords:
Cc:

Description

it appears that sys.stdin.read(1), and hence "getch", fails when running from a python shell on windows

Change History

comment:1 Changed 6 years ago by mmckerns

I am able to run the example 10 and it solves the cheb. polynomial. but at the end the figure does not appear and I get the below message:

Traceback (most recent call last):

File "C:\Documents and Settings\Ali Lashgari\My

Documents\python\example10.py", line 81, in <module>

getch()

File "build\bdist.win32\egg\mystic\tools.py", line 108, in getch

a = sys.stdin.read(1)

AttributeError?: read

comment:2 Changed 6 years ago by mmckerns

  • Milestone changed from mystic-dev to mystic-0.2a3

comment:3 Changed 6 years ago by mmckerns

  • Milestone changed from mystic-0.2a3 to mystic-0.2a2

comment:4 Changed 5 years ago by mmckerns

  • Milestone changed from mystic-0.2a2 to mystic-0.3a2

comment:5 Changed 3 years ago by mmckerns

  • Milestone changed from mystic-0.5a to mystic-0.2a2

also getch is often/always/? ignored on a macintosh when used to pause execution to display a plot

comment:6 Changed 3 years ago by mmckerns

  • Milestone changed from mystic-0.2a2 to mystic-0.3a
Note: See TracTickets for help on using tickets.