[sage-support] Sage Crash Report

2021-08-16 Thread Gaël Cousin

Ubuntu 20.04 Focal Fossa


Dear all,

Here follows attached a sage crash report. I think the sage install was 
broken by installation of Blender.



Sage was installed this way on my fresh Ubuntu 20.04 Focal Fossa:

sudo apt install sagemath sagetex- texlive-latex-base- sagemath-jupyter- 
pari-doc- sagemath-doc-

(afterwards I did

sudo apt install jupyter

and

sudo apt install sagemath-jupyter

everything was working fine)


Today I installed Blender

  sudo add-apt-repository ppa:savoury1/ffmpeg4

  sudo add-apt-repository ppa:savoury1/blender

  sudo apt-get update

  sudo apt-get upgrade && sudo apt-get dist-upgrade

  sudo apt-get install blender


Afterwards

I tried the command

|maxima('plotdf([-y,-x],[x,y],[x,-2,2],[y,-2,2])') |

in the jupyter notebook and I got a missing Kernel error

afterwards the kernel would not restart successfully and I restarted my 
computer.



Then I run

sage

in the terminal, which generated this crash report.

Currently, Sage is not working anymore on my computer.


There are strange things about python and numpy written in Blender's ppa 
description. I attach this description too (see lines 23 and 43).


I checked the result of python3 --version in the terminal and got

Python 3.8.10


Any hint towards the resolution of this sad situation is welcome.

Thanks fo your work on Sage.


Best,

Gaël Cousin.




--
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/4600086d-51fa-f96c-c725-08ad013ab42c%40gmail.com.
***

IPython post-mortem report

{'commit_hash': '',
 'commit_source': '(none found)',
 'default_encoding': 'utf-8',
 'ipython_path': '/usr/lib/python3/dist-packages/IPython',
 'ipython_version': '7.13.0',
 'os_name': 'posix',
 'platform': 'Linux-5.10.0-1038-oem-x86_64-with-glibc2.29',
 'sys_executable': '/usr/bin/python3',
 'sys_platform': 'linux',
 'sys_version': '3.8.10 (default, Jun  2 2021, 10:49:15) \n[GCC 9.4.0]'}

***



***

Crash traceback:

---
---
ImportError Python 3.8.10: /usr/bin/python3
   Mon Aug 16 16:37:37 2021
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/share/sagemath/bin/sage-ipython in 
  1 #!/usr/bin/env sage-python
  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)

/usr/lib/python3/dist-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 encountere

[sage-support] Re: Sage Crash Report

2021-08-16 Thread Gaël Cousin
I solved the problem. I think the blender ppa came with a strange 
version of libgivaro9 and libgivaro-dev. I downgraded them and 
reinstalled Sage. Now it works!


Blender also seems to work!


Best,

G

Le 16/08/2021 à 17:08, Gaël Cousin a écrit :


Ubuntu 20.04 Focal Fossa


Dear all,

Here follows attached a sage crash report. I think the sage install 
was broken by installation of Blender.



Sage was installed this way on my fresh Ubuntu 20.04 Focal Fossa:
sudo apt install sagemath sagetex- texlive-latex-base- sagemath-jupyter- 
pari-doc- sagemath-doc-

(afterwards I did

sudo apt install jupyter

and

sudo apt install sagemath-jupyter

everything was working fine)


Today I installed Blender

   sudo add-apt-repository ppa:savoury1/ffmpeg4

   sudo add-apt-repository ppa:savoury1/blender

   sudo apt-get update

   sudo apt-get upgrade && sudo apt-get dist-upgrade

   sudo apt-get install blender


Afterwards

I tried the command
|maxima('plotdf([-y,-x],[x,y],[x,-2,2],[y,-2,2])') |

in the jupyter notebook and I got a missing Kernel error

afterwards the kernel would not restart successfully and I restarted 
my computer.



Then I run

sage

in the terminal, which generated this crash report.

Currently, Sage is not working anymore on my computer.


There are strange things about python and numpy written in Blender's 
ppa description. I attach this description too (see lines 23 and 43).


I checked the result of python3 --version in the terminal and got

Python 3.8.10


Any hint towards the resolution of this sad situation is welcome.

Thanks fo your work on Sage.


Best,

Gaël Cousin.






--
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/6a172e8d-704e-6bb2-8306-8c6473e30e07%40gmail.com.