public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
From: Marc Vinyals <marcvinyals@velodius.com>
To: gentoo-science@lists.gentoo.org
Subject: [gentoo-science] [sage-on-gentoo] sage-notebook is missing default imports
Date: Wed, 16 Mar 2011 16:57:15 +0100	[thread overview]
Message-ID: <20110316165715.5e6d16c9@pcbox-marc> (raw)

[-- 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 --]

             reply	other threads:[~2011-03-16 15:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-16 15:57 Marc Vinyals [this message]
2011-03-17 20:38 ` [gentoo-science] [sage-on-gentoo] sage-notebook is missing default imports Francois Bissey
2011-03-18  3:45   ` Francois Bissey
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=20110316165715.5e6d16c9@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