From: Marc Vinyals <marcvinyals@velodius.com>
To: gentoo-science@lists.gentoo.org
Subject: Re: [gentoo-science] [sage-on-gentoo] sage-notebook is missing default imports
Date: Fri, 18 Mar 2011 12:25:30 +0100 [thread overview]
Message-ID: <20110318122530.3d50b668@pcbox-marc> (raw)
In-Reply-To: <201103181645.01377.fbissey@slingshot.co.nz>
[-- Attachment #1: Type: text/plain, Size: 1148 bytes --]
EL Fri, 18 Mar 2011 16:45:01 +1300
Francois Bissey <fbissey@slingshot.co.nz> 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
prev parent reply other threads:[~2011-03-18 11:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110318122530.3d50b668@pcbox-marc \
--to=marcvinyals@velodius.com \
--cc=gentoo-science@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox