Re: [sage-support] Sage Crash Report

2021-08-16 Thread Dima Pasechnik
it appears that installing blender changed Python used to in Sage's venv.

All bets are off in such a scenario - you'd need to rebuild Sage.



On Tue, 17 Aug 2021, 00:20 Gaël Cousin,  wrote:

> 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
> 
> .
>

-- 
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/CAAWYfq1LP5cvFuWm46-_GML7JV0YRxDBddhd_C51BGv2fs%2BBpA%40mail.gmail.com.


[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 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 


[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.


Re: [sage-support] Re: Show() not working

2021-08-16 Thread Ray Rogers
Did the copy error get fixed.  Maybe I didn't have a clear idea about 
how to fill a support request?


On 8/16/21 10:51 AM, Carlos Antunes wrote:

Good, I didn't know, thank you very much for the info!

El miércoles, 28 de julio de 2021 a las 16:17:22 UTC-3, slelievre 
escribió:


This got broken in Sage 9.3 but is fixed by

Sage Trac ticket 31629
Fix a regression in show(obj) for string obj
https://trac.sagemath.org/ticket/31629


It will be part of Sage 9.4, which has entered
the release candidate phase, and so is coming soon.

--
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/62ada069-4ba9-4a01-9da7-9cf3b19a139fn%40googlegroups.com 
.


--
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/6af32af0-41bf-28f0-dc0a-11d18510f796%40gmail.com.


[sage-support] Re: Show() not working

2021-08-16 Thread Carlos Antunes
Good, I didn't know, thank you very much for the info!

El miércoles, 28 de julio de 2021 a las 16:17:22 UTC-3, slelievre escribió:

> This got broken in Sage 9.3 but is fixed by
>
> Sage Trac ticket 31629
> Fix a regression in show(obj) for string obj
> https://trac.sagemath.org/ticket/31629
>
> It will be part of Sage 9.4, which has entered
> the release candidate phase, and so is coming soon.
>

-- 
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/62ada069-4ba9-4a01-9da7-9cf3b19a139fn%40googlegroups.com.