Re: [sage-support] Sage Crash Report
On Thu, Apr 23, 2020 at 9:42 PM Jean-Florent Raymond wrote: > > Hello, > > Did you try to rebuild since the upgrade? > If you upgraded a package that sage needs, then sage might complain that > it cannot find the version it was used to. > > It seems to be the case with libntl according to the crash report you > attached: > ImportError: libntl.so.35: cannot open shared object file: No such file > or directory indeed, this is to be expected - an OS update updates libraries your application is built against, and so it needs to be re-linked. > > > > Le 23/04/2020 à 15:10, Soufiane Lakhlifi a écrit : > > Hello, > > > > Here is the report of a crash that happened while trying to lunch sage: > > > > -Operating system: Ubuntu 20.04 beta, upgraded from 19.10. > > -Sage (8.9) was build from the source under Ubuntu 19.10 and by following > > the instructions in this page > > http://doc.sagemath.org/html/en/installation/source.html. > > No special flags were used except to change the build directory. > > -The crash happened by lunching sage (with no arguments) from the terminal, > > it is worth noting that the crash happened just after I upgraded my Ubuntu > > from > > 19.10 to 20.10. > > > > Best regards, > > Soufiane Lakhlifi. > > Zone contenant les pièces jointes > > > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/sage-support/31ae06a6-0ace-d577-6d46-ce5e16ca7073%40uca.fr. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAWYfq1tie20oSyrJXs3ddSzVfRE-UvaDg7TKWci8CX0ENL1Zg%40mail.gmail.com.
Re: [sage-support] Sage Crash Report
Hello, Did you try to rebuild since the upgrade? If you upgraded a package that sage needs, then sage might complain that it cannot find the version it was used to. It seems to be the case with libntl according to the crash report you attached: ImportError: libntl.so.35: cannot open shared object file: No such file or directory Le 23/04/2020 à 15:10, Soufiane Lakhlifi a écrit : > Hello, > > Here is the report of a crash that happened while trying to lunch sage: > > -Operating system: Ubuntu 20.04 beta, upgraded from 19.10. > -Sage (8.9) was build from the source under Ubuntu 19.10 and by following > the instructions in this page > http://doc.sagemath.org/html/en/installation/source.html. > No special flags were used except to change the build directory. > -The crash happened by lunching sage (with no arguments) from the terminal, > it is worth noting that the crash happened just after I upgraded my Ubuntu > from > 19.10 to 20.10. > > Best regards, > Soufiane Lakhlifi. > Zone contenant les pièces jointes > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/31ae06a6-0ace-d577-6d46-ce5e16ca7073%40uca.fr.
[sage-support] Sage Crash Report
Hello, Here is the report of a crash that happened while trying to lunch sage: -Operating system: Ubuntu 20.04 beta, upgraded from 19.10. -Sage (8.9) was build from the source under Ubuntu 19.10 and by following the instructions in this page http://doc.sagemath.org/html/en/installation/source.html. No special flags were used except to change the build directory. -The crash happened by lunching sage (with no arguments) from the terminal, it is worth noting that the crash happened just after I upgraded my Ubuntu from 19.10 to 20.10. Best regards, Soufiane Lakhlifi. Zone contenant les pièces jointes -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CAAMfxRDRJJCkX22cu8zpmXgBbW1VXSzCShbHYU3csELdqPZAyA%40mail.gmail.com. *** IPython post-mortem report {'commit_hash': '033ab93c7', 'commit_source': 'installation', 'default_encoding': 'UTF-8', 'ipython_path': '/home/soufiane/.SageMath/local/lib/python3.7/site-packages/IPython', 'ipython_version': '5.8.0', 'os_name': 'posix', 'platform': 'Linux-5.4.0-26-generic-x86_64-with-debian-bullseye-sid', 'sys_executable': '/home/soufiane/.SageMath/local/bin/python3', 'sys_platform': 'linux', 'sys_version': '3.7.3 (default, Oct 27 2019, 20:34:53) \n[GCC 9.2.1 20191008]'} *** *** Crash traceback: --- --- ImportErrorPython 3.7.3: /home/soufiane/.SageMath/local/bin/python3 Thu Apr 23 12:33:02 2020 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. /home/soufiane/.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) /home/soufiane/.SageMath/local/lib/python3.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 /home/soufiane/.SageMath/local/lib/python3.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 self.extra_args
Re: [sage-support] building docs with sphinx-1.8.5 fails with existing _static
On Apr 23, Jean-Florent Raymond wrote: Hello, A workaround is to run "make" after "make doc-clean". It worked for me. Thanks! I should've checked sage-devel as well. R. Source: https://groups.google.com/forum/?utm_medium=email_source=footer#!msg/sage-devel/RHMEHCTp_pU/12BWV897AgAJ Related: https://github.com/sphinx-doc/sphinx/issues/7407 Best regards, Jean-Florent. Le 23/04/2020 à 13:20, 'Reimundo Heluani' via sage-support a écrit : Hello, I posted this on ask.sagemath.org https://ask.sagemath.org/question/50925/building-docs-with-sphinx-185/ On my own git branch, after the last pull I hit this error on "sage --docbuild refernce html" even after a "make doc-clean". This looks like what's described in this ticket https://trac.sagemath.org/ticket/26451 but this is already applied in my branch The link _static on local/share/doc/sage/html/en/reference/references/_static points to a non-existing directory ../_static After a "make doc-clean" it gets erased but it is recreated on the run of "sage --docbuild" This is $ uname -a Linux rye 5.6.3-arch1-1 #1 SMP PREEMPT Wed, 08 Apr 2020 07:47:16 + x86_64 GNU/Linux on my own sage git which is very much up to date sage: version() 'SageMath version 9.1.beta8, Release Date: 2020-03-18' The log of the error is # Sphinx version: 1.8.5 # Python version: 3.7.3 (CPython) # Docutils version: 0.14 # Jinja2 version: 2.10 # Last messages: # linking _static directory. # copying extra files... # done # dumping search index in English (code: en) ... # done # dumping object inventory... # done # build succeeded, 1295 warnings. # # The HTML pages are in local/share/doc/sage/html/en/reference/references. # Loaded extensions: # sphinx.ext.mathjax (1.8.5) from /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/ext/mathjax.py # alabaster (0.7.12) from /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/alabaster/__init__.py # inventory_builder (unknown version) from /home/user/Documents/code/sage/sage/src/sage_setup/docbuild/ext/inventory_builder.py # multidocs (unknown version) from /home/user/Documents/code/sage/sage/src/sage_setup/docbuild/ext/multidocs.py # sage_autodoc (1.8.5) from /home/user/Documents/code/sage/sage/src/sage_setup/docbuild/ext/sage_autodoc.py # sphinx.ext.graphviz (1.8.5) from /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/ext/graphviz.py # sphinx.ext.inheritance_diagram (1.8.5) from /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/ext/inheritance_diagram.py # sphinx.ext.todo (1.8.5) from /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/ext/todo.py # sphinx.ext.extlinks (1.8.5) from /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/ext/extlinks.py # IPython.sphinxext.ipython_directive (unknown version) from /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/IPython/sphinxext/ipython_directive.py # matplotlib.sphinxext.plot_directive (unknown version) from /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/matplotlib/sphinxext/plot_directive.py Traceback (most recent call last): File "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/cmd/build.py", line 304, in build_main app.build(args.force_all, filenames) File "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/application.py", line 369, in build self.emit('build-finished', None) File "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/application.py", line 510, in emit return self.events.emit(event, self, *args) File "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/events.py", line 80, in emit results.append(callback(*args)) File "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/ext/graphviz.py", line 414, in on_build_finished copy_asset(src, dst) File "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/util/fileutil.py", line 81, in copy_asset ensuredir(destination) File "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/util/osutil.py", line 90, in ensuredir os.makedirs(path) File "/home/user/Documents/code/sage/sage/local/lib/python3.7/os.py", line 221, in makedirs mkdir(name, mode) FileExistsError: [Errno 17] File exists: '/home/user/Documents/code/sage/sage/local/share/doc/sage/html/en/reference/references/_static' I appreciate any help. Thanks, R. -- 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 view this discussion on the web visit
Re: [sage-support] building docs with sphinx-1.8.5 fails with existing _static
Hello, A workaround is to run "make" after "make doc-clean". It worked for me. Source: https://groups.google.com/forum/?utm_medium=email_source=footer#!msg/sage-devel/RHMEHCTp_pU/12BWV897AgAJ Related: https://github.com/sphinx-doc/sphinx/issues/7407 Best regards, Jean-Florent. Le 23/04/2020 à 13:20, 'Reimundo Heluani' via sage-support a écrit : > > Hello, I posted this on ask.sagemath.org > > https://ask.sagemath.org/question/50925/building-docs-with-sphinx-185/ > > On my own git branch, after the last pull I hit this error on "sage > --docbuild refernce html" even after a "make doc-clean". > > This looks like what's described in this ticket > https://trac.sagemath.org/ticket/26451 but this is already applied in my > branch > > The link _static on > local/share/doc/sage/html/en/reference/references/_static points to a > non-existing directory ../_static > > After a "make doc-clean" it gets erased but it is recreated on the run > of "sage --docbuild" > > This is $ uname -a > Linux rye 5.6.3-arch1-1 #1 SMP PREEMPT Wed, 08 Apr 2020 07:47:16 + > x86_64 GNU/Linux > > on my own sage git which is very much up to date > > sage: version() > 'SageMath version 9.1.beta8, Release Date: 2020-03-18' > > The log of the error is > > # Sphinx version: 1.8.5 > # Python version: 3.7.3 (CPython) > # Docutils version: 0.14 # Jinja2 version: 2.10 > # Last messages: > # linking _static directory. > # copying extra files... > # done > # dumping search index in English (code: en) ... > # done > # dumping object inventory... > # done > # build succeeded, 1295 warnings. > # # The HTML pages are in > local/share/doc/sage/html/en/reference/references. > # Loaded extensions: > # sphinx.ext.mathjax (1.8.5) from > /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/ext/mathjax.py > > # alabaster (0.7.12) from > /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/alabaster/__init__.py > > # inventory_builder (unknown version) from > /home/user/Documents/code/sage/sage/src/sage_setup/docbuild/ext/inventory_builder.py > > # multidocs (unknown version) from > /home/user/Documents/code/sage/sage/src/sage_setup/docbuild/ext/multidocs.py > > # sage_autodoc (1.8.5) from > /home/user/Documents/code/sage/sage/src/sage_setup/docbuild/ext/sage_autodoc.py > > # sphinx.ext.graphviz (1.8.5) from > /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/ext/graphviz.py > > # sphinx.ext.inheritance_diagram (1.8.5) from > /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/ext/inheritance_diagram.py > > # sphinx.ext.todo (1.8.5) from > /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/ext/todo.py > > # sphinx.ext.extlinks (1.8.5) from > /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/ext/extlinks.py > > # IPython.sphinxext.ipython_directive (unknown version) from > /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/IPython/sphinxext/ipython_directive.py > > # matplotlib.sphinxext.plot_directive (unknown version) from > /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/matplotlib/sphinxext/plot_directive.py > > Traceback (most recent call last): > File > "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/cmd/build.py", > line 304, in build_main > app.build(args.force_all, filenames) > File > "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/application.py", > line 369, in build > self.emit('build-finished', None) > File > "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/application.py", > line 510, in emit > return self.events.emit(event, self, *args) > File > "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/events.py", > line 80, in emit > results.append(callback(*args)) > File > "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/ext/graphviz.py", > line 414, in on_build_finished > copy_asset(src, dst) > File > "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/util/fileutil.py", > line 81, in copy_asset > ensuredir(destination) > File > "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/util/osutil.py", > line 90, in ensuredir > os.makedirs(path) > File "/home/user/Documents/code/sage/sage/local/lib/python3.7/os.py", > line 221, in makedirs > mkdir(name, mode) > FileExistsError: [Errno 17] File exists: > '/home/user/Documents/code/sage/sage/local/share/doc/sage/html/en/reference/references/_static' > > > > I appreciate any help. > > Thanks, > > R. > -- 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] building docs with sphinx-1.8.5 fails with existing _static
Hello, I posted this on ask.sagemath.org https://ask.sagemath.org/question/50925/building-docs-with-sphinx-185/ On my own git branch, after the last pull I hit this error on "sage --docbuild refernce html" even after a "make doc-clean". This looks like what's described in this ticket https://trac.sagemath.org/ticket/26451 but this is already applied in my branch The link _static on local/share/doc/sage/html/en/reference/references/_static points to a non-existing directory ../_static After a "make doc-clean" it gets erased but it is recreated on the run of "sage --docbuild" This is $ uname -a Linux rye 5.6.3-arch1-1 #1 SMP PREEMPT Wed, 08 Apr 2020 07:47:16 + x86_64 GNU/Linux on my own sage git which is very much up to date sage: version() 'SageMath version 9.1.beta8, Release Date: 2020-03-18' The log of the error is # Sphinx version: 1.8.5 # Python version: 3.7.3 (CPython) # Docutils version: 0.14 # Jinja2 version: 2.10 # Last messages: # linking _static directory. # copying extra files... # done # dumping search index in English (code: en) ... # done # dumping object inventory... # done # build succeeded, 1295 warnings. # # The HTML pages are in local/share/doc/sage/html/en/reference/references. # Loaded extensions: # sphinx.ext.mathjax (1.8.5) from /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/ext/mathjax.py # alabaster (0.7.12) from /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/alabaster/__init__.py # inventory_builder (unknown version) from /home/user/Documents/code/sage/sage/src/sage_setup/docbuild/ext/inventory_builder.py # multidocs (unknown version) from /home/user/Documents/code/sage/sage/src/sage_setup/docbuild/ext/multidocs.py # sage_autodoc (1.8.5) from /home/user/Documents/code/sage/sage/src/sage_setup/docbuild/ext/sage_autodoc.py # sphinx.ext.graphviz (1.8.5) from /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/ext/graphviz.py # sphinx.ext.inheritance_diagram (1.8.5) from /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/ext/inheritance_diagram.py # sphinx.ext.todo (1.8.5) from /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/ext/todo.py # sphinx.ext.extlinks (1.8.5) from /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/ext/extlinks.py # IPython.sphinxext.ipython_directive (unknown version) from /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/IPython/sphinxext/ipython_directive.py # matplotlib.sphinxext.plot_directive (unknown version) from /home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/matplotlib/sphinxext/plot_directive.py Traceback (most recent call last): File "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/cmd/build.py", line 304, in build_main app.build(args.force_all, filenames) File "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/application.py", line 369, in build self.emit('build-finished', None) File "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/application.py", line 510, in emit return self.events.emit(event, self, *args) File "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/events.py", line 80, in emit results.append(callback(*args)) File "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/ext/graphviz.py", line 414, in on_build_finished copy_asset(src, dst) File "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/util/fileutil.py", line 81, in copy_asset ensuredir(destination) File "/home/user/Documents/code/sage/sage/local/lib/python3.7/site-packages/sphinx/util/osutil.py", line 90, in ensuredir os.makedirs(path) File "/home/user/Documents/code/sage/sage/local/lib/python3.7/os.py", line 221, in makedirs mkdir(name, mode) FileExistsError: [Errno 17] File exists: '/home/user/Documents/code/sage/sage/local/share/doc/sage/html/en/reference/references/_static' I appreciate any help. Thanks, R. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/20200423112039.GB48297%40rye. signature.asc Description: PGP signature