Opened 8 years ago

Last modified 7 years ago

#13621 closed enhancement

adding new user in notebook — at Version 2

Reported by: startakovsky Owned by: jason, mpatel, was
Priority: trivial Milestone: sage-duplicate/invalid/wontfix
Component: notebook Keywords:
Cc: kini, jason Merged in:
Authors: Reviewers:
Report Upstream: Fixed upstream, in a later stable release. Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by kcrisman)

My output is the following based on instructions from the website. I am using Sage 5.3.


sage: from sagenb.notebook.notebook import load_notebook
sage: nb = load_notebook(dir)
AttributeError                            Traceback (most recent call last)

/home/steven/<ipython console> in <module>()

/home/steven/sage-5.3/devel/sagenb/sagenb/notebook/notebook.pyc in load_notebook(dir, interface, port, secure, user_manager)
   1779     - a Notebook instance
   1780     """
-> 1781     if not dir.endswith('.sagenb'):
   1782         if not os.path.exists(dir + '.sagenb') and os.path.exists(os.path.join(dir, 'nb.sobj')):
   1783             try:

AttributeError: 'builtin_function_or_method' object has no attribute 'endswith'

Change History (2)

comment:1 Changed 8 years ago by kcrisman

  • Component changed from PLEASE CHANGE to notebook
  • Owner changed from tbd to jason, mpatel, was
  • Type changed from PLEASE CHANGE to defect

comment:2 Changed 8 years ago by kcrisman

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