Opened 14 years ago

Closed 13 years ago

#3895 closed defect (fixed)

sage-notebook-insecure ImportError

Reported by: rlm Owned by: malb
Priority: major Milestone: sage-4.1.2
Component: notebook Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by malb)

If called from $SAGE_ROOT, everything goes fine, but if called from somewhere else:

rank4:sage-main rlmill$ ../../sage -inotebook
----------------------------------------------------------------------
| SAGE Version 3.1.1, Release Date: 2008-08-17                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------

Please wait while the SAGE Notebook server starts...
Traceback (most recent call last):
  File "/Users/rlmill/sage-3.1.1/local/bin/sage-notebook-insecure", line 9, in <module>
    from sage.server.notebook.all import notebook
  File "/Users/rlmill/sage-3.1.1/devel/sage-main/sage/server/notebook/all.py", line 13, in <module>
    from notebook_object import notebook, inotebook
  File "/Users/rlmill/sage-3.1.1/devel/sage-main/sage/server/notebook/notebook_object.py", line 19, in <module>
    import notebook as _notebook
  File "/Users/rlmill/sage-3.1.1/devel/sage-main/sage/server/notebook/notebook.py", line 22, in <module>
    from   sage.structure.sage_object import SageObject, load
ImportError: No module named sage_object
rank4:sage-main rlmill$ cd ../..
rank4:sage-3.1.1 rlmill$ ./sage -inotebook
----------------------------------------------------------------------
| SAGE Version 3.1.1, Release Date: 2008-08-17                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------

Please wait while the SAGE Notebook server starts...
...
The notebook files are stored in: /Users/rlmill/.sage//sage_notebook
**************************************************
*                                                *
* Open your web browser to http://localhost:8000 *
*                                                *
**************************************************
<goes swimmingly>

Change History (2)

comment:1 Changed 13 years ago by malb

  • Owner changed from boothby to malb
  • Status changed from new to assigned

comment:2 Changed 13 years ago by malb

  • Description modified (diff)
  • Resolution set to fixed
  • Status changed from assigned to closed

This is fixed (at least) in 4.1.1.

Note: See TracTickets for help on using tickets.