Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-science
Navigation:
Lists: gentoo-science: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-science@g.o
From: Marc Vinyals <marcvinyals@...>
Subject: Re: [sage-on-gentoo] sage-notebook is missing default imports
Date: Fri, 18 Mar 2011 12:25:30 +0100
EL Fri, 18 Mar 2011 16:45:01 +1300
Francois Bissey <fbissey@...> escrigué:

> > > 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?
> > 
> I committed a "fix". Tell me if that solve your problems. I hope it
> doesn't break other stuff in the process. If it does I will have to
> get really invasive one way or another. Not that I mind.
> 
> Francois
> 

Hi François,

Your fix solved my problems and didn't break anything big for me.

Best,
Marc.
Attachment:
signature.asc (PGP signature)
References:
[sage-on-gentoo] sage-notebook is missing default imports
-- Marc Vinyals
Re: [sage-on-gentoo] sage-notebook is missing default imports
-- Francois Bissey
Re: [sage-on-gentoo] sage-notebook is missing default imports
-- Francois Bissey
Navigation:
Lists: gentoo-science: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [sage-on-gentoo] sage-notebook is missing default imports
Next by thread:
[sage-on-gentoo] sci-mathematics/ratpoints-2.1.3-r3 Manifest file is wrong
Previous by date:
Re: [sage-on-gentoo] sage-notebook is missing default imports
Next by date:
[sage-on-gentoo] sci-mathematics/ratpoints-2.1.3-r3 Manifest file is wrong


Updated Jul 05, 2012

Summary: Archive of the gentoo-science mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.