[sage-support] logged out
Oh heck. I used my local Sage "server" yesterday, and (thinking nothing of it) signed out before shutting it down; and now it wants me to sign in. I don't remember ever signing in before, and have no idea what it thinks my username is! -- *\\* Anton Sherwood *\\* www.bendwavy.org -- 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] Re: Sage Crash Report
leif wrote: > Fabio Di Cosmo wrote: >> IPython post-mortem report >> >> {'commit_hash': u'b630b41', >> 'commit_source': 'installation', >> 'default_encoding': 'UTF-8', >> 'ipython_path': >> '/usr/lib/sagemath/local/lib/python2.7/site-packages/IPython', >> 'ipython_version': '4.2.1', >> 'os_name': 'posix', >> 'platform': 'Linux-4.4.0-36-generic-x86_64-with-debian-stretch-sid', >> 'sys_executable': '/usr/lib/sagemath/local/bin/python', >> 'sys_platform': 'linux2', >> 'sys_version': '2.7.10 (default, Aug 6 2016, 15:34:26) \n[GCC 4.8.4]'} >> >> *** >> >> >> >> 107 # This must come before Calculus -- it initializes the Pynac >> library. >> --> 108 import sage.symbolic.pynac >> global sage.symbolic.pynac = undefined >> >> ImportError: >> /usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/pynac.so: >> >> undefined symbol: >> _ZN5GiNaC8constantC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPFNS_2exEjP7_objectERKS6_j >> >> *** > > GiNaC::constant::constant(std::__cxx11::basic_string std::char_traits, std::allocator >, GiNaC::ex (*)(unsigned > int, _object*), std::__cxx11::basic_string, > std::allocator > const&, unsigned int) > > > Looks like you downloaded the wrong binary for your distro; your > standard C++ library apparently doesn't have a dual ABI. ... or the latter rather the other way around: It seems your Sage was originally built with / for an older Debian version (presumably Wheezy / 7.x, with GCC 4.8), while (parts of) the Sage library now got rebuilt with a newer compiler version, GCC 5.x or 6.x, which by default use a different C++ ABI than earlier versions, such that some of the rebuilt parts are now incompatible to those built with the older compiler. So you'd either have to download the appropriate binary distribution of Sage for your system/distro, or rebuild Sage with the native compiler. It *might* be sufficient to just run ./sage -f pynac && make but you may run into further similar errors later as well. -leif -- 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] Re: win 10, virtualbox 5.1.4, sage 7.3
You might want to consider just installing a linux virtual machine and building sage from source there. It's a little bit more work than importing an ova, but longterm it's more usable. The linux OS + built sage should fit in 10GBytes, so you can in principle have several versions On Thursday, September 8, 2016 at 11:19:33 AM UTC-7, Temperus Tempus wrote: > > Hello, > > I´ve installed virtualbox 5.1.4 on win10 system and imported sage 7.3.ova. > When I try to start sage with the green arrow at virtual box it comes > until the sage promt, where I have to login. > When I login with sage, pw: sage, I get: Last login: ..." and prompt. > The notebook didn´t start automatically. > So I try to start it with "./ notebook-browser (as I found out with ls > command). > But I only get: (chromium-browser:1622): Gtk-WARNING **: cannot open > display: > What´s the problem? Couldn´t find any help in the net. > > Thanks in advance. > > -- 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] Re: Sage Crash Report
Fabio Di Cosmo wrote: > IPython post-mortem report > > {'commit_hash': u'b630b41', > 'commit_source': 'installation', > 'default_encoding': 'UTF-8', > 'ipython_path': > '/usr/lib/sagemath/local/lib/python2.7/site-packages/IPython', > 'ipython_version': '4.2.1', > 'os_name': 'posix', > 'platform': 'Linux-4.4.0-36-generic-x86_64-with-debian-stretch-sid', > 'sys_executable': '/usr/lib/sagemath/local/bin/python', > 'sys_platform': 'linux2', > 'sys_version': '2.7.10 (default, Aug 6 2016, 15:34:26) \n[GCC 4.8.4]'} > > *** > > > > 107 # This must come before Calculus -- it initializes the Pynac > library. > --> 108 import sage.symbolic.pynac > global sage.symbolic.pynac = undefined > > ImportError: > /usr/lib/sagemath/local/lib/python2.7/site-packages/sage/symbolic/pynac.so: > > undefined symbol: > _ZN5GiNaC8constantC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPFNS_2exEjP7_objectERKS6_j > > *** GiNaC::constant::constant(std::__cxx11::basic_string, std::allocator >, GiNaC::ex (*)(unsigned int, _object*), std::__cxx11::basic_string, std::allocator > const&, unsigned int) Looks like you downloaded the wrong binary for your distro; your standard C++ library apparently doesn't have a dual ABI. -leif -- 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] Sage Crash Report
IPython post-mortem report {'commit_hash': u'b630b41', 'commit_source': 'installation', 'default_encoding': 'UTF-8', 'ipython_path': '/usr/lib/sagemath/local/lib/python2.7/site-packages/IPython', 'ipython_version': '4.2.1', 'os_name': 'posix', 'platform': 'Linux-4.4.0-36-generic-x86_64-with-debian-stretch-sid', 'sys_executable': '/usr/lib/sagemath/local/bin/python', 'sys_platform': 'linux2', 'sys_version': '2.7.10 (default, Aug 6 2016, 15:34:26) \n[GCC 4.8.4]'} *** *** Crash traceback: --- --- ImportError Python 2.7.10: /usr/lib/sagemath/local/bin/python Sun Sep 11 16:44:30 2016 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. /usr/lib/sagemath/src/bin/sage-ipython in () 1 #!/usr/bin/env python 2 # -*- coding: utf-8 -*- 3 """ 4 Sage IPython startup script. 5 """ 6 7 # Install extra readline commands before IPython initialization 8 from sage.repl.readline_extra_commands import * 9 10 from sage.repl.interpreter import SageTerminalApp 11 12 app = SageTerminalApp.instance() ---> 13 app.initialize() global app.initialize = > 14 app.start() in initialize(self=, argv=None) /usr/lib/sagemath/local/lib/python2.7/site-packages/traitlets/config/application.pyc in catch_config_error(method=, app=, *args=(None,), **kwargs={}) 59 60 #- 61 # Application class 62 #- 63 64 @decorator 65 def catch_config_error(method, app, *args, **kwargs): 66 """Method decorator for catching invalid config (Trait/ArgumentErrors) during init. 67 68 On a TraitError (generally caused by bad config), this will print the trait's 69 message, and exit the app. 70 71 For use on init methods, to prevent invoking excepthook on invalid input. 72 """ 73 try: ---> 74 return method(app, *args, **kwargs) method = app = args = (None,) kwargs = {} 75 except (TraitError, ArgumentError) as e: 76 app.print_help() 77 app.log.fatal("Bad config encountered during initialization:") 78 app.log.fatal(str(e)) 79 app.log.debug("Config at the time: %s", app.config) 80 app.exit(1) 81 82 83 class ApplicationError(Exception): 84 pass 85 86 87 class LevelFormatter(logging.Formatter): 88 """Formatter with additional `highlevel` record 89 /usr/lib/sagemath/local/lib/python2.7/site-packages/IPython/terminal/ipapp.pyc in initialize(self=, argv=None) 290 291 return super(TerminalIPythonApp, self).parse_command_line(argv) 292 293 @catch_config_error 294 def initialize(self, argv=None): 295 """Do actions after construct, but before starting the app.""" 296 super(TerminalIPythonApp, self).initialize(argv) 297 if self.subapp is not None: 298 # don't bother initializing further, starting subapp 299 return 300 # print self.extra_args 301 if self.extra_args and not self.something_to_run: 302 self.file_to_run = self.extra_args[0] 303 self.init_path() 304 # create the shell --> 305 self.init_shell() self.init_shell = > 306 # and draw the banner 307 self.init_banner() 308 # Now a variety of things that happen after the banner is printed. 309 self.init_gui_pylab() 310 self.init_extensions() 311 self.init_code() 312 313 def init_shell(self): 314 """initialize the InteractiveShell instance""" 315 # Create an InteractiveShell instance. 316 # shell.display_banner should always be False for the terminal 317 # based app, because we call shell.show_banner() by hand below 318 # so the banner shows *before* all extension loading stuff. 319 self.shell = TerminalInteractiveShell.instance(parent=self, 320 display_banner=False, profile_dir=self.profile_dir, /usr/lib/sagemath/local/lib/python2.7/site-packages/sage/repl/interpreter.pyc in init_shell(self=) 783 self.shell.has_sage_extensions = SAGE_EXTENSION in