Dear Developers,
I am using a MacOs Monterrey v.12.4 on a chip M2.
Sage was install using anaconda, with mamba.
The funny thing is that I install in two different accounts, one administrator
and one regular user.
Sage conda environment in the administrator account works fine.
In the regular user account it crash.
The command that triggers the crash are: mamba activate sage && sage
--
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/88E35948-894B-4BF2-9364-183A3F469C43%40gmail.com.
***
IPython post-mortem report
{'commit_hash': 'fd4cac190',
'commit_source': 'installation',
'default_encoding': 'utf-8',
'ipython_path':
'/Users/krauser/.conda/envs/sage/lib/python3.10/site-packages/IPython',
'ipython_version': '7.33.0',
'os_name': 'posix',
'platform': 'macOS-12.4-x86_64-i386-64bit',
'sys_executable': '/Users/krauser/.conda/envs/sage/bin/python',
'sys_platform': 'darwin',
'sys_version': '3.10.5 | packaged by conda-forge | (main, Jun 14 2022, '
'07:09:13) [Clang 13.0.1 ]'}
***
***
Crash traceback:
---
---
ImportError Python 3.10.5: /Users/krauser/.conda/envs/sage/bin/python
Sat Jul 30 11:49:55 2022
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.
~/.conda/envs/sage/bin/sage-ipython in
1 #!/Users/krauser/.conda/envs/sage/bin/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()
~/.conda/envs/sage/lib/python3.10/site-packages/traitlets/config/application.py
in inner(app=, *args=(),
**kwargs={})
95 IS_PYTHONW = sys.executable and sys.executable.endswith("pythonw.exe")
96
97
98 def catch_config_error(method):
99 """Method decorator for catching invalid config
(Trait/ArgumentErrors) during init.
100
101 On a TraitError (generally caused by bad config), this will print
the trait's
102 message, and exit the app.
103
104 For use on init methods, to prevent invoking excepthook on invalid
input.
105 """
106
107 @functools.wraps(method)
108 def inner(app, *args, **kwargs):
109 try:
--> 110 return method(app, *args, **kwargs)
global method = undefined
app =
args = ()
kwargs = {}
111 except (TraitError, ArgumentError) as e:
112 app.log.fatal("Bad config encountered during
initialization: %s", e)
113 app.log.debug("Config at the time: %s", app.config)
114 app.exit(1)
115
116 return inner
117
118
119 class ApplicationError(Exception):
120 pass
121
122
123 class LevelFormatter(logging.Formatter):
124 """Formatter with additional `highlevel` record
125
~/.conda/envs/sage/lib/python3.10/site-packages/IPython/terminal/ipapp.py in
initialize(self=, argv=None)
304
305 return super(TerminalIPythonApp, self).parse_command_line(argv)
306
307 @catch_config_error
308 def initialize(self, argv=None):
309 """Do actions after construct, but before starting the app."""
310 super(TerminalIPythonApp, self).initialize(argv)
311 if self.subapp is not None:
312 # don't bother initializing further, starting subapp
313 return
314 # print self.extra_args
315 if self.extra_args and not self.something_to_run:
316 self.file_to_run = self.extra_args[0]
317 self.init_path()
318 # create the shell
--> 319 self.init_shell()
self.init_shell = >
320 # and draw the banner
321 self.init_banner()
322 # Now a variety of things that happen after the banner is
printed.
323 self.init_gui_pylab()
324