On Aug 29, 2011, at 11:06 PM, Questor wrote: > The app was installed by the only local user and one that only needs > to test it. > The real users are remote through AD so vary. > We're dealing with over a couple of hundred machines and users. > Running as root or setting it to the current user isn't an option and > making > folders and files on the local hard drive generally writable isn't > desirable.
Okay, that makes sense. > I changed the current location file but still got > > Last login: Mon Aug 29 16:47:32 on ttys001 > '/Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/sage/'/ > sage --notebook > % '/Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/ > sage/'/sage --notebook > ---------------------------------------------------------------------- > | Sage Version 4.7.1, Release Date: 2011-08-11 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > > Please wait while the Sage Notebook server starts... > Traceback (most recent call last): > File "/Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/ > sage//local/bin/sage-notebook", line 9, in <module> > from sage.server.notebook.all import notebook > File "/Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/ > sage/local/lib/python2.6/site-packages/sage/server/notebook/all.py", > line 22, in <module> > from sagenb.notebook.all import * > File "/Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/ > sage/devel/sagenb/sagenb/notebook/all.py", line 16, in <module> > from notebook_object import notebook, inotebook > File "/Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/ > sage/devel/sagenb/sagenb/notebook/notebook_object.py", line 17, in > <module> > import notebook as _notebook > File "/Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/ > sage/devel/sagenb/sagenb/notebook/notebook.py", line 30, in <module> > import cPickle > ImportError: dlopen(/Applications/Sage-4.7.1-OSX-64bit-10.6.app/ > Contents/Resources/sage/local/lib/python2.6/lib-dynload/cPickle.so, > 2): Symbol not found: _PyUnicodeUCS4_AsUTF8String > Referenced from: /Applications/Sage-4.7.1-OSX-64bit-10.6.app/ > Contents/Resources/sage/local/lib/python2.6/lib-dynload/cPickle.so > Expected in: flat namespace > in /Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/ > sage/local/lib/python2.6/lib-dynload/cPickle.so I was afraid of that. It seems that this has nothing to do with the Mac app per se, so I'm afraid I'm out of my area of expertise. Maybe someone else knows better, but have you tried building it yourself? That seems to be the usual response if the binaries don't work. It's not that hard (it just takes a while) and there are instructions for building the app in the README as well. Do you have anything "weird" installed like Fink or MacPorts or some non-standard python or something that might be messing things up? -Ivan -- 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
