[sage-support] Re: Categorizing Sage's documentation
William wrote: So maybe the docstring for a function might have something like. SUBJECTS: Algebra.Combinatorics, Analysis.ComplexFunctions Something like this seems like a really good idea. My thought with the hierarchical tags is that they would allow the above function to be returned in general searches on Algebra or Analysis in addition to being returned from more specific searches. Also, I wrote a small program to extract function descriptions from docstrings but it was having trouble locating where the descriptions began and ended due to variations in the placement of newlines, etc. It would be nice if descriptions could also be clearly indicated in the docstrings so that tools could locate them easier. 2) What would the Trigonometry tag look like if it were added to the math_categories.txt file? I'm not quite sure I understand the question. By I could imagine that the sine function's documentation would have SUBJECTS: Trigonometry, The wikipedia Areas_of_mathematics page does not seem to contain an entry on general trigonometry: http://en.wikipedia.org/wiki/Areas_of_mathematics I was wondering where general trigonometry would be placed if it were added to this document? Ted --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~--~~~~--~~--~--~---
[sage-support] Re: Categorizing Sage's documentation
On 8/25/07, Ted Kosan [EMAIL PROTECTED] wrote: William wrote: So maybe the docstring for a function might have something like. SUBJECTS: Algebra.Combinatorics, Analysis.ComplexFunctions Something like this seems like a really good idea. My thought with the hierarchical tags is that they would allow the above function to be returned in general searches on Algebra or Analysis in addition to being returned from more specific searches. Also, I wrote a small program to extract function descriptions from docstrings but it was having trouble locating where the descriptions began and ended due to variations in the placement of newlines, etc. It would be nice if descriptions could also be clearly indicated in the docstrings so that tools could locate them easier. 2) What would the Trigonometry tag look like if it were added to the math_categories.txt file? I'm not quite sure I understand the question. By I could imagine that the sine function's documentation would have SUBJECTS: Trigonometry, The wikipedia Areas_of_mathematics page does not seem to contain an entry on general trigonometry: http://en.wikipedia.org/wiki/Areas_of_mathematics I was wondering where general trigonometry would be placed if it were added to this document? I wonder if you could throw them in with Special Functions? They also could go in where calculus stuff goes. Ted --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~--~~~~--~~--~--~---
[sage-support] Re: Sage won't start maxima
On 8/25/07, gsage [EMAIL PROTECTED] wrote: I'm using Kubuntu. I used the binary Sage to run. It all runs fine both cli browser, however, it fails to run Maxima. The error message is RuntimeError: Unable to start maxima. I can run maxima manually within the Sage folder. I'm assuming the path is not set right, but don't know where to start to force the correct path. Any help would be appreciated. Please go to the sage directory and type ./sage then send the _complete_ output of the error message. Also, send a bunch of info about your computer -- processor type, etc. William --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~--~~~~--~~--~--~---
[sage-support] Re: Sage won't start maxima
On Aug 25, 2:28 pm, William Stein [EMAIL PROTECTED] wrote: On 8/25/07, gsage [EMAIL PROTECTED] wrote: I'm using Kubuntu. I used the binary Sage to run. It all runs fine both cli browser, however, it fails to run Maxima. The error message is RuntimeError: Unable to start maxima. I can run maxima manually within the Sage folder. I'm assuming the path is not set right, but don't know where to start to force the correct path. Any help would be appreciated. Please go to the sage directory and type ./sage then send the _complete_ output of the error message. Also, send a bunch of info about your computer -- processor type, etc. William AMD 1800; 1.5 gig mem. Kubuntu Edgy-Eft I did not compile it - just tried w/binary i.e. ./sage whether in cli or browser, I type sqrt(4) sage tries to start maxima but fails. it will do normal computations 3+4^2 ; eratosthenes(20); loads gp ok; input sqrt(4); output Timeout exceeded in read_nonblocking(). pexpect.spawn instance at 0xaeffbb6c version: 2.0 ($Revision: 1.151 $) command: /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/bin/ maxima args: ['/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/bin/ maxima\ ', '-p', '/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/bin/ sage-ma\ xima.lisp'] patterns: \(\%i[0-9]+\) buffer (last 100 chars): before (last 100 chars): :R1 ABORT ABORT :R2 ABORT ABORT :R3 ABORT Break 1 [4] after: class 'pexpect.TIMEOUT' match: None match_index: None exitstatus: None flag_eof: 0 pid: 5519 child_fd: 3 timeout: 30 delimiter: class 'pexpect.EOF' logfile: None maxread: 1 searchwindowsize: None delaybeforesend: 0 Traceback (most recent call last): File stdin, line 1, in module File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/sage_notebook/ wor\ ksheets/admin/1/code/2.py, line 4, in module exec compile(ur'sqrt(Integer(4));' + '\n', '', 'single') File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/data/extcode/ sage\ /, line 1, in module File sage_object.pyx, line 87, in sage_object.SageObject.__repr__ File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/calculus/calculus.py, line 3545, in _repr_ return self.simplify()._repr_(simplify=False) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/calculus/calculus.py, line 2020, in simplify S = evaled_symbolic_expression_from_maxima_string(self._maxima_init_()) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/calculus/calculus.py, line 4873, in evaled_symbolic_expression_from_maxima_string return symbolic_expression_from_maxima_string(maxima.eval(x)) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/interfaces/expect.py, line 523, in eval return '\n'.join([self._eval_line(L, **kwds) for L in code.split('\n') if L != '']) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/interfaces/maxima.py, line 532, in _eval_line self._sendline(line) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/interfaces/maxima.py, line 425, in _sendline self._sendstr(str) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/interfaces/maxima.py, line 430, in _sendstr self._start() File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/interfaces/maxima.py, line 415, in _start Expect._start(self) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/interfaces/expect.py, line 332, in _start raise RuntimeError, Unable to start %s%self.__name RuntimeError: Unable to start maxima --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~--~~~~--~~--~--~---
[sage-support] Re: Sage won't start maxima
Could you please try this binary instead? http://sagemath.org/SAGEbin/linux/32bit/sage-2.8.2-OLD-32bit-i686-Linux.tar.gz On 8/25/07, gsage [EMAIL PROTECTED] wrote: On Aug 25, 2:28 pm, William Stein [EMAIL PROTECTED] wrote: On 8/25/07, gsage [EMAIL PROTECTED] wrote: I'm using Kubuntu. I used the binary Sage to run. It all runs fine both cli browser, however, it fails to run Maxima. The error message is RuntimeError: Unable to start maxima. I can run maxima manually within the Sage folder. I'm assuming the path is not set right, but don't know where to start to force the correct path. Any help would be appreciated. Please go to the sage directory and type ./sage then send the _complete_ output of the error message. Also, send a bunch of info about your computer -- processor type, etc. William AMD 1800; 1.5 gig mem. Kubuntu Edgy-Eft I did not compile it - just tried w/binary i.e. ./sage whether in cli or browser, I type sqrt(4) sage tries to start maxima but fails. it will do normal computations 3+4^2 ; eratosthenes(20); loads gp ok; input sqrt(4); output Timeout exceeded in read_nonblocking(). pexpect.spawn instance at 0xaeffbb6c version: 2.0 ($Revision: 1.151 $) command: /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/bin/ maxima args: ['/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/bin/ maxima\ ', '-p', '/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/bin/ sage-ma\ xima.lisp'] patterns: \(\%i[0-9]+\) buffer (last 100 chars): before (last 100 chars): :R1 ABORT ABORT :R2 ABORT ABORT :R3 ABORT Break 1 [4] after: class 'pexpect.TIMEOUT' match: None match_index: None exitstatus: None flag_eof: 0 pid: 5519 child_fd: 3 timeout: 30 delimiter: class 'pexpect.EOF' logfile: None maxread: 1 searchwindowsize: None delaybeforesend: 0 Traceback (most recent call last): File stdin, line 1, in module File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/sage_notebook/ wor\ ksheets/admin/1/code/2.py, line 4, in module exec compile(ur'sqrt(Integer(4));' + '\n', '', 'single') File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/data/extcode/ sage\ /, line 1, in module File sage_object.pyx, line 87, in sage_object.SageObject.__repr__ File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/calculus/calculus.py, line 3545, in _repr_ return self.simplify()._repr_(simplify=False) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/calculus/calculus.py, line 2020, in simplify S = evaled_symbolic_expression_from_maxima_string(self._maxima_init_()) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/calculus/calculus.py, line 4873, in evaled_symbolic_expression_from_maxima_string return symbolic_expression_from_maxima_string(maxima.eval(x)) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/interfaces/expect.py, line 523, in eval return '\n'.join([self._eval_line(L, **kwds) for L in code.split('\n') if L != '']) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/interfaces/maxima.py, line 532, in _eval_line self._sendline(line) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/interfaces/maxima.py, line 425, in _sendline self._sendstr(str) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/interfaces/maxima.py, line 430, in _sendstr self._start() File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/interfaces/maxima.py, line 415, in _start Expect._start(self) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/interfaces/expect.py, line 332, in _start raise RuntimeError, Unable to start %s%self.__name RuntimeError: Unable to start maxima -- William Stein Associate Professor of Mathematics University of Washington http://www.williamstein.org --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~--~~~~--~~--~--~---
[sage-support] Re: Sage won't start maxima
I tried dl/link (twice) - but the extraction failed (errors in the examples folder archive) I may try to compile the new version when I get a chance... thanks On Aug 25, 3:28 pm, William Stein [EMAIL PROTECTED] wrote: Could you please try this binary instead? http://sagemath.org/SAGEbin/linux/32bit/sage-2.8.2-OLD-32bit-i686-Lin... On 8/25/07, gsage [EMAIL PROTECTED] wrote: On Aug 25, 2:28 pm, William Stein [EMAIL PROTECTED] wrote: On 8/25/07, gsage [EMAIL PROTECTED] wrote: I'm using Kubuntu. I used the binary Sage to run. It all runs fine both cli browser, however, it fails to run Maxima. The error message is RuntimeError: Unable to start maxima. I can run maxima manually within the Sage folder. I'm assuming the path is not set right, but don't know where to start to force the correct path. Any help would be appreciated. Please go to the sage directory and type ./sage then send the _complete_ output of the error message. Also, send a bunch of info about your computer -- processor type, etc. William AMD 1800; 1.5 gig mem. Kubuntu Edgy-Eft I did not compile it - just tried w/binary i.e. ./sage whether in cli or browser, I type sqrt(4) sage tries to start maxima but fails. it will do normal computations 3+4^2 ; eratosthenes(20); loads gp ok; input sqrt(4); output Timeout exceeded in read_nonblocking(). pexpect.spawn instance at 0xaeffbb6c version: 2.0 ($Revision: 1.151 $) command: /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/bin/ maxima args: ['/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/bin/ maxima\ ', '-p', '/home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/bin/ sage-ma\ xima.lisp'] patterns: \(\%i[0-9]+\) buffer (last 100 chars): before (last 100 chars): :R1 ABORT ABORT :R2 ABORT ABORT :R3 ABORT Break 1 [4] after: class 'pexpect.TIMEOUT' match: None match_index: None exitstatus: None flag_eof: 0 pid: 5519 child_fd: 3 timeout: 30 delimiter: class 'pexpect.EOF' logfile: None maxread: 1 searchwindowsize: None delaybeforesend: 0 Traceback (most recent call last): File stdin, line 1, in module File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/sage_notebook/ wor\ ksheets/admin/1/code/2.py, line 4, in module exec compile(ur'sqrt(Integer(4));' + '\n', '', 'single') File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/data/extcode/ sage\ /, line 1, in module File sage_object.pyx, line 87, in sage_object.SageObject.__repr__ File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/calculus/calculus.py, line 3545, in _repr_ return self.simplify()._repr_(simplify=False) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/calculus/calculus.py, line 2020, in simplify S = evaled_symbolic_expression_from_maxima_string(self._maxima_init_()) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/calculus/calculus.py, line 4873, in evaled_symbolic_expression_from_maxima_string return symbolic_expression_from_maxima_string(maxima.eval(x)) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/interfaces/expect.py, line 523, in eval return '\n'.join([self._eval_line(L, **kwds) for L in code.split('\n') if L != '']) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/interfaces/maxima.py, line 532, in _eval_line self._sendline(line) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/interfaces/maxima.py, line 425, in _sendline self._sendstr(str) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/interfaces/maxima.py, line 430, in _sendstr self._start() File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/interfaces/maxima.py, line 415, in _start Expect._start(self) File /home/myhome/Desktop/sage-2.8.2.ubuntu-32bit-i686-Linux/local/lib/ python2\ .5/site-packages/sage/interfaces/expect.py, line 332, in _start raise RuntimeError, Unable to start %s%self.__name RuntimeError: Unable to start maxima -- William Stein Associate Professor of Mathematics University of Washingtonhttp://www.williamstein.org --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: