#28677 closed defect (duplicate)

sage.misc.log.log_text() is broken

Reported by: dimpase Owned by:
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: misc Keywords:
Cc: dimpase Merged in:
Authors: Reviewers: Markus Wageringel
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by dimpase)

as reported by Max Alekseyev here: https://groups.google.com/d/msg/sage-devel/1v7PUb7Swrg/uQqR-DmiEAAJ

sage: import sage.misc.log
sage: sage.misc.log.log_text()
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-2-ace4f1da0972> in <module>()
----> 1 sage.misc.log.log_text()

/usr/local/SageMath.89/local/lib/python2.7/site-packages/sage/misc/log.pyc in __init__(self, dir, debug, viewer)
     97         self._dir = dir
     98         self._filename = os.path.join(dir, self._filename())
---> 99         self._output = __IPYTHON__.output_hist
    100         self._input  = __IPYTHON__.input_hist_raw
    101         self._text = ''

AttributeError: 'bool' object has no attribute 'output_hist'

a good example of bitrot due to absense of tests/examples

Change History (8)

comment:1 Changed 18 months ago by dimpase

  • Description modified (diff)

comment:2 Changed 15 months ago by embray

  • Milestone changed from sage-9.0 to sage-9.1

Ticket retargeted after milestone closed

comment:3 Changed 12 months ago by mkoeppe

  • Cc dimpase added
  • Milestone changed from sage-9.1 to sage-duplicate/invalid/wontfix

dup of #29621

comment:4 Changed 12 months ago by mkoeppe

  • Status changed from new to needs_review

comment:5 Changed 12 months ago by gh-mwageringel

  • Authors set to Markus Wageringel
  • Priority changed from critical to major
  • Status changed from needs_review to positive_review

comment:6 Changed 12 months ago by dimpase

thanks - I totally forgot about this one..

comment:7 Changed 12 months ago by mkoeppe

  • Authors Markus Wageringel deleted
  • Reviewers set to Markus Wageringel

comment:8 Changed 11 months ago by chapoton

  • Resolution set to duplicate
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.