Attached crash report. 64 bit Windows 10, Intel Core I7-6700, 3.4 GHz,
16GB RAM.
My first time here, if this is not correct location for this report, please
advise.
Thanks,
John
PS... Thanks for the Windows SageMath! :)
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.
***************************************************************************
IPython post-mortem report
{'commit_hash': u'5c9c918',
'commit_source': 'installation',
'default_encoding': 'UTF-8',
'ipython_path': '/opt/sagemath-8.0/local/lib/python2.7/site-packages/IPython',
'ipython_version': '5.1.0',
'os_name': 'posix',
'platform': 'CYGWIN_NT-10.0-2.8.2-0.313-5-3-x86_64-64bit',
'sys_executable': '/opt/sagemath-8.0/local/bin/python',
'sys_platform': 'cygwin',
'sys_version': '2.7.13 (default, Jul 31 2017, 13:29:16) \n[GCC 5.4.0]'}
***************************************************************************
***************************************************************************
Crash traceback:
---------------------------------------------------------------------------
---------------------------------------------------------------------------
error Python 2.7.13: /opt/sagemath-8.0/local/bin/python
Tue Dec 12 19:29:06 2017
A problem occurred executing Python code. Here is the sequence of function
calls leading up to the error, with the most recent (innermost) call last.
/opt/sagemath-8.0/src/bin/sage-ipython in <module>()
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 """
4 Sage IPython startup script.
5 """
6
7 from sage.repl.interpreter import SageTerminalApp
8
9 app = SageTerminalApp.instance()
10 app.initialize()
---> 11 app.start()
global app.start = <bound method SageTerminalApp.start of
<sage.repl.interpreter.SageTerminalApp object at 0x6ffffe66250>>
/opt/sagemath-8.0/local/lib/python2.7/site-packages/IPython/terminal/ipapp.py
in start(self=<sage.repl.interpreter.SageTerminalApp object>)
333 if self.log_level <= logging.INFO: print()
334
335 def _pylab_changed(self, name, old, new):
336 """Replace --pylab='inline' with --pylab='auto'"""
337 if new == 'inline':
338 warnings.warn("'inline' not available as pylab backend, "
339 "using 'auto' instead.")
340 self.pylab = 'auto'
341
342 def start(self):
343 if self.subapp is not None:
344 return self.subapp.start()
345 # perform any prexec steps:
346 if self.interact:
347 self.log.debug("Starting IPython's mainloop...")
--> 348 self.shell.mainloop()
self.shell.mainloop = <bound method
SageTerminalInteractiveShell.mainloop of
<sage.repl.interpreter.SageTerminalInteractiveShell object at 0x6fffab2ef10>>
349 else:
350 self.log.debug("IPython not interactive...")
351
352 def load_default_config(ipython_dir=None):
353 """Load the default config file from the default ipython_dir.
354
355 This is useful for embedded shells.
356 """
357 if ipython_dir is None:
358 ipython_dir = get_ipython_dir()
359
360 profile_dir = os.path.join(ipython_dir, 'profile_default')
361
362 config = Config()
363 for cf in Application._load_config_files("ipython_config",
path=profile_dir):
/opt/sagemath-8.0/local/lib/python2.7/site-packages/IPython/terminal/interactiveshell.py
in mainloop(self=<sage.repl.interpreter.SageTerminalInteractiveShell object>,
display_banner=<object object>)
425 if (not self.confirm_exit) \
426 or self.ask_yes_no('Do you really want to exit
([y]/n)?','y','n'):
427 self.ask_exit()
428
429 else:
430 if code:
431 self.run_cell(code, store_history=True)
432
433 def mainloop(self, display_banner=DISPLAY_BANNER_DEPRECATED):
434 # An extra layer of protection in case someone mashing Ctrl-C
breaks
435 # out of our internal code.
436 if display_banner is not DISPLAY_BANNER_DEPRECATED:
437 warn('mainloop `display_banner` argument is deprecated
since IPython 5.0. Call `show_banner()` if needed.', DeprecationWarning,
stacklevel=2)
438 while True:
439 try:
--> 440 self.interact()
self.interact = <bound method SageTerminalInteractiveShell.interact of
<sage.repl.interpreter.SageTerminalInteractiveShell object at 0x6fffab2ef10>>
441 break
442 except KeyboardInterrupt:
443 print("\nKeyboardInterrupt escaped interact()\n")
444
445 _inputhook = None
446 def inputhook(self, context):
447 if self._inputhook is not None:
448 self._inputhook(context)
449
450 def enable_gui(self, gui=None):
451 if gui:
452 self._inputhook = get_inputhook_func(gui)
453 else:
454 self._inputhook = None
455
/opt/sagemath-8.0/local/lib/python2.7/site-packages/IPython/terminal/interactiveshell.py
in interact(self=<sage.repl.interpreter.SageTerminalInteractiveShell object>,
display_banner=<object object>)
408 def pre_prompt(self):
409 if self.rl_next_input:
410 self.pt_cli.application.buffer.text =
cast_unicode_py2(self.rl_next_input)
411 self.rl_next_input = None
412
413 def interact(self, display_banner=DISPLAY_BANNER_DEPRECATED):
414
415 if display_banner is not DISPLAY_BANNER_DEPRECATED:
416 warn('interact `display_banner` argument is deprecated
since IPython 5.0. Call `show_banner()` if needed.', DeprecationWarning,
stacklevel=2)
417
418 self.keep_running = True
419 while self.keep_running:
420 print(self.separate_in, end='')
421
422 try:
--> 423 code = self.prompt_for_code()
code = undefined
self.prompt_for_code = <bound method
SageTerminalInteractiveShell.prompt_for_code of
<sage.repl.interpreter.SageTerminalInteractiveShell object at 0x6fffab2ef10>>
424 except EOFError:
425 if (not self.confirm_exit) \
426 or self.ask_yes_no('Do you really want to exit
([y]/n)?','y','n'):
427 self.ask_exit()
428
429 else:
430 if code:
431 self.run_cell(code, store_history=True)
432
433 def mainloop(self, display_banner=DISPLAY_BANNER_DEPRECATED):
434 # An extra layer of protection in case someone mashing Ctrl-C
breaks
435 # out of our internal code.
436 if display_banner is not DISPLAY_BANNER_DEPRECATED:
437 warn('mainloop `display_banner` argument is deprecated
since IPython 5.0. Call `show_banner()` if needed.', DeprecationWarning,
stacklevel=2)
438 while True:
/opt/sagemath-8.0/local/lib/python2.7/site-packages/IPython/terminal/interactiveshell.py
in prompt_for_code(self=<sage.repl.interpreter.SageTerminalInteractiveShell
object>)
318
processor=HighlightMatchingBracketProcessor(chars='[](){}'),
319 filter=HasFocus(DEFAULT_BUFFER) & ~IsDone() &
320 Condition(lambda cli:
self.highlight_matching_brackets))],
321 }
322
323 def _update_layout(self):
324 """
325 Ask for a re computation of the application layout, if for
example ,
326 some configuration options have changed.
327 """
328 if self._pt_app:
329 self._pt_app.layout =
create_prompt_layout(**self._layout_options())
330
331 def prompt_for_code(self):
332 document = self.pt_cli.run(
--> 333 pre_run=self.pre_prompt, reset_current_buffer=True)
global pre_run = undefined
self.pre_prompt = <bound method SageTerminalInteractiveShell.pre_prompt
of <sage.repl.interpreter.SageTerminalInteractiveShell object at 0x6fffab2ef10>>
global reset_current_buffer = undefined
global True = undefined
334 return document.text
335
336 def enable_win_unicode_console(self):
337 import win_unicode_console
338
339 if PY3:
340 win_unicode_console.enable()
341 else:
342 # https://github.com/ipython/ipython/issues/9768
343 from win_unicode_console.streams import (TextStreamWrapper,
344 stdout_text_transcoded,
stderr_text_transcoded)
345
346 class LenientStrStreamWrapper(TextStreamWrapper):
347 def write(self, s):
348 if isinstance(s, bytes):
/opt/sagemath-8.0/local/lib/python2.7/site-packages/prompt_toolkit/interface.py
in run(self=<prompt_toolkit.interface.CommandLineInterface object>,
reset_current_buffer=True, pre_run=<bound method
SageTerminalInteractiveShell.pre_p...interpreter.SageTerminalInteractiveShell
object>>)
374 try:
375 self._is_running = True
376
377 self.on_start.fire()
378 self.reset(reset_current_buffer=reset_current_buffer)
379
380 # Call pre_run.
381 if pre_run:
382 pre_run()
383
384 # Run eventloop in raw mode.
385 with self.input.raw_mode():
386 self.renderer.request_absolute_cursor_position()
387 self._redraw()
388
--> 389 self.eventloop.run(self.input,
self.create_eventloop_callbacks())
self.eventloop.run = <bound method PosixEventLoop.run of
<prompt_toolkit.eventloop.posix.PosixEventLoop object at 0x6fff9f171d0>>
self.input = StdinInput(stdin=<open file '<stdin>', mode 'r' at
0x6fffffe20c0>)
self.create_eventloop_callbacks = <bound method
CommandLineInterface.create_eventloop_callbacks of
<prompt_toolkit.interface.CommandLineInterface object at 0x6fff9f24190>>
390 finally:
391 # Clean up renderer. (This will leave the alternate screen,
if we use
392 # that.)
393
394 # If exit/abort haven't been called set, but another
exception was
395 # thrown instead for some reason, make sure that we redraw
in exit
396 # mode.
397 if not self.is_done:
398 self._exit_flag = True
399 self._redraw()
400
401 self.renderer.reset()
402 self.on_stop.fire()
403 self._is_running = False
404
/opt/sagemath-8.0/local/lib/python2.7/site-packages/prompt_toolkit/terminal/vt100_input.py
in __exit__(self=<prompt_toolkit.terminal.vt100_input.raw_mode object>,
*a=(<type 'exceptions.SystemExit'>, SystemExit(), <traceback object>), **kw={})
409 self.attrs_before = termios.tcgetattr(fileno)
410
411 def __enter__(self):
412 # NOTE: On os X systems, using pty.setraw() fails. Therefor we
are using this:
413 newattr = termios.tcgetattr(self.fileno)
414 newattr[tty.LFLAG] = self._patch(newattr[tty.LFLAG])
415 termios.tcsetattr(self.fileno, termios.TCSANOW, newattr)
416
417 # Put the terminal in cursor mode. (Instead of application
mode.)
418 os.write(self.fileno, b'\x1b[?1l')
419
420 def _patch(self, attrs):
421 return attrs & ~(termios.ECHO | termios.ICANON | termios.IEXTEN
| termios.ISIG)
422
423 def __exit__(self, *a, **kw):
--> 424 termios.tcsetattr(self.fileno, termios.TCSANOW,
self.attrs_before)
global termios.tcsetattr = <built-in function tcsetattr>
self.fileno = 0
global termios.TCSANOW = 2
self.attrs_before = [165130, 9, 191, 3359, 15, 15, ['\x00', '\x0f',
'\x00', '\x00', '\x04', '\x7f', '\x03', '\x15', '\x16', '\x01', '\x1c', '\x12',
'\x11', '\x13', '\x1a', '\x1a', '\x00', '\x17']]
425
426 # # Put the terminal in application mode.
427 # self._stdout.write('\x1b[?1h')
428
429
430 class cooked_mode(raw_mode):
431 """
432 (The opposide of ``raw_mode``::
433
434 with cooked_mode(stdin):
435 ''' the pseudo-terminal stdin is now used in cooked mode.
'''
436 """
437 def _patch(self, attrs):
438 return attrs | (termios.ECHO | termios.ICANON | termios.IEXTEN
| termios.ISIG)
error: (25, 'Inappropriate ioctl for device')
***************************************************************************
History of session input:
*** Last line of input (may not be in above history):