Re: [sage-support] SageMath 8.5 Crash Report

2018-12-29 Thread Dima Pasechnik
On Sun, Dec 30, 2018 at 4:02 AM 'Justin C. Walker' via sage-support
 wrote:
>
>
>
> > On Dec 29, 2018, at 11:04 , Adam O Hausknecht  
> > wrote:
> >
> > Hi,
> >
> > I have attempted to install SageMath 8.5 on a 15" 3.1 GHz Intel Core i7 
> > 16GB 2017 MacBook Pro running Mac OS 10.14.2
> >
> >   • First the App version via DMG. This caused my MacBook Pro to 
> > restart while attempting to open the .DMG
> >   • Second via the Terminal version via .tar.bz2. This generated the 
> > arched crash log when attempting to launch via the Terminal
>
> I have roughly the same system as you, with 10.14.2.  I have successfully 
> installed the 8.5 “.app” from the DMG without issue (although I can’t seem to 
> start sage in a terminal window).
>
> I have yet to install from the tarball, but it sounds like you unpacked the 
> tarball and then tried to run “./sage”.  Is that correct?  If so, that does 
> not work, because the tarball contains only source.  To use it, you have to 
> first build it, which, AFAIR, takes about 1-2 hours if you include testing.  
> It also requires you to have the Xcode command-line tools installed.

The tarball 
http://files.sagemath.org/osx/intel/sage-8.5-OSX_10.14.2-x86_64.tar.bz2
does contain binaries, it's just the non-hispter way to package
binaries in this case ;-)

Our source tarballs are not marked with OSs and their versions.

>
> If you are not up for building from scratch, there should be a .dmg of a 
> pre-built 8.5 version for 10.14 at the same place you got the .app version.  
> That may work better for you.
>
> If some of that is unclear, or you want more pointers/info, reply back.  
> There is also information available on the sagemath website.
>
> HTH
>
> Justin
>
> --
> Justin C. Walker, Curmudgeon-At-Large
> Institute for the Absorption of Federal Funds
> 
> If you're not confused,
> You're not paying attention
> 
>
>
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at https://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] SageMath 8.5 Crash Report

2018-12-29 Thread 'Justin C. Walker' via sage-support



> On Dec 29, 2018, at 11:04 , Adam O Hausknecht  wrote:
> 
> Hi,
> 
> I have attempted to install SageMath 8.5 on a 15" 3.1 GHz Intel Core i7 16GB 
> 2017 MacBook Pro running Mac OS 10.14.2
> 
>   • First the App version via DMG. This caused my MacBook Pro to restart 
> while attempting to open the .DMG
>   • Second via the Terminal version via .tar.bz2. This generated the 
> arched crash log when attempting to launch via the Terminal

I have roughly the same system as you, with 10.14.2.  I have successfully 
installed the 8.5 “.app” from the DMG without issue (although I can’t seem to 
start sage in a terminal window).  

I have yet to install from the tarball, but it sounds like you unpacked the 
tarball and then tried to run “./sage”.  Is that correct?  If so, that does not 
work, because the tarball contains only source.  To use it, you have to first 
build it, which, AFAIR, takes about 1-2 hours if you include testing.  It also 
requires you to have the Xcode command-line tools installed.

If you are not up for building from scratch, there should be a .dmg of a 
pre-built 8.5 version for 10.14 at the same place you got the .app version.  
That may work better for you.

If some of that is unclear, or you want more pointers/info, reply back.  There 
is also information available on the sagemath website.

HTH

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Absorption of Federal Funds

If you're not confused,
You're not paying attention




-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] SageMath 8.5 Crash Report

2018-12-29 Thread Adam O Hausknecht
Hi,


I have attempted to install SageMath 8.5 on a 15" 3.1 GHz Intel Core i7 16GB 
2017 MacBook Pro running Mac OS 10.14.2


  1.  First the App version via DMG. This caused my MacBook Pro to restart 
while attempting to open the .DMG
  2.  Second via the Terminal version via .tar.bz2. This generated the arched 
crash log when attempting to launch via the Terminal



Regards,


Adam Hausknecht


Prof. Adam O. Hausknecht

Department of Mathematics

UMass Dartmouth

285 Old Westport Road, North Dartmouth 02747

ahauskne...@umassd.edu

508-999-8322

LARTS 394B

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.
***

IPython post-mortem report

{'commit_hash': u'033ab93c7',
 'commit_source': 'installation',
 'default_encoding': 'UTF-8',
 'ipython_path': 
'/Users/ahausknecht/SageMath/local/lib/python2.7/site-packages/IPython',
 'ipython_version': '5.8.0',
 'os_name': 'posix',
 'platform': 'Darwin-18.2.0-x86_64-64bit',
 'sys_executable': '/Users/ahausknecht/SageMath/local/bin/python2',
 'sys_platform': 'darwin',
 'sys_version': '2.7.15 (default, Dec 25 2018, 12:25:38) \n[GCC 4.2.1 
Compatible Apple LLVM 10.0.0 (clang-1000.11.45.5)]'}

***



***

Crash traceback:

---
---
RuntimeError   Python 2.7.15: /Users/ahausknecht/SageMath/local/bin/python2
   Sat Dec 29 13:34:26 2018
A problem occurred executing Python code.  Here is the sequence of function
calls leading up to the error, with the most recent (innermost) call last.
/Users/ahausknecht/SageMath/src/bin/sage-ipython in ()
  1 #!/usr/bin/env sage-python23
  2 # -*- coding: utf-8 -*-
  3 """
  4 Sage IPython startup script.
  5 """
  6 
  7 # Display startup banner. Do this before anything else to give the user
  8 # early feedback that Sage is starting.
  9 from sage.misc.banner import banner
 10 banner()
 11 
 12 from sage.repl.interpreter import SageTerminalApp
 13 
 14 app = SageTerminalApp.instance()
---> 15 app.initialize()
global app.initialize = >
 16 app.start()

 in initialize(self=, argv=None)

/Users/ahausknecht/SageMath/local/lib/python2.7/site-packages/traitlets/config/application.py
 in catch_config_error(method=, 
app=, *args=(None,), **kwargs={})
 72 TRAITLETS_APPLICATION_RAISE_CONFIG_FILE_ERROR = False
 73 else:
 74 raise ValueError("Unsupported value for environment variable: 
'TRAITLETS_APPLICATION_RAISE_CONFIG_FILE_ERROR' is set to '%s' which is none of 
 {'0', '1', 'false', 'true', ''}."% _envvar )
 75 
 76 
 77 @decorator
 78 def catch_config_error(method, app, *args, **kwargs):
 79 """Method decorator for catching invalid config 
(Trait/ArgumentErrors) during init.
 80 
 81 On a TraitError (generally caused by bad config), this will print 
the trait's
 82 message, and exit the app.
 83 
 84 For use on init methods, to prevent invoking excepthook on invalid 
input.
 85 """
 86 try:
---> 87 return method(app, *args, **kwargs)
method = 
app = 
args = (None,)
kwargs = {}
 88 except (TraitError, ArgumentError) as e:
 89 app.print_help()
 90 app.log.fatal("Bad config encountered during initialization:")
 91 app.log.fatal(str(e))
 92 app.log.debug("Config at the time: %s", app.config)
 93 app.exit(1)
 94 
 95 
 96 class ApplicationError(Exception):
 97 pass
 98 
 99 
100 class LevelFormatter(logging.Formatter):
101 """Formatter with additional `highlevel` record
102 

/Users/ahausknecht/SageMath/local/lib/python2.7/site-packages/IPython/terminal/ipapp.py
 in initialize(self=, argv=None)
301 
302 return super(TerminalIPythonApp, self).parse_command_line(argv)
303 
304 @catch_config_error
305 def initialize(self, argv=None):
306 """Do actions after construct, but before starting the app."""
307 super(TerminalIPythonApp, self).initialize(argv)
308 if self.subapp is not None:
309 # don't bother initializing further, starting subapp
310 return
311 # print