From: Francois Bissey <fbissey@slingshot.co.nz>
To: gentoo-science@lists.gentoo.org
Subject: Re: [gentoo-science] [sage-on-gentoo] sage-notebook is missing default imports
Date: Fri, 18 Mar 2011 16:45:01 +1300 [thread overview]
Message-ID: <201103181645.01377.fbissey@slingshot.co.nz> (raw)
In-Reply-To: <201103180938.22776.fbissey@slingshot.co.nz>
> > 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
next prev parent reply other threads:[~2011-03-18 3:45 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 [this message]
2011-03-18 11:25 ` Marc Vinyals
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=201103181645.01377.fbissey@slingshot.co.nz \
--to=fbissey@slingshot.co.nz \
--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