Opened 8 years ago

Last modified 8 years ago

#17645 closed defect

load("object.sobj") is broken in the new sagenb — at Version 8

Reported by: Andrey Novoseltsev Owned by:
Priority: blocker Milestone: sage-6.5
Component: notebook Keywords:
Cc: Merged in:
Authors: Karl-Dieter Crisman Reviewers:
Report Upstream: Fixed upstream, in a later stable release. Work issues:
Branch: u/kcrisman/ticket/17645 (Commits, GitHub, GitLab) Commit: bbee29ecb7d90a555882cbcedbfb2cd88d321551
Dependencies: #12212 Stopgaps:

Status badges

Change History (8)

comment:1 Changed 8 years ago by Andrey Novoseltsev

Component: PLEASE CHANGEnotebook
Report Upstream: N/AReported upstream. Developers acknowledge bug.

comment:2 Changed 8 years ago by Jeroen Demeyer

I believe this commit is responsible:

  • sagenb/notebook/worksheet.py

    commit 2ea8adb1158ffb5048610552ad36df55fd7ee417
    Author: kcrisman <kcrisman@gmail.com>
    Date:   Wed Dec 3 14:29:38 2014 -0500
    
        Make init.sage work
        
        Ideally, this would later be changed to use `attach` again.
    
    diff --git a/sagenb/notebook/worksheet.py b/sagenb/notebook/worksheet.py
    index 53048a1..6507341 100644
    a b sage.misc.latex.EMBEDDED_MODE=True 
    30443044# gets removed from the sage library.
    30453045from sagenb.notebook.all import *
    30463046try:
    3047     attach(os.path.join(os.environ['DOT_SAGE'], 'init.sage'))
     3047    from sage.misc.preparser import load
     3048    load(os.path.join(os.environ['DOT_SAGE'], 'init.sage'), globals(),attach=True)
    30483049except (KeyError, IOError):
    30493050    pass
    30503051    """ % (os.path.join(os.path.abspath(self.data_directory()),''), misc.DIR)

I guess it suffices to remove the added import line.

Last edited 8 years ago by Jeroen Demeyer (previous) (diff)

comment:3 Changed 8 years ago by Karl-Dieter Crisman

Report Upstream: Reported upstream. Developers acknowledge bug.Fixed upstream, but not in a stable release.

comment:4 Changed 8 years ago by Karl-Dieter Crisman

This needs a new sagenb package, coming within a few days.

comment:5 Changed 8 years ago by Karl-Dieter Crisman

Dependencies: #12212
Report Upstream: Fixed upstream, but not in a stable release.Fixed upstream, in a later stable release.

Setting mutual dependency because this sagenb upgrade contains a very minor change in canvas3d that needs #12212.

comment:6 Changed 8 years ago by Karl-Dieter Crisman

Branch: u/kcrisman/ticket/17645

comment:7 Changed 8 years ago by Karl-Dieter Crisman

Authors: Karl-Dieter Crisman
Commit: bbee29ecb7d90a555882cbcedbfb2cd88d321551
Status: newneeds_review

Upstream package at http://sage.math.washington.edu/home/kcrisman/sagenb-0.11.3.tar


New commits:

bbee29eUpgrade sagenb to version 0.11.3

comment:8 Changed 8 years ago by Jeroen Demeyer

Description: modified (diff)
Note: See TracTickets for help on using tickets.