#12161: Make Sage App on Mac work right all the time on OS X Lion
----------------------------+-----------------------------------------------
   Reporter:  kcrisman      |          Owner:  tbd     
       Type:  defect        |         Status:  new     
   Priority:  major         |      Milestone:  sage-4.8
  Component:  distribution  |       Keywords:          
Work_issues:                |       Upstream:  N/A     
   Reviewer:                |         Author:          
     Merged:                |   Dependencies:          
----------------------------+-----------------------------------------------
Description changed by kcrisman:

Old description:

> [http://ask.sagemath.org/question/740/app-installation-problem-on-mac-
> os-x-lion This ask.sagemath.org question] has no fewer than eight users
> who have had trouble using the Mac app bundle from Snow Leopard on Lion.
>
> Most of the errors seem to look like
> {{{
> $ '/Applications/Sage-4.7.1-OSX-
> 64bit-10.6.app/Contents/Resources/sage/'/sage --notebook
> Traceback (most recent call last):
>   File "/Applications/Sage-4.7.1-OSX-
> 64bit-10.6.app/Contents/Resources/sage//local/bin/sage-notebook", line 3,
> in <module>
>     import os, sys, socket
>   File "/Applications/Sage-4.7.1-OSX-
> 64bit-10.6.app/Contents/Resources/sage/local/lib/python/socket.py", line
> 46, in <module>
>     import _socket
> ImportError: No module named _socket
> }}}
> when the app is started.  Then we told people to try
> {{{
> /Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/sage/sage
> }}}
> or the equivalent, and that pretty much uniformly led to an IPython
> import error.
>
> However, nearly everyone was able to solve the problem by one of
>  * Installing the new Xcode
>  * Installing IPython
>  * Upgrading the system Python
>
> Note that '''none''' of these things should have anything to do with Sage
> running from the app!
>
> Anyway, it seems to all be the same or very similar problems, so I'm
> making this a ticket.

New description:

 [http://ask.sagemath.org/question/740/app-installation-problem-on-mac-
 os-x-lion This ask.sagemath.org question] has no fewer than eight users
 who have had trouble using the Mac app bundle from Snow Leopard on Lion.

 Most of the errors seem to look like
 {{{
 $ '/Applications/Sage-4.7.1-OSX-
 64bit-10.6.app/Contents/Resources/sage/'/sage --notebook
 Traceback (most recent call last):
   File "/Applications/Sage-4.7.1-OSX-
 64bit-10.6.app/Contents/Resources/sage//local/bin/sage-notebook", line 3,
 in <module>
     import os, sys, socket
   File "/Applications/Sage-4.7.1-OSX-
 64bit-10.6.app/Contents/Resources/sage/local/lib/python/socket.py", line
 46, in <module>
     import _socket
 ImportError: No module named _socket
 }}}
 when the app is started.  Then we told people to try
 {{{
 /Applications/Sage-4.7.1-OSX-64bit-10.6.app/Contents/Resources/sage/sage
 }}}
 or the equivalent, and that pretty much uniformly led to an IPython import
 error.

 However, nearly everyone was able to solve the problem by one of
  * Installing the new Xcode
  * Installing IPython
  * Upgrading the system Python

 Note that '''none''' of these things should have anything to do with Sage
 running from the app!

 Anyway, it seems to all be the same or very similar problems, so I'm
 making this a ticket.    I wouldn't be surprised if it was a deployment
 target thing, even.

 Possible solutions that would close this:
  * Getting the app bundle to build right on Lion with Xcode 4 and
 distributing that
  * Getting the Xcode 3/Snow Leopard one to work right on Lion

 Home base is #11881; we probably shouldn't release a Sage 5.0 that doesn't
 have a working app bundle on Lion.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12161#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
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-trac?hl=en.

Reply via email to