Ask Your Question
0

ImportError after (apparently peaceful) installation

asked 2010-10-30 20:42:46 +0200

Bill M gravatar image

Howdy all,

After install of 10.04 64bit ubuntu (with your help), upon first invocations sage reports: ImportError. Here is the trace back:

__import__(modname)

import sage.all_cmdline

from sage.all import *

from sage.databases.all import *

from symbolic_data import SymbolicData

from xml.dom.minidom import parse

from xml.dom.xmlbuilder import DOMImplementationLS, DocumentLS

ImportError: cannot import name DOMImplementationLS. Error importing ipy_profile_sage - perhaps you should run %upgrade? WARNING: Loading of ipy_profile_sage failed.

<<well, yes,="" i="" followed="" the="" sage="" advise="" and="" ran="" %upgrade,="" and="" got="" the="" same="" results.="" and,="" if="" i="" disregard="" all="" the="" error="" messages="" and="" proceed="" to="" something="" like:<="" p="">

sage: 3+4

NameError: name 'Integer' is not defined. >> Suggestions??

edit retag flag offensive close merge delete

Comments

Are you running "./sage" or "./sage -n"?

ccanonc gravatar imageccanonc ( 2010-10-30 21:26:59 +0200 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2010-10-30 23:46:55 +0200

Bill M gravatar image

Well, I re-downloaded and re-installed, [ based on the sound Alice-in-Wonderland principle that anything I can do the same way three times ... must be true ] and waited patiently, and ... it now all seems to work!

So, unfortunately I cannot claim to have augmented the field of useful installation knowledge to any great extent. But, as they have told me in a previous life in Samoa: "thank you, all, for your patience".

-Bill.

edit flag offensive delete link more

Comments

If you can move your OS to another drive, you might want to check for bad blocks on your current one. "sudo badblocks -wst random /dev/sd_"

ccanonc gravatar imageccanonc ( 2010-10-31 00:54:45 +0200 )edit

The above command is DESTRUCTIVE, so use with care....backup first.

ccanonc gravatar imageccanonc ( 2010-10-31 00:55:19 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2010-10-30 20:42:46 +0200

Seen: 889 times

Last updated: Oct 30 '10