I have a build of Sage at school that I occasionally update when a bug or upgrade affects me. I'm the only one who uses it, but it's installed in a public location (i.e. not writable by me) in case someone else *might* use it. And because I don't have enough disk space in my personal quota. :-)
So I went through the motions again: download, build, test, notify the sysadmin that a new build is ready to be copied over. But this time we're having trouble with Sage fixing the install paths. There are multiple levels of symbolic links in the path, and some components (e.g. Zope) are picking up the absolute path (w/o symlinks), while others are picking up the cd'ed path where "./sage" is being run (w/ symlinks). The symptom is that we get /share/apps/contrib/sage-4.5.2/local/lib/python2.6/site-packages/sage/ misc/misc.py in branch_current_hg() 1877 i = s.rfind('->') 1878 if i == -1: -> 1879 raise RuntimeError, "unable to determine branch?!" 1880 s = s[i+2:] 1881 i = s.find('-') RuntimeError: unable to determine branch?! Error importing ipy_profile_sage - perhaps you should run %upgrade? WARNING: Loading of ipy_profile_sage failed. while Sage is trying to fix the paths (next output after the "Do not interrupt this" message). Any suggestions? Thanks! --- Ryan Hinton rw...@virginia.edu -- 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