Gentoo Archives: gentoo-science

From: Francois Bissey <fbissey@××××××××××××.nz>
To: gentoo-science@l.g.o
Subject: Re: [gentoo-science] [sage-on-gentoo] sage-notebook is missing default imports
Date: Thu, 17 Mar 2011 20:39:56
In Reply to: [gentoo-science] [sage-on-gentoo] sage-notebook is missing default imports by Marc Vinyals
> Hi, > > After updating from sage 4.6.1 to 4.6.2 I had trouble working with > sage-notebook because default imports were missing. This is what I > tried: > > If I run sage-notebook, login and try to run a command as simple as > > 3; > > I get a "NameError: name 'Integer' is not defined" error. If I run > > from sage.rings.integer import Integer; > 3; > > everything works as expected. Also if I run sage -notebook (notice the > space) then executing the comand > > 3; > > works. It's not a huge problem, but it kept me rebuilding sage and > python for a week. Any idea about why is this happening? >
Hi, I seem to have goofed in my email settings. Anyway I am looking at it. There are a few oddities when you use sage-notebook - in fact a lot of notebook related stuff is a bit messy. Hopefully I will sort it out quickly. Cheers, Francois


Subject Author
Re: [gentoo-science] [sage-on-gentoo] sage-notebook is missing default imports Francois Bissey <fbissey@××××××××××××.nz>