public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-science] [sage-on-gentoo] sage-notebook is missing default imports
@ 2011-03-16 15:57 Marc Vinyals
  2011-03-17 20:38 ` Francois Bissey
  0 siblings, 1 reply; 4+ messages in thread
From: Marc Vinyals @ 2011-03-16 15:57 UTC (permalink / raw
  To: gentoo-science

[-- Attachment #1: Type: text/plain, Size: 603 bytes --]

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?

Best,
Marc.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-03-18 11:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-16 15:57 [gentoo-science] [sage-on-gentoo] sage-notebook is missing default imports Marc Vinyals
2011-03-17 20:38 ` Francois Bissey
2011-03-18  3:45   ` Francois Bissey
2011-03-18 11:25     ` Marc Vinyals

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox