Re: [sage-support] Sage Crash Report
Why is the package named "sagemath" not installed? Did you intentionally install only "sagemath-common"? To have a fully working SageMath installation you need the three packages sagemath sagemath-doc-en sagemath-jupyter The package "sagemath-common" is a dependency of the first one of these. Note that this is documented at http://doc.sagemath.org/html/en/installation/linux.html#sec-gnu-linux Vincent Le 01/05/2019 à 14:35, Erik Wallace a écrit : Here is the output: $ apt list --installed | grep sagemath sagemath-common/bionic,bionic,now 8.1-7ubuntu1 all [installed] $ ls -l /usr/lib/python2.7/dist-packages/sage/structure/ total 808 -rw-r--r-- 1 root root 641 Dec 7 2017 all.py -rw-r--r-- 1 root root 1114 Apr 15 21:51 all.pyc -rw-r--r-- 1 root root 986 Dec 7 2017 category_object.pxd -rw-r--r-- 1 root root 376 Dec 7 2017 coerce_actions.pxd -rw-r--r-- 1 root root 851 Dec 7 2017 coerce_dict.pxd -rw-r--r-- 1 root root 953 Dec 7 2017 coerce_exceptions.py -rw-r--r-- 1 root root 868 Apr 15 21:51 coerce_exceptions.pyc -rw-r--r-- 1 root root 463 Dec 7 2017 coerce_maps.pxd -rw-r--r-- 1 root root 1086 Dec 7 2017 coerce.pxd -rw-r--r-- 1 root root 154 Dec 7 2017 debug_options.pxd -rw-r--r-- 1 root root 19675 Dec 7 2017 dynamic_class.py -rw-r--r-- 1 root root 18719 Apr 15 21:51 dynamic_class.pyc -rw-r--r-- 1 root root 7836 Dec 7 2017 element.pxd -rw-r--r-- 1 root root 265 Dec 7 2017 element_wrapper.pxd -rw-r--r-- 1 root root 3780 Dec 7 2017 factorization_integer.py -rw-r--r-- 1 root root 4282 Apr 15 21:51 factorization_integer.pyc -rw-r--r-- 1 root root 39922 Dec 7 2017 factorization.py -rw-r--r-- 1 root root 41925 Apr 15 21:51 factorization.pyc -rw-r--r-- 1 root root 15267 Dec 7 2017 formal_sum.py -rw-r--r-- 1 root root 16707 Apr 15 21:51 formal_sum.pyc -rw-r--r-- 1 root root 2035 Dec 7 2017 gens_py.py -rw-r--r-- 1 root root 1795 Apr 15 21:51 gens_py.pyc -rw-r--r-- 1 root root 66908 Dec 7 2017 global_options.py -rw-r--r-- 1 root root 63304 Apr 15 21:51 global_options.pyc -rw-r--r-- 1 root root 7908 Dec 7 2017 graphics_file.py -rw-r--r-- 1 root root 9747 Apr 15 21:51 graphics_file.pyc -rw-r--r-- 1 root root 26183 Dec 7 2017 indexed_generators.py -rw-r--r-- 1 root root 24447 Apr 15 21:51 indexed_generators.pyc -rw-r--r-- 1 root root 0 Dec 7 2017 __init__.py -rw-r--r-- 1 root root 146 Apr 15 21:51 __init__.pyc -rw-r--r-- 1 root root 2043 Dec 7 2017 list_clone.pxd -rw-r--r-- 1 root root 6718 Dec 7 2017 list_clone_timings.py -rw-r--r-- 1 root root 7534 Apr 15 21:51 list_clone_timings.pyc -rw-r--r-- 1 root root 532 Dec 7 2017 mutability.pxd -rw-r--r-- 1 root root 646 Dec 7 2017 nonexact.py -rw-r--r-- 1 root root 1343 Apr 15 21:51 nonexact.pyc -rw-r--r-- 1 root root 538 Dec 7 2017 parent_base.pxd -rw-r--r-- 1 root root 743 Dec 7 2017 parent_gens.pxd -rw-r--r-- 1 root root 1314 Dec 7 2017 parent_old.pxd -rw-r--r-- 1 root root 4142 Dec 7 2017 parent.pxd drwxr-xr-x 2 root root 4096 Apr 15 21:51 proof -rw-r--r-- 1 root root 4892 Dec 7 2017 richcmp.pxd -rw-r--r-- 1 root root32 Dec 7 2017 sage_object.pxd -rw-r--r-- 1 root root 26596 Dec 7 2017 sequence.py -rw-r--r-- 1 root root 27439 Apr 15 21:51 sequence.pyc -rw-r--r-- 1 root root 17209 Dec 7 2017 set_factories_example.py -rw-r--r-- 1 root root 20559 Apr 15 21:51 set_factories_example.pyc -rw-r--r-- 1 root root 41168 Dec 7 2017 set_factories.py -rw-r--r-- 1 root root 43362 Apr 15 21:51 set_factories.pyc -rw-r--r-- 1 root root 1751 Dec 7 2017 test_factory.py -rw-r--r-- 1 root root 1871 Apr 15 21:51 test_factory.pyc -rw-r--r-- 1 root root 50516 Dec 7 2017 unique_representation.py -rw-r--r-- 1 root root 51060 Apr 15 21:51 unique_representation.pyc On Sun, Apr 28, 2019 at 4:46 PM Vincent Delecroix <20100.delecr...@gmail.com> wrote: I do not see anything obvious in the crash report that explains the problem. For each thing below could you copy paste the full output of what appears in the console. 1. The list of sagemath packages installed $ apt list --installed | grep sagemath 2. Files in /usr/lib/python2.7/dist-packages/sage/structure via $ ls -l /usr/lib/python2.7/dist-packages/sage/structure/ Le 28/04/2019 à 21:05, Erik Wallace a écrit : Yes, I downloaded via apt. The supporting python packages were also downloaded via apt. On Sat, Apr 27, 2019 at 5:08 PM Vincent Delecroix < 20100.delecr...@gmail.com> wrote: Hello, What did you downloaded exactly? You meant that you installed Sage from via the package manager (apt)? Best Vincent Le 23/04/2019 à 03:22, Erik Wallace a écrit : Hello, I am submitting this crash report. I downloaded sage from the Ubuntu repo. Please let me know, how I can fix this. Thanks. Sincerely, Erik -- 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] Re: JupyterHub Integration
Thanks all for the information. Will have a look and report back (and see if I can get a more precise sense of the issues I was facing.) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/60367e6b-d38a-405c-945b-d3c368ea4806%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: Function Field
Hi, It is because f is not separable. If you see the documentation, places() method is supported only for global function fields, and global function fields in sage are separable extensions of rational function fields (over finite fields). You may use a separable model of L instead. sage: Ls, from_Ls, to_Ls = L.separable_model() sage: Ls.places() [Place (1/x_, 1/x_*y_ + 1), Place (x_, y_), Place (x_, y_ + 1)] Kwankyu -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/eae5bced-636b-43e9-9e02-6372cb0612f4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [sage-support] Sage Crash Report
I still have not received an answer to this. Is the information I provided helpful or do you need more? On Wed, May 1, 2019 at 8:35 AM Erik Wallace wrote: > Here is the output: > > $ apt list --installed | grep sagemath > > sagemath-common/bionic,bionic,now 8.1-7ubuntu1 all [installed] > > $ ls -l /usr/lib/python2.7/dist-packages/sage/structure/ > > total 808 > -rw-r--r-- 1 root root 641 Dec 7 2017 all.py > -rw-r--r-- 1 root root 1114 Apr 15 21:51 all.pyc > -rw-r--r-- 1 root root 986 Dec 7 2017 category_object.pxd > -rw-r--r-- 1 root root 376 Dec 7 2017 coerce_actions.pxd > -rw-r--r-- 1 root root 851 Dec 7 2017 coerce_dict.pxd > -rw-r--r-- 1 root root 953 Dec 7 2017 coerce_exceptions.py > -rw-r--r-- 1 root root 868 Apr 15 21:51 coerce_exceptions.pyc > -rw-r--r-- 1 root root 463 Dec 7 2017 coerce_maps.pxd > -rw-r--r-- 1 root root 1086 Dec 7 2017 coerce.pxd > -rw-r--r-- 1 root root 154 Dec 7 2017 debug_options.pxd > -rw-r--r-- 1 root root 19675 Dec 7 2017 dynamic_class.py > -rw-r--r-- 1 root root 18719 Apr 15 21:51 dynamic_class.pyc > -rw-r--r-- 1 root root 7836 Dec 7 2017 element.pxd > -rw-r--r-- 1 root root 265 Dec 7 2017 element_wrapper.pxd > -rw-r--r-- 1 root root 3780 Dec 7 2017 factorization_integer.py > -rw-r--r-- 1 root root 4282 Apr 15 21:51 factorization_integer.pyc > -rw-r--r-- 1 root root 39922 Dec 7 2017 factorization.py > -rw-r--r-- 1 root root 41925 Apr 15 21:51 factorization.pyc > -rw-r--r-- 1 root root 15267 Dec 7 2017 formal_sum.py > -rw-r--r-- 1 root root 16707 Apr 15 21:51 formal_sum.pyc > -rw-r--r-- 1 root root 2035 Dec 7 2017 gens_py.py > -rw-r--r-- 1 root root 1795 Apr 15 21:51 gens_py.pyc > -rw-r--r-- 1 root root 66908 Dec 7 2017 global_options.py > -rw-r--r-- 1 root root 63304 Apr 15 21:51 global_options.pyc > -rw-r--r-- 1 root root 7908 Dec 7 2017 graphics_file.py > -rw-r--r-- 1 root root 9747 Apr 15 21:51 graphics_file.pyc > -rw-r--r-- 1 root root 26183 Dec 7 2017 indexed_generators.py > -rw-r--r-- 1 root root 24447 Apr 15 21:51 indexed_generators.pyc > -rw-r--r-- 1 root root 0 Dec 7 2017 __init__.py > -rw-r--r-- 1 root root 146 Apr 15 21:51 __init__.pyc > -rw-r--r-- 1 root root 2043 Dec 7 2017 list_clone.pxd > -rw-r--r-- 1 root root 6718 Dec 7 2017 list_clone_timings.py > -rw-r--r-- 1 root root 7534 Apr 15 21:51 list_clone_timings.pyc > -rw-r--r-- 1 root root 532 Dec 7 2017 mutability.pxd > -rw-r--r-- 1 root root 646 Dec 7 2017 nonexact.py > -rw-r--r-- 1 root root 1343 Apr 15 21:51 nonexact.pyc > -rw-r--r-- 1 root root 538 Dec 7 2017 parent_base.pxd > -rw-r--r-- 1 root root 743 Dec 7 2017 parent_gens.pxd > -rw-r--r-- 1 root root 1314 Dec 7 2017 parent_old.pxd > -rw-r--r-- 1 root root 4142 Dec 7 2017 parent.pxd > drwxr-xr-x 2 root root 4096 Apr 15 21:51 proof > -rw-r--r-- 1 root root 4892 Dec 7 2017 richcmp.pxd > -rw-r--r-- 1 root root32 Dec 7 2017 sage_object.pxd > -rw-r--r-- 1 root root 26596 Dec 7 2017 sequence.py > -rw-r--r-- 1 root root 27439 Apr 15 21:51 sequence.pyc > -rw-r--r-- 1 root root 17209 Dec 7 2017 set_factories_example.py > -rw-r--r-- 1 root root 20559 Apr 15 21:51 set_factories_example.pyc > -rw-r--r-- 1 root root 41168 Dec 7 2017 set_factories.py > -rw-r--r-- 1 root root 43362 Apr 15 21:51 set_factories.pyc > -rw-r--r-- 1 root root 1751 Dec 7 2017 test_factory.py > -rw-r--r-- 1 root root 1871 Apr 15 21:51 test_factory.pyc > -rw-r--r-- 1 root root 50516 Dec 7 2017 unique_representation.py > -rw-r--r-- 1 root root 51060 Apr 15 21:51 unique_representation.pyc > > On Sun, Apr 28, 2019 at 4:46 PM Vincent Delecroix < > 20100.delecr...@gmail.com> wrote: > >> I do not see anything obvious in the crash report that explains the >> problem. For each thing below could you copy paste the full output >> of what appears in the console. >> >> 1. The list of sagemath packages installed >> >> $ apt list --installed | grep sagemath >> >> 2. Files in /usr/lib/python2.7/dist-packages/sage/structure via >> >> $ ls -l /usr/lib/python2.7/dist-packages/sage/structure/ >> >> Le 28/04/2019 à 21:05, Erik Wallace a écrit : >> > Yes, I downloaded via apt. The supporting python packages were also >> > downloaded via apt. >> > >> > On Sat, Apr 27, 2019 at 5:08 PM Vincent Delecroix < >> 20100.delecr...@gmail.com> >> > wrote: >> > >> >> Hello, >> >> >> >> What did you downloaded exactly? You meant that you installed >> >> Sage from via the package manager (apt)? >> >> >> >> Best >> >> Vincent >> >> >> >> Le 23/04/2019 à 03:22, Erik Wallace a écrit : >> >>> Hello, >> >>> I am submitting this crash report. I downloaded sage from the >> Ubuntu >> >>> repo. Please let me know, how I can fix this. Thanks. >> >>> Sincerely, >> >>> >> >>> Erik >> >>> >> >> >> >> -- >> >> 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 >> >>
[sage-support] SageMath 8.7 crashed in WSL Ubuntu after installation
Dear my friends, After I installed the sagemath 8.7 in Windows Subsystem for Linux Ubuntu 18.04, crash happend. *(decomperssed ==> move folder to my home directory ==> sudo ./sage).* When I first finished the installation, the first running is very normal. However when the second time I add "alias sage='~/SageMath/sage'" and type sage in terminal, it crashed. what happened here? Is WSL not so stable or the bugs in Sage 8.7 made the crash? -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/CADUebW4jES4_6HJLoVAs9tFwUKBgCuGZ0d_rfJkH80r0OxLwZg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. *** IPython post-mortem report {'commit_hash': u'033ab93c7', 'commit_source': 'installation', 'default_encoding': 'UTF-8', 'ipython_path': '/home/newton/SageMath/local/lib/python2.7/site-packages/IPython', 'ipython_version': '5.8.0', 'os_name': 'posix', 'platform': 'Linux-4.4.0-17763-Microsoft-x86_64-with-debian-buster-sid', 'sys_executable': '/home/newton/SageMath/local/bin/python2', 'sys_platform': 'linux2', 'sys_version': '2.7.15 (default, Mar 24 2019, 09:25:31) \n[GCC 7.2.0]'} *** *** Crash traceback: --- --- OSError Python 2.7.15: /home/newton/SageMath/local/bin/python2 Wed May 15 05:05:23 2019 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/newton/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/newton/SageMath/local/lib/python2.7/site-packages/traitlets/config/application.pyc 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/newton/SageMath/local/lib/python2.7/site-packages/IPython/terminal/ipapp.pyc 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
[sage-support] Re: JupyterHub Integration
Arnav, If you are using docker you may want to have a look at https://github.com/sagemath/sage-binder-env I took that as a starting point for https://github.com/pedritomelenas/Algebra-conmutativa-y-computacional/blob/master/Dockerfile But the question is, if you have jupyterhub installed on the server, why you do not simply install sage's kernel? Hope this helps, Pedro On Tuesday, May 14, 2019 at 8:32:52 AM UTC+2, E. Madison Bray wrote: > > Hi Arnav, > > Could you elaborate on "the issue seems to be that Sage's Python > interferes with the main Jupyter Hub"? > > The way Jupyter works is each kernel is essentially an abstract process > that it passes messages between using zeromq, so in principle Sage's Python > shouldn't be able to "interfere" with JupyterHub. Not saying it's not > possible but it's not obvious what you mean by this. > > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/b97d2943-bf0c-44c1-ad8a-4ec11320a061%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[sage-support] JupyterHub Integration
Hi Arnav, Could you elaborate on "the issue seems to be that Sage's Python interferes with the main Jupyter Hub"? The way Jupyter works is each kernel is essentially an abstract process that it passes messages between using zeromq, so in principle Sage's Python shouldn't be able to "interfere" with JupyterHub. Not saying it's not possible but it's not obvious what you mean by this. -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/1f4f9cb3-4359-4acb-9138-f3dbe9c67d23%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[sage-support] Re: Solving an ODE and simplifying the result
Mon 2019-05-13 19:44:07 UTC, Oscar Alberto Castillo Felisola: > > This post was prepared for ask.sagemath.org, but I got a warning > "Spam was detected on your post, sorry for if this is a mistake" > that forbids me to post the question. Sorry for the inconvenience caused by the spam detection on Ask Sage. We have to have it, or the level of spam would be unbearable... I spotted a typo in your post: in one case the word "assign" is mis-spelled with "g" and "n" swapped, leading to an involuntary "bad word". Might that be what triggered the spam detection? -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/ce6757af-3434-4d4a-ae74-dfd7748ec255%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.