A random student with OS X 10.6.4 with a 2.4 GHz Intel Core 2 Duo came
into my laptop, and when I tried to install the sage-4.8-64bit-10.6
app binary [1], it fails with "Symbol not found:
_PyUnicodeUCS4_AsUTF8String". This is I think the same error message
I saw on numerous laptops when I was at the Joint Math Meetings.
I've pasted the message below. The binary I had made [2] myself on
bsd.math.washington.edu works fine.
[1] http://boxen.math.washington.edu/sage/osx/intel/sage-4.8-OSX-64bit-10.6-x86_64-Darwin-app.dmg
[2] http://wstein.org/home/wstein/tmp/sage-4.7.3.alpha1-x86_64-Darwin.dmg
-- William
---------- Forwarded message ----------
Date: Thu, Feb 2, 2012 at 1:12 PM
Subject: error message
To: William Stein <wst...@gmail.com>
Last login: Wed Feb 1 19:43:38 on console
'/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage'/sage
--notebook
d-173-250-203-199:~ MikeKyllo$
'/Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage'/sage
--notebook
----------------------------------------------------------------------
| Sage Version 4.8, Release Date: 2012-01-20 |
| 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.8-OSX-64bit-10.6.app/Contents/Resources/sage/local/bin/sage-notebook",
line 9, in <module>
from sage.server.notebook.all import notebook
File "/Users/buildbot/build/sage/bsd-1/bsd_64_binary/build/sage-4.8/local/lib/python2.6/site-packages/sage/server/notebook/all.py",
line 22, in <module>
File "/Users/buildbot/build/sage/bsd-1/bsd_64_binary/build/sage-4.8/devel/sagenb/sagenb/notebook/all.py",
line 16, in <module>
File "/Users/buildbot/build/sage/bsd-1/bsd_64_binary/build/sage-4.8/devel/sagenb/sagenb/notebook/notebook_object.py",
line 17, in <module>
File "/Users/buildbot/build/sage/bsd-1/bsd_64_binary/build/sage-4.8/devel/sagenb/sagenb/notebook/notebook.py",
line 30, in <module>
ImportError: dlopen(/Applications/Sage-4.8-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.8-OSX-64bit-10.6.app/Contents/Resources/sage/local/lib/python2.6/lib-dynload/cPickle.so
Expected in: flat namespace
in /Applications/Sage-4.8-OSX-64bit-10.6.app/Contents/Resources/sage/local/lib/python2.6/lib-dynload/cPickle.so
d-173-250-203-199:~ MikeKyllo$
--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org
Francois
Very interesting!! In fact, every single case of this bug that I've
seen (and there have been at least three) was on a system in which
Sage had never successfully been run before, ever. This is, of
course, exactly the sort of user that we do not want to alienate with
our binaries. For all I know, that are hundreds of such people now
who have hit this (I sure hope not, but I am not optimistic).
-- William
>
>
> Cheers,
> Georg
>
> --
> To post to this group, send an email to sage-...@googlegroups.com
> To unsubscribe from this group, send an email to sage-devel+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
-Ivan
I just got yet another (almost daily now) bug report about our OS X
binaries being complete crap. This time from a Fields Medalist! So
why don't we deal with this?
The traceback he sent me is exactly the same as the one that started
this thread. This is really stupid.
-- William
--
Has anyone tried the work around I mentioned below?
-Ivan
Hi,I just got yet another (almost daily now) bug report about our OS X
binaries being complete crap. This time from a Fields Medalist! So
why don't we deal with this?The traceback he sent me is exactly the same as the one that started
this thread. This is really stupid.
-- William
Do you, by chance, mean http://trac.sagemath.org/sage_trac/ticket/12161
#11881 is a huge ticket with lots of patches.
Thanks,
Jason
Yes, I've never replicated this on any of my own computers either. It
just happens on important people around me at the worst moment.
Really annoying.
> On 2/7/12 4:28 PM, Ivan Andrus wrote:
>> I'm fairly certain #11881 (which still needs review) will solve the problem. At least the most common problem.
>
> Do you, by chance, mean http://trac.sagemath.org/sage_trac/ticket/12161
>
> #11881 is a huge ticket with lots of patches.
>
> Thanks,
>
> Jason
Err, yes of course. Sorry for the confusion.
-Ivan
as a courtesy to the new users, one at least should put a big warning on the download page of this buggy download (*mirrorsname*/sage/osx/intel/index.html)And tell them to use the Terminal (i.e. non '-app' file) version for the time being.
It has come to our attention recently that on MacOSX computers, where
Sage has never been installed before, the `-app` version of Sage might
fail to start. We apologize for the inconvenience.
While we are working on a fix for this problem, please use the
non-`-app` version of Sage.
Something like this...
Dima
> greetings Harald
Something like this...
-Ivan
On Feb 10, 2012, at 1:17 AM, Michael E O'Sullivan wrote:
> Brilliant!
>
> I restarted terminal and
> MAC043:~ instructor$ /Applications/sage/sage
> ----------------------------------------------------------------------
> | Sage Version 4.8, Release Date: 2012-01-20 |
> | Type notebook() for the GUI, and license() for information. |
> ----------------------------------------------------------------------
> The Sage installation tree may have moved
> (from /Users/buildbot/build/sage/bsd-1/bsd_64_binary/build/sage-4.8 to /Applications/sage).
> Changing various hardcoded paths...
> (Please wait at most a few minutes.)
> DO NOT INTERRUPT THIS.
> Done resetting paths.
> Setting permissions of DOT_SAGE directory so only you can read and write it.
> sage: F.<a> = GF(16)
> sage: a^5
> a^2 + a
>
> Thank you!
>
> Mike
> Michael E O'Sullivan
> Professor of Mathematics
> San Diego State University
> mosu...@math.sdsu.edu
> 619 594-6697
>
>