From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Pzt6n-0002YC-TZ for garchives@archives.gentoo.org; Wed, 16 Mar 2011 15:58:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 550EC1C01A; Wed, 16 Mar 2011 15:57:25 +0000 (UTC) Received: from homiemail-a1.g.dreamhost.com (caiajhbdcahe.dreamhost.com [208.97.132.74]) by pigeon.gentoo.org (Postfix) with ESMTP id 23EDC1C01A for ; Wed, 16 Mar 2011 15:57:24 +0000 (UTC) Received: from homiemail-a1.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTP id ECE91348074 for ; Wed, 16 Mar 2011 08:57:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=velodius.com; h=date:from:to :subject:message-id:mime-version:content-type; q=dns; s= velodius.com; b=OHD/CBWbgIAxeUPLcMAMUmVXOLf6zrhfSt65chGHcUp/mSE2 tYvv7Xrw+Qi9hP5XYOn8hfCVXk9wEkHOc3ZoM2ItKT2h4jAC1U+fY3bsSnB9X2mA AqHGA1Anb5SKm6wK7hdgWARFjOXodluPOgWOepKHN239m51nyEwRONs5Ha8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=velodius.com; h=date:from :to:subject:message-id:mime-version:content-type; s=velodius.com ; bh=6IEde6sDAzVRFcXWImpa5zdKwP0=; b=oAvLa7K6O7FgQRr4Yz3qqXgL99t Iz4DqaEeU6BzHK3kG3LvxM1EC63ATesyFBnqHy49Ys2hEZ9HQUeKL65ibLmCwoan ou5UVm6LhlJUM19Qy1xpI5L4GqO1d6PQN2CBTFk6wbpvaLxzOUoV78WVV/KW9Tv1 N79NaeFLlPqxXIvA= Received: from pcbox-marc (11.Red-88-26-246.staticIP.rima-tde.net [88.26.246.11]) (Authenticated sender: timer@velodius.com) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTPA id 85287348072 for ; Wed, 16 Mar 2011 08:57:21 -0700 (PDT) Date: Wed, 16 Mar 2011 16:57:15 +0100 From: Marc Vinyals To: gentoo-science@lists.gentoo.org Subject: [gentoo-science] [sage-on-gentoo] sage-notebook is missing default imports Message-ID: <20110316165715.5e6d16c9@pcbox-marc> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/GqwUWCH0Tlf1lIlqPMRjo45"; protocol="application/pgp-signature" X-Archives-Salt: X-Archives-Hash: bac727752f0eb0562dbd0c4b6fe538b6 --Sig_/GqwUWCH0Tlf1lIlqPMRjo45 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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. --Sig_/GqwUWCH0Tlf1lIlqPMRjo45 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEARECAAYFAk2A3dwACgkQu4rFT+k3kmT7pACfSMDwbKUmdyQZMArP6RJtcGHO GyUAoJ6OxzI2I2q+g4xE1N5fGvuFsh9j =BthQ -----END PGP SIGNATURE----- --Sig_/GqwUWCH0Tlf1lIlqPMRjo45--