Re: [sage-support] is_MPolynomial

2023-06-27 Thread Luis Finotti
Thanks! It works now. On Tuesday, June 27, 2023 at 9:12:41 AM UTC-4 Dima Pasechnik wrote: > this is now https://github.com/sagemath/sage/issues/35844 > > On Tue, Jun 27, 2023 at 1:40 PM Dima Pasechnik wrote: > > > > On Tue, Jun 27, 2023 at 12:54 PM Luis Finotti >

[sage-support] is_MPolynomial

2023-06-27 Thread Luis Finotti
Hello, I am getting warnings that is_MPolynomial is deprecated. The error suggests to use isinstance(x, sage.structure.element.MPolynomial) But this gives an error: AttributeError: module 'sage.structure.element' has no attribute 'MPolynomial' Looking at the referred github report (https:/

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-06-01 Thread Luis Finotti
On Thursday, June 1, 2023 at 3:13:18 PM UTC-4 Jan Groenewald wrote: On Thu, 1 Jun 2023 at 21:05, Luis Finotti wrote: Interestingly enough, I have another computer, also running Debian Sid, but a much older installation, in which Sage-10.0 *does* work in Jupyter lab. In this one, when I

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-06-01 Thread Luis Finotti
Interestingly enough, I have another computer, also running Debian Sid, but a much older installation, in which Sage-10.0 *does* work in Jupyter lab. In this one, when I look at os.eviron, I also do not have LD_LIRBRARY_PATH... On Thursday, June 1, 2023 at 1:54:06 PM UTC-4 Luis Finotti wrote

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-06-01 Thread Luis Finotti
On Thursday, June 1, 2023 at 12:46:33 PM UTC-4 Nils Bruin wrote: I don't think jupyter cares about givaro. However, it sounds like your jupyter sets up some things about the library search path (perhaps an LD_LIBRARY_PATH)? that gets inherited by the sage process that gets subsequently run

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-06-01 Thread Luis Finotti
On Thursday, June 1, 2023 at 4:55:57 AM UTC-4 Nils Bruin wrote: the line: calling init: /usr/lib/x86_64-linux-gnu/libgivaro.so.9 is definitely indicating that you are picking up a system libgivaro. Perhaps you can check in the same way which libgivaro gets linked when you run sage in a way

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-31 Thread Luis Finotti
the full log with `LD_DEBUG=libs` and jupyterlab somewhere > and post a link? > > Isuru > > On Wed, May 31, 2023 at 3:46 PM Luis Finotti wrote: > >> Hello, >> >> Thanks for the help! >> >> On Wednesday, May 31, 2023 at 4:24:11 PM UTC-4 Isuru Fernando

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-31 Thread Luis Finotti
e/finotti/src/sage-10.0/src/sage/repl/ipython_kernel/__main__.py", > line 1 >import sage.all > IndentationError: unexpected indent > On Wed, May 31, 2023 at 7:05 PM Luis Finotti wrote: > >> Thanks again for the help! It is really appreciated! >> >>

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-31 Thread Luis Finotti
/websocket.py", line 86, in select_subprotocol preferred_protocol = self.connection.kernel_ws_protocol ^^ AttributeError: 'NoneType' object has no attribute 'kernel_ws_protocol' [E 2023-05-31 20:02:51.191 Ser

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-31 Thread Luis Finotti
On Wednesday, May 31, 2023 at 6:10:42 PM UTC-4 Isuru Fernando wrote: Which givaro library is loaded when you do `export LD_DEBUG=libs` and run sage from the command line? I get: 1028008: find library=libgivaro.so.9 [0]; searching 1028008: search path=/home/finotti/src/sage-10.0

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-31 Thread Luis Finotti
On Wednesday, May 31, 2023 at 5:29:25 PM UTC-4 Isuru Fernando wrote: Does `import sage.all` in a sage shell work? In a regular sage shell (from the command line, not in Jupyter Lab)? Yes, no errors (or output). -- You received this message because you are subscribed to the Google Groups

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-31 Thread Luis Finotti
Hello, Thanks for the help! On Wednesday, May 31, 2023 at 4:24:11 PM UTC-4 Isuru Fernando wrote: Try running JupyterLab in a shell with `export LD_DEBUG=libs` and import sage with that jupyterlab instance. That should tell you where givaro is loaded from. Isuru The output is very long, but m

Re: [sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-30 Thread Luis Finotti
Thanks for the reply! On Tuesday, May 30, 2023 at 2:21:22 AM UTC-4 Jan Groenewald wrote: Also see https://groups.google.com/g/sage-devel/c/xd64DrNzveM/m/EeWc6HuRAwAJ ... in case it is related. I looked at it, but I cannot tell if it is really the same issue, or how I could check. I've seen th

[sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-29 Thread Luis Finotti
Firstly, thank you very much for your help, Nils! I greatly appreciate it! On Monday, May 29, 2023 at 8:06:46 PM UTC-4 Nils Bruin wrote: On Monday, 29 May 2023 at 10:51:27 UTC-7 Luis Finotti wrote: Any ideas on how to fix it? Is it just me, or a bug with version 10.0? I followed the same

[sage-support] Re: sage-10.0 not working in Jupyter Lab

2023-05-29 Thread Luis Finotti
On Monday, May 29, 2023 at 1:11:03 PM UTC-4 Nils Bruin wrote: That looks like a linking error. Probably it's picking up a library from a different sage install. Did you check that sage-10.0 runs fine by itself? Did you check that sage-10.0 runs fine with its "own" notebook, using "sage --not

[sage-support] sage-10.0 not working in Jupyter Lab

2023-05-29 Thread Luis Finotti
I have just installed version 10.0 from source (in Debian Sid). Everything seems to work fine, but the usual method to add Sage to Jupyter Lab does not work. I created a symlink as usual: $ ll /home/finotti/.local/share/jupyter/kernels Permissions Size UserGroup Date Modified Name drwx

[sage-support] Re: Cannot build 9.7 on Debian Sid

2023-01-13 Thread Luis Finotti
On Friday, January 13, 2023 at 12:33:16 PM UTC-5 John H Palmieri wrote: It may be (as pointed out on a similar thread in the group sage-devel) that some of the Debian packages have versions that are too new to be used with Sage. You could tell Sage to build its own Python, its own Gap, perhaps i

[sage-support] Re: Cannot build 9.7 on Debian Sid

2023-01-13 Thread Luis Finotti
After some more updated came to Sid, I tried again. Still does not compile, but breaks much sooner. Here is the new log: https://web.math.utk.edu/~finotti/tmp/install-2.log Sid's own packaged version of Sage also cannot be installed at the moment: # apt install sagemath Reading package lists

[sage-support] Re: Cannot build 9.7 on Debian Sid

2023-01-10 Thread Luis Finotti
Cannot build sage-9.8.beta6 either... On Monday, January 9, 2023 at 2:14:38 PM UTC-5 Luis Finotti wrote: > My working installation of Sage 9-7 (built from source) on Debian Sid > stopped working. I thought it was due to the recent transition to Python > 3.11 (or some other change in

[sage-support] Cannot build 9.7 on Debian Sid

2023-01-09 Thread Luis Finotti
My working installation of Sage 9-7 (built from source) on Debian Sid stopped working. I thought it was due to the recent transition to Python 3.11 (or some other change in Sid). So, I tried to build it again from source, but it fails. Here is the last messages before it stops: [sagelib-9.7]

[sage-support] Re: Sage 9.6 crash

2022-07-26 Thread Luis Finotti
le: No such > file or directory > > Likely, a system update (apt-get upgrade) removed this version of the > shared library. > Rebuild Sage from scratch. > See also https://trac.sagemath.org/ticket/34203 > > > On Monday, July 25, 2022 at 7:28:50 AM UTC-7 Luis Finotti wr

[sage-support] Sage 9.6 crash

2022-07-25 Thread Luis Finotti
I've recently started having Sage (up to date) crash. The log is here: https://web.math.utk.edu/~finotti/tmp/Sage_crash_report.txt The system is running Linux Debian Sid (up to date). (I can provide more details if necessary.) My guess is that it might be because I've installed/updated some pa

[sage-support] Re: loading large file

2021-04-03 Thread Luis Finotti
; -preparse matp11n2.sage" at the shell prompt) and then load the resulting > Python file. > > John > > On Friday, April 2, 2021 at 12:02:38 PM UTC-7 Luis Finotti wrote: > >> The solution I found was to increase the recursion limit: I did >> >> sys.setrecu

[sage-support] Re: loading large file

2021-04-02 Thread Luis Finotti
The solution I found was to increase the recursion limit: I did sys.setrecursionlimit(4500) It was enough for this. On Friday, April 2, 2021 at 7:51:42 AM UTC-4 Luis Finotti wrote: > I produced a very large text file (139MB) containing some input for Sage. > > The problem is that when

[sage-support] loading large file

2021-04-02 Thread Luis Finotti
I produced a very large text file (139MB) containing some input for Sage. The problem is that when I try to load it, I get: sage: load('matp11n2.sage') --- RecursionErrorTraceback (most recent c

[sage-support] Re: Sage 8.3 Build Fails on Debian Sid

2018-08-18 Thread Luis Finotti
On Saturday, August 18, 2018 at 4:58:39 AM UTC-4, Volker Braun wrote: > > pip chokes on parsing /etc/$DISTRO-release (for whatever Linux $DISTRO you > are yousing). Please post the file content. > Good catch! Indeed, that file had UTF-8 characters. Removing them resulted in a successful buil

[sage-support] Re: Sage 8.3 Build Fails on Debian Sid

2018-08-16 Thread Luis Finotti
I'm sorry to have to ask, but could you tell me how to get 8.4beta1 source? On Thursday, August 16, 2018 at 6:41:43 AM UTC-4, Dima Pasechnik wrote: > > the latest beta, 8.4beta1, updates pip package. > it's the way to go anyway. -- You received this message because you are subscribed to the Goog

[sage-support] Re: Sage 8.3 Build Fails on Debian Sid

2018-08-15 Thread Luis Finotti
On Wednesday, August 15, 2018 at 6:05:04 PM UTC-4, Dima Pasechnik wrote: > > To switch to non-default C/C++ compiler, you need to run > > ./configure CC=gcc-7 CXX=g++-7 > > and most probably > > make distclean > > before starting the build > > Thanks for your continued support! Unfornuately, GCC

[sage-support] Re: Sage 8.3 Build Fails on Debian Sid

2018-08-15 Thread Luis Finotti
On Wednesday, August 15, 2018 at 5:14:47 PM UTC-4, Dima Pasechnik wrote: > > [pip-9.0.3] File > "/usr/local/sage-8.3/local/lib/python3.6/encodings/ascii.py", line 26, in > decode > [pip-9.0.3] return codecs.ascii_decode(input, self.errors)[0] > > This is actually strange - why is it pytho

[sage-support] Re: Sage 8.3 Build Fails on Debian Sid

2018-08-15 Thread Luis Finotti
It seems that the terminal output was cut. Here it is in full: https://pastebin.com/6gxaxc7P -- 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+unsub

[sage-support] Re: Sage 8.3 Build Fails on Debian Sid

2018-08-14 Thread Luis Finotti
Thanks for the reply! On Tuesday, August 14, 2018 at 5:22:31 PM UTC-4, Dima Pasechnik wrote: > > as you see at the end of the message: > log file: /usr/local/sage-8.3/logs/pkgs/pip-9.0.3.log > > please attach it. > > Done. Let me know if you have any suggestions... -- You received this message

[sage-support] Sage 8.3 Build Fails on Debian Sid

2018-08-14 Thread Luis Finotti
I've just tried to compile sage 8.3 from source on Debian Sid/Unstable. I don't see much in the screen right before it fails: [r-3.4.4.p0] mkdir -p -- /usr/local/sage-8.3/local/lib/R/modules [r-3.4.4.p0] make[7]: Leaving directory '/usr/local/sage-8.3/local/var/tmp/sage/build/r-3.4.4.p0/src/src

[sage-support] Re: Problem compiling 7.3 from source

2016-08-25 Thread Luis Finotti
On Wednesday, August 24, 2016 at 5:41:37 PM UTC-4, leif wrote: > > Luis Finotti wrote: > > I can't compile 7.3 using Debian Unstable. > > Do you intentionally (try to) build Sage's GCC? (I have to admit I > haven't tried to build 4.9.3 with 6.x, but buildi

[sage-support] Problem compiling 7.3 from source

2016-08-24 Thread Luis Finotti
I can't compile 7.3 using Debian Unstable. Here is some info on the system: System:Host: finottim83 Kernel: 4.7.0-1.slh.1-aptosid-amd64 x86_64 (64 bit gcc: 6.1.1) Desktop: KDE Plasma 5.6.5 Distro: aptosid 2013-01 Ἑσπερίδες - kde -full - (201305050307) Machine: System: LENOVO pro

Re: [sage-support] redirecting input and output to Sage

2016-01-23 Thread Luis Finotti
On Saturday, January 23, 2016 at 11:16:55 AM UTC-5, jori.ma...@uta.fi wrote: > > Quoting Luis Finotti >: > > > Could someone explain how redirection works with Sage (or point me in > the > > right direction)? > > I suggest to not do anything sage- or p

Re: [sage-support] redirecting input and output to Sage

2016-01-23 Thread Luis Finotti
Thanks for the reply! On Saturday, January 23, 2016 at 4:40:00 AM UTC-5, Jeroen Demeyer wrote: > > On 2016-01-22 22:55, Luis Finotti wrote: > > sage tmp.sage >out > This should be the right way. > > > then it takes the supposed amount of time, but the "print i

[sage-support] redirecting input and output to Sage

2016-01-22 Thread Luis Finotti
I'm having a hard time understanding how redirecting input and output works with Sage. I have a file, tmp.sage, with the following content: import time for i in range(6): print i time.sleep(10) If I start sage and issue "load('tmp.sage')", it runs as expected. If I do sage < tmp.sage >

[sage-support] Re: colors in 6.5

2015-02-21 Thread Luis Finotti
o we need to > version it. > > On Friday, February 20, 2015 at 7:58:40 PM UTC+1, Luis Finotti wrote: >> >> I've noticed that in 6.5 my terminal colors went back to the default >> (LightBG), i.e., it seems to ignore the line >> >> c.TerminalInteractiveShell

[sage-support] colors in 6.5

2015-02-20 Thread Luis Finotti
I've noticed that in 6.5 my terminal colors went back to the default (LightBG), i.e., it seems to ignore the line c.TerminalInteractiveShell.colors = 'Linux' in my $SAGEROOT/ipython-2.3.0/profile_default/ipython_config.py. (Running 6.4.1, still installed, gives me the correct colors.) Does a

[sage-support] Re: Manually Moving Worksheets

2015-02-20 Thread Luis Finotti
Thanks Andrey and kcrisman for the replies! On Thursday, February 19, 2015 at 4:05:25 PM UTC-5, Andrey Novoseltsev wrote: > > On Thursday, 19 February 2015 12:17:24 UTC-7, kcrisman wrote: >> >> >>> f.write(old_heading + g.read()) >>> exceptions.UnicodeDecodeError: 'ascii' code

[sage-support] Re: Manually Moving Worksheets

2015-02-19 Thread Luis Finotti
On Thursday, February 12, 2015 at 5:49:28 PM UTC-5, Andrey Novoseltsev wrote: > > On Wednesday, 11 February 2015 13:26:26 UTC-7, Luis Finotti wrote: >> >> Dear all, >> >> After some problems with an older computer, I'm trying to move its >> work

[sage-support] Manually Moving Worksheets

2015-02-11 Thread Luis Finotti
Dear all, After some problems with an older computer, I'm trying to move its worksheets to a new one. (Both running Linux.) The problem is that I cannot download the worksheets via Sage: when I try I can select the worksheets and click "Download", but nothing happens. It could very well be d

[sage-support] Re: terminal color in 6.2

2014-05-20 Thread Luis Finotti
On Tuesday, May 20, 2014 2:54:01 PM UTC-4, John H Palmieri wrote: > > On Tuesday, May 20, 2014 11:41:24 AM UTC-7, Luis Finotti wrote: >> >> >> >> It seems that 6.2 does not recognize the old way of configuring colors in >> the terminal. It defaults to lig

[sage-support] terminal color in 6.2

2014-05-20 Thread Luis Finotti
It seems that 6.2 does not recognize the old way of configuring colors in the terminal. It defaults to light background which makes it hard to read the prompt in light background. Can anyone tell me how to change it? Thanks, Luis -- You received this message because you are subscribed to t

Re: [sage-support] installation from source failed on 6.2

2014-05-19 Thread Luis Finotti
On Monday, May 19, 2014 5:09:33 PM UTC-4, P Purkayastha wrote: > > On Tue 20 May 2014 03:00:06 AM SGT, Luis Finotti wrote: > > > > > > On Friday, May 16, 2014 5:41:53 PM UTC-4, P Purkayastha wrote: > > > > Actually, the problem in both cases could be

Re: [sage-support] installation from source failed on 6.2

2014-05-19 Thread Luis Finotti
h, Stephen < > ste...@missouri.edu > wrote: > >> On 05/16/2014 04:29 PM, Luis Finotti wrote: >> > Dear all, >> > >> > I tried to build from source (as usual for me) in Debian unstable (64 >> bit). >> > >> > The install.log can be found h

[sage-support] Re: installation from source failed on 6.2

2014-05-16 Thread Luis Finotti
On Friday, May 16, 2014 5:34:27 PM UTC-4, P Purkayastha wrote: > > Your main error is here: > > > checking dependency style of gcc... gcc3 > checking for python... /usr/local/sage-6.2/local/bin/python > checking for a version of Python >= '2.1.0'... sys:1: RuntimeWarning: not > adding directory

[sage-support] installation from source failed on 6.2

2014-05-16 Thread Luis Finotti
Dear all, I tried to build from source (as usual for me) in Debian unstable (64 bit). The install.log can be found here: http://www.math.utk.edu/~finotti/misc/install.log Any help would be greatly appreciated. Best to all, Luis -- You received this message because you are subscribed to the

[sage-support] Re: jmol on notebook blocked in firefox

2014-03-10 Thread Luis Finotti
On Saturday, March 8, 2014 1:00:54 PM UTC-5, ssin...@coe.edu wrote: > > I'll try this again; google groups just gave me a "This message has been > deleted" after I posted...anyone know why this happened? > > > On Thursday, March 6, 2014 8:48:28 AM UTC-6, L

[sage-support] Re: jmol on notebook blocked in firefox

2014-03-10 Thread Luis Finotti
On Saturday, March 8, 2014 12:49:24 PM UTC-5, ssin...@coe.edu wrote: > > Hello, > > I had a similar problem with the sage cell server. My system: Ubuntu > 12.04-32, Chromium 32, FF 27, java-7-oracle. The fix for me: found an > application called jcontrol; I used "locate jcontrol" and found i

[sage-support] Re: jmol on notebook blocked in firefox

2014-03-10 Thread Luis Finotti
gt; > On Friday, March 7, 2014 3:45:58 AM UTC+8, Luis Finotti wrote: >> >> >>> Thanks for the reply! >> >> That is too bad, as it will make it seem less user friendly to new >> users... >> >> Is it possible to tell the notebook to open jmol in i

[sage-support] Re: jmol on notebook blocked in firefox

2014-03-06 Thread Luis Finotti
On Thursday, March 6, 2014 11:47:38 AM UTC-5, kcrisman wrote: > > > > On Thursday, March 6, 2014 9:48:28 AM UTC-5, Luis Finotti wrote: >> >> Dear all, >> >> I am making a presentation of Sage for undergraduate math students next >> week, and when trying

[sage-support] jmol on notebook blocked in firefox

2014-03-06 Thread Luis Finotti
Dear all, I am making a presentation of Sage for undergraduate math students next week, and when trying some old example I see that I cannot make a 3D graph interactive anymore. The first error is that the java plugin is "out of date and vulnerable". I've installed the latest plugin (from ht

Re: [sage-support] error compiling 5.11 from source

2013-09-20 Thread Luis Finotti
> On Friday, September 20, 2013 4:02:39 AM UTC-4, Jeroen Demeyer wrote:This > is a known and fixed bug: > http://trac.sagemath.org/sage_trac/ticket/14737 > > You could try the latest beta: > > http://boxen.math.washington.edu/home/release/sage-5.12.beta5/sage-5.12.beta5.tar > > Thanks Dmit

[sage-support] error compiling 5.11 from source

2013-09-19 Thread Luis Finotti
Dear all, I tried to compile 5.11 from source on a linux box running aptosid (basically Debian Sid) with kernel 3.11, but it stopped when compiling singular (or it seemed to me): -- Error building Sage. The following package(s) may have failed to build: package: singular-3-1-

[sage-support] Re: 3d plotting (iced-tea plugin)

2013-06-25 Thread Luis Finotti
On Tuesday, June 25, 2013 12:24:48 PM UTC-4, P Purkayastha wrote: > > The jmol is known to work reliably only with the oracle-java plugin. I > don't even know if it is tested against icedtea. > Thanks for the reply. Indeed, using oracle's java plugin worked. OTOH, most linux distributions se

[sage-support] 3d plotting (iced-tea plugin)

2013-06-24 Thread Luis Finotti
Dear all, I have been having problems with 3d plotting on the notebook. (It works OK from the command line.) It was working a couple of months ago, so I assume it was caused by some update with the icedtea plugin. I'm using icedtea-7-plugin (1.4-1) from Debian unstable. I get a gray box, wi

[sage-support] Re: problem compiling sage-5.10

2013-06-24 Thread Luis Finotti
> > Same answer: ;-) > > See #14737 [1], preliminary fixed spkg is here: > > > http://boxen.math.washington.edu/home/leif/Sage/spkgs/singular-3-1-5.p8.spkg > > (Download and copy that into spkg/standard/, then resume the build by > typing 'make' again.) > > > -leif > > > [1] http://trac.sag

[sage-support] problem compiling sage-5.10

2013-06-24 Thread Luis Finotti
Dear all, I am trying to compile sage-5.10 from source. I am using aptosid (basically Debian unstable). Apparently the error occurs when compiling singular. The log file is here: http://www.math.utk.edu/~finotti/misc/singular-3-1-5.p7.log The whole install log is here: http://www.math.utk.

Re: [sage-support] sage vs matlab

2013-03-04 Thread Luis Finotti
On Monday, March 4, 2013 2:42:48 PM UTC-5, Dr. David Kirkby wrote: > > > I think Sage would have a hard job breaking into the MATLAB > strongholds in engineering. It is used to control a lot of instruments > and data collection. > > Agilent, who are probably the world's premier test equipment

[sage-support] sage vs matlab

2013-03-04 Thread Luis Finotti
Dear all, I will give a couple of informal talks on Sage. A question that will certainly be asked is how Sage compares with MATLAB, probably in regards of performance and functionality in modeling and other applied math applications. (It seems that MATLAB is widely used here.) Since this is

[sage-support] Re: ipythonrc and Sage 5.7

2013-02-26 Thread Luis Finotti
On Tuesday, February 26, 2013 2:07:07 PM UTC-5, John H Palmieri wrote: > > > I think with the patch at , > Sage will read your file "~/.sage/ipython-0.12/profile_ > sage/ipython_config.py" correctly. > > The patch works for me! Thanks for your he

[sage-support] Re: ipythonrc and Sage 5.7

2013-02-26 Thread Luis Finotti
On Monday, February 25, 2013 2:09:48 PM UTC-5, John H Palmieri wrote: > > > Sage 5.7 included an upgrade to IPython, and the old IPython files were no > longer compatible with the new version. So now Sage looks in > ~/.sage/ipython-0.12/ for configuration. > > -- > John > > Thanks for the repl

[sage-support] ipythonrc and Sage 5.7

2013-02-25 Thread Luis Finotti
Dear all, I've compiled 5.7 from source (64 bit, linux) and noticed I lost colors and output numbering I had set in "~/.sage/ipython/ipythonrc" (for the command line). Although quite minor, I thought I should make sure if this is a bug or just a change in behavior. Thanks, Luis -- You rec

[sage-support] Re: Latex rendering in axes_labels not working

2010-08-13 Thread Luis Finotti
On Aug 13, 9:26 am, kcrisman wrote: > This works for me on 4.5.3.alpha0 (and presumably 4.5.2? anyone?) from > the command line and notebook. (...) FWIW, works in 4.5.2 for me... (64-bit, built from source). Luis -- To post to this group, send email to sage-support@googlegroups.com To unsub

[sage-support] Re: complexity of computations in Z/n*Z

2010-07-28 Thread Luis Finotti
On Jul 27, 5:54 pm, Robert Bradshaw wrote: > For anything that doesn't fit inside a single word, Sage uses the > mpz functions in MPIR to do arithmetic. There are a variety of > algorithms used--from the classical O(n^2) to various > Karatsuba/Toom-Cook ones to Schönhage–Strassen for large value

[sage-support] complexity of computations in Z/n*Z

2010-07-27 Thread Luis Finotti
Hi, I have an algorithm that has pieces that perform computations on Z/ p^i*Z for different values of i. I can count the operations for each piece, but to have an overall complexity, I need to know how the difference pieces compare. So, can anyone tell me how many bit operations are performed, i

[sage-support] Re: compilation questions

2010-05-05 Thread Luis Finotti
On May 5, 8:45 am, William Stein wrote: > On Wed, May 5, 2010 at 4:10 AM, Luis Finotti wrote: > > > Also, how do I compile a binary for this laptop using a different > > computer? > > Just do this: > > export SAGE_FAT_BINARY="yes" > make > ./sage

[sage-support] compilation questions

2010-05-05 Thread Luis Finotti
Dear all, I've just tried to compile 4.4.1 on my laptop. It is Thinkpad T60: - t60[~]$ infobash -v3 Host/Kernel/OS "t60" running Linux 2.6.33-3.slh.5-sidux-686 i686 [ sidux 2009-02 Αιθήρ - kde-lite - (200907141544) ] CPU Info(1) Genuine Intel T2500 @ 2048 KB cache flags(

[sage-support] Re: sage-mode bug?

2010-04-14 Thread Luis Finotti
On Apr 14, 3:17 am, Dan Drake wrote: > Hello sage-support (but mostly Nick Alexander), > > I'm starting to use Sage mode, and overall it seems quite nice but today > it locked up my emacs session. I was using a "run-sage" > (...) > so, when point was at the "u" > in "exhau", I hit tab -- and the

[sage-support] Re: Transitioning from Maple...

2008-07-20 Thread Luis Finotti
On Sun, Jul 20, 2008 at 5:05 PM, William Stein <[EMAIL PROTECTED]> wrote: > There is a very cool firefox extension that makes it so you can edit > *any* textarea in your web browser using emacs. I've never used it, > but saw a lot of people using it at the last Sage workshop. > Unfortunately I c

[sage-support] Re: RuntimeError: no available port

2008-07-10 Thread Luis Finotti
> There is no possible way you can run the sage notebook without > a loopback device. You absolutely must configure your linux install > to have a loopback device.It'll look something like this: > > > loLink encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 >

[sage-support] Re: RuntimeError: no available port

2008-07-10 Thread Luis Finotti
Hi, I am far from a specialist, but... What do you get if you try $ sudo iptables --list If you have rules that are blocking, you can allow all traffic by doing (as root): # iptables -F # iptables -X # iptables -t nat -F # iptables -t nat -X # iptables -t mangle -F # iptables -t

[sage-support] Re: Will Sage run on a 4GB Asus Eee PC?

2008-06-07 Thread Luis Finotti
Dear all, I just got a Eee PC 900, so it is a bit different... It has 20GB of SSD, but it seems to be partitioned (or maybe it has two SSDs?) leaving not that much space in the root partition. So, I installed it in $HOME. But, the debian binary seemed to have just worked. (I did not try "make

[sage-support] Re: plot3d freezes the browser

2008-04-09 Thread Luis Finotti
Hi, > So I purged all java packages, then installed sun-java5-jre, > sun-java5-plugin and openoffice.org (this pulled a lot of other java > packages in too) and now everything is working. > > I have no idea where the problem was. I think you have to tell debian to use the Sun's java by defau

[sage-support] Re: 3d plotting (jmol) problems

2008-04-02 Thread Luis Finotti
On Wed, Apr 2, 2008 at 12:29 PM, mabshoff <[EMAIL PROTECTED]> wrote: > > FC6 ships gcj instead of the Sun Java SDK. Recent version of gcj do > mostly work with jmol, but FC6's gcj is known to be broken. I would > recommend to install the Sun Java SDK. Alternatively you could update > the gcj r

[sage-support] 3d plotting (jmol) problems

2008-04-02 Thread Luis Finotti
Dear all, I've been having some problems with 3D plots in Sage 2.11. The machine is a dual (64 bit) Xeon with 16GB of RAM, running Fedora Core 6. boole[~]$ uname -a Linux boole.math.utk.edu 2.6.22.14-72.fc6 #1 SMP Wed Nov 21 14:10:25 EST 2007 x86_64 x86_64 x86_64 GNU/Linux I installed the bina

[sage-support] notebook on x86_64 (java)

2008-02-23 Thread Luis Finotti
Hi, Just a quick question. Since there is no java plugin for 64-bit firefox, does one need a 32-bit firefox (with the 32-bit java plugin) to get 3D plots in the notebook? (In Linux, running Debian Etch on Core 2 Duo with kernel 2.6.18-6-amd64.) Thanks, Luis --~--~-~--~~--

[sage-support] Re: 0^0 in sage-2.10.1 still undefined for Rationals...

2008-02-05 Thread Luis Finotti
Dear all, On Feb 5, 2008 10:23 AM, William Stein <[EMAIL PROTECTED]> wrote: > > On Feb 4, 2008 7:23 AM, Georg <[EMAIL PROTECTED]> wrote: > > > > Hi, > > sage: Rational(0)^Rational(0) > > --- > >Traceback (most recent

[sage-support] Re: more on that sh: cannot create notebook.log: Permission denied

2008-01-18 Thread Luis Finotti
On Jan 18, 2008 11:52 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I am in the same situation that he is in. I tried what you said and > the notebook won't open on my firefox. Wild guess here: I has some similar problems because of (possibly my improper use of) "sudo". You could try:

[sage-support] Re: can one modify how xdvi executes when "show" is invoked?

2008-01-18 Thread Luis Finotti
Hi, On Jan 18, 2008 12:16 AM, Rick Pember <[EMAIL PROTECTED]> wrote: > > I'm running sage remotely (see previous post to see why) and "show" > makes a somewhat blurry image. I found that using xdvi on a .dvi > file gave me the same problem -- so the problem is with my version > of xdvi, not sage

[sage-support] Re: Problems with 2.9.3, jmol applet, jsMath fonts

2008-01-14 Thread Luis Finotti
Dear Michael, On Jan 14, 2008 11:58 AM, mabshoff <[EMAIL PROTECTED]> wrote: (...) > > But, so far, I haven't had any problems while running my old stuff... > > The doctest that fails communicates with another Sage instance. I have > seen this fail on occasion with systems with low memory. Since

[sage-support] Re: Problems with 2.9.3, jmol applet, jsMath fonts

2008-01-12 Thread Luis Finotti
Dear Michael (and Ted, and all), Thanks for your reply! On Jan 11, 2008 10:56 AM, mabshoff <[EMAIL PROTECTED]> wrote: > > Here is the error: > > > > -- > > ** > > File "sage0.py", line 47: > > sage: a^3 > >

[sage-support] Problems with 2.9.3, jmol applet, jsMath fonts

2008-01-10 Thread Luis Finotti
Dear all, I've been having problems running Sage 2.9 in my home computer: Athlon XP 2800+, running Debian Etch, with kernel 2.6.18-4-k7. I tried the pre-compiled versions, but they game many errors when testing, which I assumed it was due to an old CPU (as I've seen mentioned before). So, I com

[sage-support] small bug?

2007-11-16 Thread Luis Finotti
Hi, I think this might be a small bug: sage: R=Zmod(4) sage: P.=PolynomialRing(R) sage: f=X^4+1 sage: f.parent() _4 = Univariate Polynomial Ring in X over Ring of integers modulo 4 sage: f.factor() _5 = (X + 1)^4 which is clearly incorrect: sage: (X+1)^4 _6 = X^4 + 2*X^2 + 1 I assume that th

[sage-support] Re: sage-2.8.5

2007-09-21 Thread Luis Finotti
Dear all, On 9/21/07, William Stein <[EMAIL PROTECTED]> wrote: > > NOTE: Since this is such a major release, there will likely be problems > and a 2.8.5.1 release shortly to fix them. Please report! I am not sure if this is an issue only with me, but... Compilation (from scratch) seems to hav

[sage-support] Re: change from root to admin in notebook

2007-08-01 Thread Luis Finotti
On 8/1/07, William Stein <[EMAIL PROTECTED]> wrote: > Could you try > 1) sage: hg_sage.pull() > 2) exit sage > 3) sage -br > 4) Then try notebook() This made the worksheets owned by "root" to appear, but it did not give me access to them, since the owner is "root", not "admin". I get: "You are

[sage-support] Re: change from root to admin in notebook

2007-08-01 Thread Luis Finotti
Hi, Thanks for the reply. On 8/1/07, William Stein <[EMAIL PROTECTED]> wrote: > I'll fix this for SAGE-2.7.3. In the meantime, please type > > sage: notebook(reset=True) > > which will give you a chance to set the admin password. I should have mentioned that I had tried that already, and it

[sage-support] change from root to admin in notebook

2007-08-01 Thread Luis Finotti
Hi, It seems that the change from "root" to "admin" as the default user with the notebook made it stop working. If I remove (or rename) $HOME/sage_notebook, then SAGE asks for the "admin" password and everything works fine. On the other hand, this makes me lose my previous sessions. Is there a

[sage-support] Re: return of an old problem

2007-08-01 Thread Luis Finotti
Hi, On 8/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Some time ago I asked for and requested help for a bizarre problem > that occurs only for me -- namely, sage cannot find octave on my > computer even though it is properly installed. At that time you > suggested that I add a small fi

[sage-support] installing SAGE 2.7

2007-07-22 Thread Luis Finotti
Hi, I've just tried to install SAGE 2.7 from the source. The computer is a dual Xeon (64-bit) Dell running Fedora 6. It seems that the problem is Fortran. It seems that system has gfortran installed: boole[/scratch/local/sage-2.7]$ locate gfortran /scratch/local/sage-2.7/spkg/installed/gfortr

[sage-support] Re: is_RealNumber does not work

2007-05-10 Thread Luis Finotti
Dear all, On 5/10/07, Kyle Schalm <[EMAIL PROTECTED]> wrote: > > > presumably you could do > > if CC(x).imag() != 0: > # raise error > I don't know if things have changed, but usually you have to be careful with testing equality of real numbers. Approximation errors might

[sage-support] Re: polynomial evaluation

2007-03-07 Thread Luis Finotti
On 3/7/07, Kyle Schalm <[EMAIL PROTECTED]> wrote: > . the question is: how do i evaluate w while leaving z untouched? > (i actually want to do this when R1 is a multivariable ring, but i imagine > it works the same way.) > Can't you just work with all the variables together, like: sage: P.=QQ['

[sage-support] Re: Failure to upgrade to 2.0

2007-02-18 Thread Luis Finotti
Hi again, On 2/18/07, William Stein <[EMAIL PROTECTED]> wrote: > > Your Python install appears to messed up -- I guess. You should just > reinstall from scratch at this point. Sorry for the inconvenience. I'm sorry to stir the pot again, but a fresh install failed too, and again it seems to be d

[sage-support] Re: Failure to upgrade to 2.0

2007-02-18 Thread Luis Finotti
Hi, On 2/18/07, William Stein <[EMAIL PROTECTED]> wrote: > Definitely copying that Crypto directory is the wrong thing to do, and you > should remove it. Then you should do > sage -f pycrypto-2.0.1.spkg > and finally > sage -upgrade Thanks. But it did not work: debian[/usr/local/sage-1.5.

[sage-support] Re: Failure to upgrade to 2.0

2007-02-18 Thread Luis Finotti
odule Crypto.Cipher.DES3: This Python has API version 1013, module Crypto.Cipher.DES3 has version 1012. from Crypto.Cipher import DES3 Redoing the "fix" below (copying the directories) did not help. Any suggestions? Thanks, Luis On 1/29/07, Luis Finotti <[EMAIL PROTECTED]&

[sage-support] Re: Real points on elliptic curves

2007-02-07 Thread Luis Finotti
On 2/8/07, William Stein <[EMAIL PROTECTED]> wrote: > I found it is as follows: (...) Thanks for the pointers. > The approximate real number library mpfr that SAGE builds on defines > equality for approximate real numbers in SAGE. If you look at > the underlying binary representations of the

[sage-support] Re: Real points on elliptic curves

2007-02-07 Thread Luis Finotti
Hello, > It's good that you asked.Do this instead: > > sage: E=EllipticCurve(RR,[0,-1]) > sage: x0=RR(4)^(1/3) > sage: y0=sqrt(RR(3)) > sage: p=E.point([x0,y0,1], check=False) > sage: p > (1.58740105196819 : 1.73205080756887 : 1) > sage: 2*p, 3*p > ((1.58740105196819 : -1.73205080756887 : 1),

[sage-support] Real points on elliptic curves

2007-02-07 Thread Luis Finotti
Hi, I wanted to make a little script that given an elliptic curve and two points, it would plot the addition with the corresponding lines, labels, etc. to use in a talk for undergraduates. I wanted to only specify the x-coordinates and choices for the corresponding y's (the larger value, or the

[sage-support] Re: Failure to upgrade to 2.0

2007-01-29 Thread Luis Finotti
, Luis On 1/29/07, Luis Finotti <[EMAIL PROTECTED]> wrote: > Hi, > > After successfully upgrading both my laptop and my work desktop to > 2.0, I had problems upgrading my home desktop. The install went OK (I > thought it had succeeded, but w

  1   2   >