Opened 10 years ago

Closed 9 years ago

#13752 closed defect (worksforme)

Notebook does not start with given directory

Reported by: dkrenn Owned by: jason, mpatel, was
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: notebook Keywords: notebook directory
Cc: Merged in:
Authors: Reviewers: Karl-Dieter Crisman
Report Upstream: Fixed upstream, in a later stable release. Work issues:
Branch: Commit:
Dependencies: #14330 Stopgaps:

GitHub link to the corresponding issue

Description

Running Sage with

sage -notebook directory='test'

leads to an error (in 5.4 and 5.4.1). This worked at least in 5.1. It seems that a directory test.sagenb is created, but then an error is produced.

However, it works with

sage -notebook directory='test.sagenb'

Change History (5)

comment:1 Changed 10 years ago by kcrisman

Dependencies: #14330
Report Upstream: N/AFixed upstream, in a later stable release.
Status: newneeds_review

This is solved by #14330, I believe; see this sagenb pull request. If someone could just verify that, we would be all set here.

comment:2 Changed 10 years ago by dimpase

No, if I try /usr/local/src/sage/sage-5.10.rc1/sage -notebook directory='test1' I get

  File "/usr/local/src/sage/sage-5.10.rc1/devel/sagenb/sagenb/notebook/interact.py", line 157, in <module>
    from sage.misc.cachefunc import cached_method
exceptions.ImportError: No module named cachefunc

and

  File "/usr/local/src/sage/sage-5.10.rc1/devel/sage-main/sage/misc/prandom.py", line 58, in <module>
    from sage.misc.randstate import current_randstate
ImportError: No module named randstate

Looks bizarre...

comment:3 Changed 10 years ago by kcrisman

But are you using sagenb 0.10.6?

comment:4 in reply to:  3 Changed 10 years ago by dimpase

Milestone: sage-5.11sage-duplicate/invalid/wontfix
Status: needs_reviewpositive_review

Replying to kcrisman:

But are you using sagenb 0.10.6?

oops, indeed, I apparently uninstalled it... Now, with freshly updated Sage 5.10.rc2 and sagenb 0.10.6, it works.

comment:5 Changed 9 years ago by jdemeyer

Resolution: worksforme
Reviewers: Karl-Dieter Crisman
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.