On Tue, Nov 3, 2009 at 10:41 AM, davedo2 <[email protected]> wrote:
>
> Marshall,
>
> It's a bit lengthy, but here goes:
> ~~~~~~~~~~~~~~~~~~~~~~
> sage: pari(7).isprime()
> ---------------------------------------------------------------------------
> IOError Traceback (most recent call
> last)
>
> /home/mdobbs/sage-4.2/local/lib/python2.6/site-packages/IPython/
> iplib.pyc in raw_input(self, prompt, continue_prompt)
> 2185 # only entries starting at first column go to
> shadow history
> 2186 if line.lstrip() == line:
> -> 2187 self.shadowhist.add(line.strip())
> 2188 elif not continue_prompt:
> 2189 self.input_hist_raw.append('\n')
>
> /home/mdobbs/sage-4.2/local/lib/python2.6/site-packages/IPython/
> history.pyc in add(self, ent)
> 235 newidx = self.inc_idx()
> 236 #print "new",newidx # dbg
> --> 237 self.db.hset('shadowhist',ent, newidx)
> 238
> 239 def all(self):
>
> /home/mdobbs/sage-4.2/local/lib/python2.6/site-packages/IPython/
> Extensions/pickleshare.pyc in hset(self, hashroot, key, value)
> 99 d = self.get(hfile, {})
> 100 d.update( {key : value})
> --> 101 self[hfile] = d
> 102
> 103
>
> /home/mdobbs/sage-4.2/local/lib/python2.6/site-packages/IPython/
> Extensions/pickleshare.pyc in __setitem__(self, key, value)
> 84 if parent and not parent.isdir():
> 85 parent.makedirs()
> ---> 86 pickled = pickle.dump(value,fil.open('w'))
> 87 try:
> 88 self.cache[fil] = (value,fil.mtime)
>
> /home/mdobbs/sage-4.2/local/lib/python2.6/site-packages/IPython/
> external/path.pyc in open(self, mode)
> 521 def open(self, mode='r'):
> 522 """ Open this file. Return a file object. """
> --> 523 return file(self, mode)
> 524
> 525 def bytes(self):
>
> IOError: [Errno 13] Permission denied: path('/home/mdobbs/.sage/
> ipython/db/shadowhist/39')
> ~~~~~~~~~~~~~~~~
> I had run -testall and that came back fairly clean except for this:
> ~~~~~~~~~~~~~~~~
> The following tests failed:
> sage -t "devel/sage/sage/modules/vector_real_double_dense.pyx"
> Total time for all tests: 4311.3 seconds
> ~~~~~~~~~~~~~~~~
> N.B. - as per previous advice, I was running the binary for Ubuntu
> 9.04 under Ubuntu 9.10
>
> Thanks in advance for any advice...Dave
Given the error message "IOError: [Errno 13] Permission denied:
path('/home/mdobbs/.sage/
ipython/db/shadowhist/39')" I recommend fixing your file permissions.
You probably ran sage once as root or something funny. Do something
like this:
chown a+rwx -R mdobbs. /home/mdobbs/.sage
William
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---