Opened 12 years ago

Closed 12 years ago

#4180 closed enhancement (fixed)

[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: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
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 (1)

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

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by mhansen

comment:1 Changed 12 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 12 years ago by mabshoff

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

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 12 years ago by mabshoff

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

Merged in Sage 3.1.3.alpha1

Note: See TracTickets for help on using tickets.