I succeeded in building 4.7 on my legendarily wonky 64-bit Fedora box
(which lives on a 32-bit network and thus is a source of many bug
reports). But as soon as I try to run doctests, I get the following
error on pretty much every file:
{{{
sage -t  "devel/sage/sage/symbolic/constants.py"
Traceback (most recent call last):
  File "/home/r1/kedlaya/.sage//tmp/constants.py", line 2, in <module>
    from sage.all_cmdline import *;
  File "/scratch/sage-4.6.2/local/lib/python/site-packages/sage/
all_cmdline.py", line 14, in <module>
    from sage.all import *
  File "/scratch/sage-4.6.2/local/lib/python/site-packages/sage/
all.py", line 44, in <module>
    import twisted.persisted.styles
  File "/scratch/sage-4.6.2/local/lib/python2.6/site-packages/
Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/persisted/styles.py",
line 22, in <module>
    from twisted.python import log
  File "/scratch/sage-4.6.2/local/lib/python2.6/site-packages/
Twisted-9.0.0-py2.6-linux-x86_64.egg/twisted/python/log.py", line 17,
in <module>
    from zope.interface import Interface
  File "/home/sdb1/r1/kedlaya/.sage/tmp/zope.py", line 33, in <module>
    from connector import *
  File "/home/sdb1/r1/kedlaya/.sage/tmp/connector.py", line 33, in
<module>
    from fckconnector import FCKeditorConnectorBase # import base
connector
  File "/home/sdb1/r1/kedlaya/.sage/tmp/fckconnector.py", line 28, in
<module>
    import cgi, os
  File "/home/sdb1/r1/kedlaya/.sage/tmp/cgi.py", line 3, in <module>
    import urllib
  File "/home/sdb1/r1/kedlaya/.sage/tmp/urllib.py", line 30, in
<module>
    from urlparse import urljoin as basejoin
  File "/home/sdb1/r1/kedlaya/.sage/tmp/urlparse.py", line 84, in
<module>
    from collections import namedtuple
  File "/home/sdb1/r1/kedlaya/.sage/tmp/collections.py", line 10, in
<module>
    from keyword import iskeyword as _iskeyword
  File "/home/sdb1/r1/kedlaya/.sage/tmp/keyword.py", line 84, in
<module>
    from mercurial import commands, cmdutil, dispatch, filelog,
revlog, extensions
  File "/scratch/sage-4.6.2/local/lib/python2.6/mercurial/
commands.py", line 9, in <module>
    from lock import release
  File "/scratch/sage-4.6.2/local/lib/python2.6/mercurial/lock.py",
line 8, in <module>
    import util, error
  File "/scratch/sage-4.6.2/local/lib/python2.6/mercurial/util.py",
line 18, in <module>
    import errno, re, shutil, sys, tempfile, traceback
  File "/home/sdb1/r1/kedlaya/.sage/tmp/tempfile.py", line 34, in
<module>
    from random import Random as _Random
  File "/home/sdb1/r1/kedlaya/.sage/tmp/random.py", line 30, in
<module>
    from Crypto import Random
  File "/scratch/sage-4.6.2/local/lib/python/site-packages/Crypto/
Random/__init__.py", line 29, in <module>
    import _UserFriendlyRNG
  File "/scratch/sage-4.6.2/local/lib/python/site-packages/Crypto/
Random/_UserFriendlyRNG.py", line 33, in <module>
    from math import floor
ImportError: cannot import name floor
}}}

By contrast, firing up a sage session and executing "from
sage.all_cmdline import *;" seems to work.

Kiran

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to