Hi,

It seems you have a permission problem. Please try running:

$ sudo chown <your-username>:users ~/sage/sage-4.5.2 -R
$ chmod ug+rwX ~/sage/sage-4.5.2 -R

And see if that fixes things.

On Thu, Sep 9, 2010 at 2:43 PM, Enrico <enrico.manto...@gmail.com> wrote:
> Hi sage-devel, I'm having a problem with sagenb and it told me to post
> here.
> I'm running:
> Ubuntu 10.04LTS on
> hp DualCore6300 w/ 2Gb RAM
> sage-4.5.2 binary install in my home with
> $SAGE_ROOT:$SAGE_ROOT/local/bin added to my path in .bash_profile
> in /usr/local/bin there's also a copy of sage file with 4th line
> edited
> SAGE_ROOT="/home/me/sage/sage-4.5.2"
> ===========================/
> $sage -n
> Please wait while the Sage Notebook server starts...
> File ...
> ImportError: No module named sage.server.notebook.all
> =====================================================
> Last time I took a punt on
> $sage -i sagenb
> and it rebuilt the notebook and it worked again.
> ===============
> $sage -i sagenb
> Extracting package from /home/me....
> -rw-r--r--  ... spkg/standard/sagenb-0.8.2.spkg
> tar: This does not look like a tar archive...
>
> so then I think it goes looking on the internet and finds sagenb-0.8.2
> and rebuilds the whole thing.
>
> But now I've got a whole lot of permission denied errors on the
> rebuild this time and
> sage: An error occurred while installing sagenb-0.8.2
> Please email sage-devel
> ========================
> excerpt of log follows
> ===============
> tar: Exiting with failure status due to previous errors
> Finished extraction
> sage: After decompressing the directory sagenb does not exist
> This means that the corresponding .spkg needs to be downloaded
> again.
> Searching for latest version of sagenb
> Found package sagenb-0.8.2
> http://www.sagemath.org//packages/optional/sagenb-0.8.2.spkg -->
> sagenb-0.8.2.spkg
> [ ]
> http://www.sagemath.org//packages/standard/sagenb-0.8.2.spkg -->
> sagenb-0.8.2.spkg
> [..................................................]
> /home/bee/sage/sage-4.5.2/spkg/build
> tar: Record size = 8 blocks
> sagenb-0.8.2/
> sagenb-0.8.2/src/
> sagenb-0.8.2/src/sagenb/
> ========================
> ...
> downloading...
> copying...
> =======
> changing mode of build/bdist.linux-i686/egg/EGG-INFO/scripts/jmol to
> 755
> changing mode of build/bdist.linux-i686/egg/EGG-INFO/scripts/sage3d to
> 755
> copying sagenb.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-
> INFO
> copying sagenb.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-
> INFO
> copying sagenb.egg-info/dependency_links.txt -> build/bdist.linux-i686/
> egg/EGG-INFO
> copying sagenb.egg-info/requires.txt -> build/bdist.linux-i686/egg/EGG-
> INFO
> copying sagenb.egg-info/top_level.txt -> build/bdist.linux-i686/egg/
> EGG-INFO
> zip_safe flag not set; analyzing archive contents...
> sagenb.misc.sageinspect: module MAY be using inspect.getabsfile
> creating dist
> creating 'dist/sagenb-0.8.2-py2.6.egg' and adding 'build/bdist.linux-
> i686/egg' to it
> removing 'build/bdist.linux-i686/egg' (and everything under it)
> Processing sagenb-0.8.2-py2.6.egg
> removing '/home/bee/sage/sage-4.5.2/local/lib/python2.6/site-packages/
> sagenb-0.8.2-py2.6.egg' (and everything under it)
> error removing /home/bee/sage/sage-4.5.2/local/lib/python2.6/site-
> packages/sagenb-0.8.2-py2.6.egg: /home/bee/sage/sage-4.5.2/local/lib/
> python2.6/site-packages/sagenb-0.8.2-py2.6.egg/EGG-INFO/PKG-INFO:
> Permission denied
> ...
> Permission denied...
> error removing...
> error removing /home/bee/sage/sage-4.5.2/local/lib/python2.6/site-
> packages/sagenb-0.8.2-py2.6.egg: /home/bee/sage/sage-4.5.2/local/lib/
> python2.6/site-packages/sagenb-0.8.2-py2.6.egg: Directory not empty
> Extracting sagenb-0.8.2-py2.6.egg to /home/bee/sage/sage-4.5.2/local/
> lib/python2.6/site-packages
> error: /home/bee/sage/sage-4.5.2/local/lib/python2.6/site-packages/
> sagenb-0.8.2-py2.6.egg/EGG-INFO/PKG-INFO: Permission denied
>
> real    0m22.212s
> user    0m7.724s
> sys     0m2.088s
>
> --
> 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
>



-- 
Tim Joseph Dumol <tim (at) timdumol (dot) com>
http://timdumol.com

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