Ticket #4180 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

[with patch, positive review] magic pexpect logging switch

Reported by: was Owned by: mhansen
Priority: minor Milestone: sage-3.1.3
Component: interfaces Keywords:
Cc: Work issues:
Report Upstream: Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description

Yeah, I think it would greatly help if users could send an env
variable that dumps the pexpect communication to a file. Currently I
have to debug some Singular vs. pexpect problems on Solaris, but I
guess with mhansen's help I will finally learn how to fix those
issues. But for random users out there a magic switch that gives us
logs and helps us hunt down "random" problems would be a great thing
IMHO.

Attachments

trac_4180.patch Download (2.5 KB) - added by mhansen 5 years ago.

Change History

Changed 5 years ago by mhansen

comment:1 Changed 5 years ago by mhansen

  • Owner changed from was to mhansen
  • Status changed from new to assigned
  • Summary changed from magic pexpect logging switch to [with patch, needs review] magic pexpect logging switch

I've added a patch to do this which uses the SAGE_PEXPECT_LOG environment variable.

comment:2 Changed 5 years ago by mabshoff

  • Summary changed from [with patch, needs review] magic pexpect logging switch to [with patch, positive review] magic pexpect logging switch
  • Milestone changed from sage-wishlist to sage-3.1.3

The patch looks very nice to me and will surely help us debug loads of Heisenbugs in the future. Positive review.

Cheers,

Michael

comment:3 Changed 5 years ago by mabshoff

  • Status changed from assigned to closed
  • Resolution set to fixed

Merged in Sage 3.1.3.alpha1

Note: See TracTickets for help on using tickets.