GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — log_html() crashes because of an undefined variable · Issue #308 · sagemath/sage

log_html() crashes because of an undefined variable #308

New issue
Copy link
New issue
Copy link
Closed
Closed
log_html() crashes because of an undefined variable#308
Copy link
Assignees
williamstein
Labels
c: user interfacep: trivial / 5t: bug
Milestone
sage-2.8.3

Description

@dfdeshom
dfdeshom
opened on Mar 4, 2007
Issue body actions

log_html crashes because of an undefined variable:

sage: log_html ()
[..]
   245         T = self._title()
   246         inlog = os.path.split(self._input_log_name())[1]
--> 247         return '<html>%s<title>%s</title>\n<body><h1
align=center>%s</h1>\n<h2 align=center><a
href="%s">%s</a></h2><pre>'%(REFRESH,T,T, inlog, inlog)   
<type 'exceptions.NameError'>: global name 'REFRESH' is not defined

I'm not sure what the variable REFRESH is referring to, but removing
it takes care of the problem. A patch is available here:
http://sage.math.washington.edu/home/dfdeshom/custom/patches/log.py.hg

Component: user interface

Issue created by migration from https://trac.sagemath.org/ticket/308

Activity

  1. dfdeshom
    added
    c: user interface
    on Mar 4, 2007
  2. dfdeshom
    assigned
    williamstein
    on Mar 4, 2007
  3. sagetrac-mabshoff commented on Aug 24, 2007

    @sagetrac-mabshoff
    sagetrac-mabshoffmannequin
    on Aug 24, 2007
    Mannequin
    More actions
    comment:1

    Mmmh, I get the following:

    ----------------------------------------------------------------------
    | SAGE Version 2.8.2, Release Date: 2007-08-22                       |
    | Type notebook() for the GUI, and license() for information.        |
    ----------------------------------------------------------------------
    
    sage: log_html ()
    HTML Logger
    sage: 1+1
    2
    

    Can this be closed now?

    Cheers,

    Michael

  4. sagetrac-mabshoff
    modified the milestones: sage-2.9, sage-2.8.3 on Aug 24, 2007
  5. williamstein
    closed this as completedon Aug 29, 2007
  6. vbraun
    added a commit that references this issue on Aug 4, 2026

    c93f86c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @williamstein
    williamstein

Labels

c: user interfacep: trivial / 5t: bug

Type

No type

Projects

No projects

    Milestone

    • sage-2.8.3

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.