[sage-support] Is jupyter broken in sage 7.6?

2017-04-14 Thread Stan Schymanski
Dear all, I just upgraded to 7.6 on Debian jessie, but when I try to run the jupyter notebook, I get the below error message. When I just run `sage` and then notebook(), I don't get any error messages. Has anyone experienced this problem as well? If not, I may try to re-install sage 7.6 instead

[sage-support] Re: export of sagenb to jupyter not working?

2016-09-07 Thread Stan Schymanski
Can you post your logs/pkgs/sagenb_export-2.0.log > > You can try to run "sage -p sagenb_export" to install it by hand > > On Tuesday, September 6, 2016 at 2:34:38 PM UTC+2, Stan Schymanski wrote: >> >> Sorry for the late response. I cannot upload all my worksheets,

[sage-support] Re: export of sagenb to jupyter not working?

2016-09-06 Thread Stan Schymanski
ink within the Sage > directory is best? > > On Friday, August 26, 2016 at 4:27:42 PM UTC-4, Stan Schymanski wrote: >> >> I have > 400 worksheets in ~/.sage/sage_notebook.sagenb/home/admin. >> >> On Friday, August 26, 2016 at 7:44:15 PM UTC+2, Volker Braun wrote: >

[sage-support] Re: export of sagenb to jupyter not working?

2016-09-06 Thread Stan Schymanski
sage-upgrade/local/lib/python/os.py", line 382, in _execvpe func(fullname, *argrest) OSError: [Errno 2] No such file or directory On Friday, August 26, 2016 at 11:30:55 PM UTC+2, Volker Braun wrote: > > can you upload them somewhere or at least post your error message? > > O

[sage-support] Re: export of sagenb to jupyter not working?

2016-08-26 Thread Stan Schymanski
I have > 400 worksheets in ~/.sage/sage_notebook.sagenb/home/admin. On Friday, August 26, 2016 at 7:44:15 PM UTC+2, Volker Braun wrote: > > Do you have worksheets in sagenb? They should be > in ~/.sage/sage_notebook.sagenb/ > > > -- You received this message because you are subscribed to the Go

[sage-support] export of sagenb to jupyter not working?

2016-08-26 Thread Stan Schymanski
I upgraded to sage 7.3, hoping that I would be able to convert some of my sagenb worksheets to jupyter, using "sage --notebook=export", however, "sage --notebook=export --list" fails with "No such file or directory". Do I need to provide the path to my sagenb notebook somehow? If I just do "./s

[sage-support] Re: How to "publish" a sage worksheet permanently?

2016-08-26 Thread Stan Schymanski
don't understand what is going on. Thanks again for your help! On Friday, August 26, 2016 at 2:35:04 PM UTC+2, Stan Schymanski wrote: > > Thanks, I saw this, but it didn't work in my installed sage 7.2. Currently > upgrading to 7.3. I couldn't find out which version of sa

[sage-support] Re: How to "publish" a sage worksheet permanently?

2016-08-26 Thread Stan Schymanski
emath.org/ticket/19877 > and links therein for details. > > Cheers >> Henri >> >> Le vendredi 26 août 2016 10:55:17 UTC+2, Stan Schymanski a écrit : >>> >>> Dear all, >>> >>> I have been using sagemath for research for many years now, and

[sage-support] Re: How to "publish" a sage worksheet permanently?

2016-08-26 Thread Stan Schymanski
c.sagemath.org/ticket/19877 > and links therein for details. > > Cheers >> Henri >> >> Le vendredi 26 août 2016 10:55:17 UTC+2, Stan Schymanski a écrit : >>> >>> Dear all, >>> >>> I have been using sagemath for research for many years now,

[sage-support] Re: How to "publish" a sage worksheet permanently?

2016-08-26 Thread Stan Schymanski
>> > > on a standalone sage installation one can run > >sage --notebook=export > > see https://trac.sagemath.org/ticket/19877 > and links therein for details. > > Cheers >> Henri >> >> Le vendredi 26 août 2016 10:55:17 UTC+2, Stan Schymanski a

Re: [sage-support] How to "publish" a sage worksheet permanently?

2016-08-26 Thread Stan Schymanski
e-few-examples-where-can-I-put-them-at-disposition-td43483.html > Hope this help ? > Henri > > > > Le 26/08/2016 à 11:28, Stan Schymanski a écrit : > > Wow, I didn't realise ipynb worksheets get rendered on github! How did you > do this? I looked at this one: > htt

[sage-support] Re: How to "publish" a sage worksheet permanently?

2016-08-26 Thread Stan Schymanski
Ah, I found the "Share..." button on SMC, which then allows to publish. Here is an example: https://cloud.sagemath.com/projects/34b4b62a-2621-47c8-9bda-cde3a855f995/files/v-notch.sagews It appears that .sws (i.e. sagenb worksheets) get automatically converted to .sagews, which seems to work in S

Re: [sage-support] How to "publish" a sage worksheet permanently?

2016-08-26 Thread Stan Schymanski
gt; could be view :) > > https://github.com/aishenri > > Le 26/08/2016 à 10:55, Stan Schymanski a écrit : > > Dear all, > > I have been using sagemath for research for many years now, and I am > extremely happy with it. For my latest papers, I would like to make the >

[sage-support] How to "publish" a sage worksheet permanently?

2016-08-26 Thread Stan Schymanski
Dear all, I have been using sagemath for research for many years now, and I am extremely happy with it. For my latest papers, I would like to make the sage code available to the public, so that people can follow through what I did and re-use the code for their own data. The journal's guidelines

[sage-support] Re: sudden amnesia in sage worksheet

2015-10-28 Thread Stan Schymanski
before restarting. On Wednesday, October 28, 2015 at 9:18:42 AM UTC+1, Stan Schymanski wrote: > > Dear all, > > I ran a series of computations in a sage workheet using the "Evaluate all" > button, which takes a whole night. When I checked this morning, I realised > tha

[sage-support] sudden amnesia in sage worksheet

2015-10-28 Thread Stan Schymanski
Dear all, I ran a series of computations in a sage workheet using the "Evaluate all" button, which takes a whole night. When I checked this morning, I realised that while running a particular cell towards the end, the computation was aborted half way through without an error message and all sub

[sage-support] Re: Installation problem

2015-04-21 Thread Stan Schymanski
I faced the same problem when installing sage on a different computer and then copying my .sage folder from my original computer across. First I had a permission problem and when fixing this by chown -R newuser .sage, I got the Errno 39 as above. I found out that some symlinks didn't copy across

[sage-support] Re: Bug in solve?

2015-01-07 Thread Stan Schymanski
ashes any more (memory gets freed after each run). Just in case someone with a similar problem stumbles over this. On Friday, March 29, 2013 10:08:26 PM UTC+1, Stan Schymanski wrote: > > I just found out that adding an additional print command in fun_dynamics > makes the crash move

[sage-support] simplify_full and others disappeared in Sage 6.2??

2014-09-19 Thread Stan Schymanski
Is this just my computer, or has anyone else experienced this: ┌┐ │ Sage Version 6.2, Release Date: 2014-05-06 │ │ Type "notebook()" for the browser-based notebook interface.│ │ Type "help()" for he

Re: [sage-support] Re: Search function at sagemath.org broken?

2014-01-28 Thread Stan Schymanski
esday, January 22, 2014 11:14:23 AM UTC+1, Stan Schymanski wrote: Dear all, I haven't bee able to use the search function at http://www.sagemath.org/search.html <http://www.sagemath.org/search.html> for a while. Whatever I type into the search field, it always return

Re: [sage-support] Re: Search function at sagemath.org broken?

2014-01-27 Thread Stan Schymanski
:14:23 AM UTC+1, Stan Schymanski wrote: Dear all, I haven't bee able to use the search function at http://www.sagemath.org/search.html <http://www.sagemath.org/search.html> for a while. Whatever I type into the search field, it always returns 0 results. Has anyone

[sage-support] Search function at sagemath.org broken?

2014-01-22 Thread Stan Schymanski
Dear all, I haven't bee able to use the search function at http://www.sagemath.org/search.html for a while. Whatever I type into the search field, it always returns 0 results. Has anyone experienced this problem, or is it just my browser? This is on FF 26.0 under Ubuntu. Thanks for your help

[sage-support] Re: Save session IOError: [Errno 2]

2013-11-05 Thread Stan Schymanski
By the way, is there a possibility at all to save a session to a directory of choice, so that it can be re-loaded in a different worksheet? That would be very useful. Cheers Stan On Friday, August 9, 2013 6:29:50 PM UTC+2, P Purkayastha wrote: > > On 08/09/2013 09:53 PM, Stan Schymanski

[sage-support] Re: Save session IOError: [Errno 2]

2013-11-05 Thread Stan Schymanski
'../../data/' to the path. Why not just remove this and ask the user to provide an explicit path? This would also reduce the clutter in the .sage directory. Cheers Stan On Friday, August 9, 2013 6:29:50 PM UTC+2, P Purkayastha wrote: > > On 08/09/2013 09:53 PM, Stan Schymanski w

[sage-support] Re: Save session IOError: [Errno 2]

2013-08-09 Thread Stan Schymanski
I just stumbled over your post as I experienced the same error. There is actually a ticket for it here: http://trac.sagemath.org/ticket/9805 It looks like a 5 minutes-job for someone familiar with creating patches, but unfortunately, nobody has touched it for 3 years now... Pity! Cheers Stan

[sage-support] Re: Bug in solve?

2013-03-29 Thread Stan Schymanski
? Cheers Stan On Friday, March 29, 2013 6:23:27 PM UTC+1, kcrisman wrote: > > > > On Friday, March 29, 2013 12:39:48 PM UTC-4, Stan Schymanski wrote: >> >> Thanks for offering to look into it, kcrisman. >> I wasn't able to isolate the error yet, but I uploaded a

[sage-support] Re: Bug in solve?

2013-03-29 Thread Stan Schymanski
time now. Maybe it is an error in my code after all... Cheers Stan On Friday, March 29, 2013 4:37:09 PM UTC+1, kcrisman wrote: > > > > On Friday, March 29, 2013 6:14:21 AM UTC-4, Stan Schymanski wrote: >> >> Using 5.8 in Ubuntu 12.10, I get the same segmentation fault

[sage-support] Re: Bug in solve?

2013-03-29 Thread Stan Schymanski
Hi Jan, I did compile from source on my local laptop. Here is what I got when trying sage -gdb: sage -gdb -- | Sage Version 5.8, Release Date: 2013-03-15 | | Type "notebook()" for the browser-based note

[sage-support] Re: Bug in solve?

2013-03-29 Thread Stan Schymanski
Using 5.8 in Ubuntu 12.10, I get the same segmentation fault message in a looping code without involving any solve() command. I am just using a series of equations to calculate different values of variables saved in a dictionary ("vdict") and substitute those in the next equations, e.g.: vdict[

[sage-support] Re: prebuild sage v5.4.1, linux 32-bit: twistd get wrong pidfile name when starting notebook(dir=..)

2013-01-15 Thread Stan Schymanski
I just found the related bug report and added a workaround: https://github.com/sagemath/sagenb/issues/116 On Tuesday, January 15, 2013 11:23:24 AM UTC+1, Stan Schymanski wrote: > > This is still a problem in Sage 5.5, and on linux 64-bit. Have you found a > workaround? > > Cheer

[sage-support] Re: sage v5.4.1 linux 32bit, twistd error when starting notebook(dir=..)

2013-01-15 Thread Stan Schymanski
Confirmed on 5.4.1 and 5.5. I added it to the bug report. On Tuesday, November 27, 2012 7:59:57 PM UTC+1, Jason Grout wrote: > > On 11/23/12 3:19 PM, Andre, der Besonnene wrote: > > When I start a notebook without giving a directory parameter > > everything works fine. But when I try to add a

[sage-support] Re: prebuild sage v5.4.1, linux 32-bit: twistd get wrong pidfile name when starting notebook(dir=..)

2013-01-15 Thread Stan Schymanski
This is still a problem in Sage 5.5, and on linux 64-bit. Have you found a workaround? Cheers Stan On Friday, November 23, 2012 10:01:18 PM UTC+1, Andre, der Besonnene wrote: > > I'm trying to update to sage 5.4.1. When I start a notebook without a > directory parameter, everything goes fine. B

[sage-support] suddenly, sage makes my firefox sluggish

2012-01-04 Thread Stan Schymanski
Dear all, I haven't done anything other than running the regular Firefox upgrades in Ubuntu 11.04 and now the notebook suddenly started slowing down my Firefox. Has anybody else experienced this problem? Especially when I double-click in a html-cell, it takes minutes before the text appears in the

[sage-support] Re: severe notebook problems - how to troubleshoot?

2011-10-25 Thread Stan Schymanski
aspx: Type this into the address bar: about:config type this into the filter: browser.cache.check_doc_frequency change the value to: 1 more info: 3 - only check if it seems outdated 2 - always use cached version 1 - always check for newer version 0 - check for newer version once per session

[sage-support] Re: copy and paste of units?

2011-10-25 Thread Stan Schymanski
Thanks a lot, Keshav and Simon! This would sound like a flaw in the design to me, if there was no way to reconstruct a dictionary from its display form. In fact, it usually works (also for lists, arrays etc.), just not with units, as their input and display forms are different. I think that it wou

[sage-support] copy and paste of units?

2011-10-24 Thread Stan Schymanski
Dear all, I am using a dictionary to store units of variables, such as var('h_c') udict = {} udict[h_c] = E*units.energy.joule However, whenever I display the dictionary, I only see: {h_c: h_c*joule} This means that I cannot copy and paste the dictionary into a new worksheet, as it raises an er

[sage-support] Re: plots with logarithmic axis?

2011-10-21 Thread Stan Schymanski
That would be a great feature! Stan On Oct 13, 4:32 pm, Jason Grout wrote: > On 10/13/11 9:18 AM, Jason Grout wrote: > > > > > > > > > > > On 10/13/11 6:25 AM, Stan Schymanski wrote: > >> Dear all, > > >> According to tickethttp://trac.sa

[sage-support] plots with logarithmic axis?

2011-10-13 Thread Stan Schymanski
Dear all, According to ticket http://trac.sagemath.org/sage_trac/ticket/4529, http://trac.sagemath.org/sage_trac/ticket/1431 shows a way how to use logarithmic axes in plot(), but I am just not getting it. Could someone point me in the right direction or give a simple example for a plot with the y

[sage-support] Re: severe notebook problems - how to troubleshoot?

2011-10-04 Thread Stan Schymanski
clicked on "Stop loading" and then the "Reload" button, the page loaded correctly. Thanks a lot! Stan On Oct 4, 4:31 pm, Jason Grout wrote: > On 10/4/11 9:19 AM, Stan Schymanski wrote: > > > Well, here we get back to another unsolved problem, related to large > >

[sage-support] Re: severe notebook problems - how to troubleshoot?

2011-10-04 Thread Stan Schymanski
> On 10/4/11 8:57 AM, Stan Schymanski wrote: > > > OK, the problem does not occur in Konqueror. Does this lead us > > somewhere? > > Maybe it's a bug in jsmath with Firefox 7?  Does the problem only happen > on this worksheet in FF7, or does it happen in other work

[sage-support] Re: severe notebook problems - how to troubleshoot?

2011-10-04 Thread Stan Schymanski
OK, the problem does not occur in Konqueror. Does this lead us somewhere? Thanks, Stan > > > Do you have this problem in other browsers?  It could be that FF 7 broke > > something. > > > Thanks, > > > Jason -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from

[sage-support] Re: severe notebook problems - how to troubleshoot?

2011-10-04 Thread Stan Schymanski
No, I didn't refresh the page at all. It just keeps repeating the png GET requests. I'll try with Konqueror and report back. Cheers Stan On Oct 4, 3:05 pm, Jason Grout wrote: > On 10/4/11 7:46 AM, Stan Schymanski wrote: > > > Sorry, I didn't include a large enough ra

[sage-support] Re: severe notebook problems - how to troubleshoot?

2011-10-04 Thread Stan Schymanski
es_labels(['$D$ (m)', 'Heat flux upper side (J m$^{-2}$ s $^{-1}$ )']) P /// }}} On Oct 4, 2:33 pm, Jason Grout wrote: > On 10/4/11 7:05 AM, Stan Schymanski wrote: > > > Error in parsing value for 'cursor'. > > That looks harmless:http://forums.

[sage-support] Re: severe notebook problems - how to troubleshoot?

2011-10-04 Thread Stan Schymanski
Here is the web console output when I click on "Save and Quit": [14:01:28.812] Error in parsing value for 'filter'. Declaration dropped. @ http://localhost:8000/javascript/jqueryui/css/sage/jquery-ui-1.7.2.custom.css:18 [14:01:28.868] Unknown property 'zoom'. Declaration dropped. @ http://local

[sage-support] Re: severe notebook problems - how to troubleshoot?

2011-10-04 Thread Stan Schymanski
Thanks, Jason! I will work on it for a bit more and keep the web console open to see if there are any error messages when the problem re-occurs. At the moment, it looks as if the refresh button helped a lot. Cheers Stan On Oct 4, 1:48 pm, Jason Grout wrote: > > Seehttps://developer.mozilla.org/

[sage-support] Re: severe notebook problems - how to troubleshoot?

2011-10-04 Thread Stan Schymanski
Thanks, Jason, for looking into this. The worksheet has 3595 lines of text when I click on edit, and no attached files. I am not sure what you mean by typesetting, but I have not checked the "Typeset" box. I do, however, use quite a few latex equations in the html cells, and have a lot of plots. E

[sage-support] severe notebook problems - how to troubleshoot?

2011-10-04 Thread Stan Schymanski
Dear all, I am having more and more trouble with a worksheet I have been working on for the past few weeks, to the point that I can't work on it properly any more, because changes are not saved and upon quitting and reopening it gets into an infinite "Jsmath processing" loop. Only restarting the n

[sage-support] Re: copy and paste of long expressions in worksheet?

2011-09-08 Thread Stan Schymanski
It helps a lot, thanks so much! Stan On Sep 8, 5:12 pm, Jason Grout wrote: > On 9/8/11 9:58 AM, Stan Schymanski wrote: > > > Dear all, > > > Is there a way to display a long expression in a way that can be > > copied and pasted into a new cell in the worksheet or int

[sage-support] copy and paste of long expressions in worksheet?

2011-09-08 Thread Stan Schymanski
Dear all, Is there a way to display a long expression in a way that can be copied and pasted into a new cell in the worksheet or into another worksheet? As in the example below, the output displayed in my browser contains some line breaks that lead to an error message when pasted into a new cell.

[sage-support] Re: how to a copy of a nested list?

2011-08-19 Thread Stan Schymanski
Thanks a lot for the explanations. I like the example of windows or connections; haven't thought of it from that perspective. It did take me a long time to figure out what was happening here, so maybe the above examples would be good in the documentation when the user is introduced to lists. Not su

[sage-support] Re: how to a copy of a nested list?

2011-08-18 Thread Stan Schymanski
d. Since copy(L) does not do what I would expect anyway, I will avoid it. Frankly, as intuitive as Python is in other respects, this behaviour blows my mind. Cheers Stan On Aug 17, 6:19 pm, Robert Bradshaw wrote: > On Wed, Aug 17, 2011 at 9:09 AM, Stan Schymanski wrote: > > Dear

[sage-support] how to a copy of a nested list?

2011-08-17 Thread Stan Schymanski
Dear all, This has been driving me mad. According to the python documentation, you can modify a copy of a list without modifying the original using the following code: sage: L = [] sage: M = L[:] # create a copy sage: # modify L only sage: L.append(1) sage: M [] Now, I want to do the same with a

[sage-support] Re: subtraction of variables with same units should not make the unit disappear

2011-08-03 Thread Stan Schymanski
The problem is that you cannot check the units of your result in general, as you have to make sure that the values you enter do not lead to a cancellation. This is non-trivial for more complicated expressions. I agree, it is not a bug in terms of coding but the concept is not suitable for this purp

[sage-support] Re: subtraction of variables with same units should not make the unit disappear

2011-08-02 Thread Stan Schymanski
Thanks for the confirmation, Maarten! Using my brain is not an option as it has very limited capacities when it comes to units... As you point out, addition or subtraction of different units should raise an error. I forwarded this to sage-devel here: http://groups.google.com/group/sage-devel/browse

[sage-support] subtraction of variables with same units should not make the unit disappear

2011-07-29 Thread Stan Schymanski
Dear all, I am not sure if I am using the units package correctly, but I have the following problem: I want to assign different units to variables, then get the units of derived variables that are functions of others and check for consistency at the end. Here is a simple example. I know the units

[sage-support] list_plot does not plot numpy arrays any more

2011-07-12 Thread Stan Schymanski
Dear all, since I upgraded from 4.6 to 4.7 (I also moved from a Mac to Ubuntu), I cannot use a 1-D numpy array in list_plot any more. Is this intended, or is it a bug? It breaks backwards compatibility and I don't see the rationale behind it. Here is an example (just copy and paste into a workshe

[sage-support] error in latex()

2010-09-14 Thread Stan Schymanski
Dear all, I think that I found an annoying bug in latex. In a notebook cell, automatic_names(True) latex(exp((298*S_j - H_j)/(298*R_m))) gives e^{\left(\frac{-H_{j} - 298 \, S_{j}}{298 \, R_{m}}\right)} The sign of 298 S_j is reversed!! Actually, is there a way to latexify an expression befor

[sage-support] Bad Request Maximum length of 102400 bytes exceeded.

2010-08-27 Thread Stan Schymanski
Dear all, When trying to change the code of a worksheet in a text editor (using the edit button in the worksheet), I get the following error message whenever I want to save changes: Bad Request Maximum length of 102400 bytes exceeded. Does anyone have an idea what could cause this and how this c

[sage-support] Re: plotting an arrow in pylab

2010-08-27 Thread Stan Schymanski
Hi Jason, Thanks for verifying this and sorry for the missing "import numpy" line. I will post it to the matplotlib list. Cheers Stan On 8/26/10 4:43 PM, Jason Grout wrote: On 8/26/10 9:16 AM, Jason Grout wrote: On 8/26/10 8:04 AM, Stan Schymanski wrote: import pylab pylab.clf

[sage-support] plotting an arrow in pylab

2010-08-26 Thread Stan Schymanski
Dear all, I am not sure if this is a bug in pylab or sage, but I am not able to plot an arrow outside of the plot area in a pylab plot any more. This used to work: import pylab pylab.clf() # clear the figure first fig = pylab.figure(1,figsize=(8,5)) ax = fig.add_subplot(111, autoscale_on=False, x

[sage-support] Re: undo function in notebook stuffed entirely

2010-08-16 Thread Stan Schymanski
I just found another related ticket, which is more akin to the problem I described: http://trac.sagemath.org/sage_trac/ticket/7579 Sorry about the noise, but it took me a while to find this ticket, so I thought I'd better add it to this thread. Cheers Stan On Jul 19, 12:27 am, Stan Schym

[sage-support] Re: undo function in notebook stuffed entirely

2010-07-18 Thread Stan Schymanski
the switch to the sagenb package. - kcrisman On Jul 16, 10:38 am, Stan Schymanski wrote: Dear all, There has been a post in April about problems with the undo function in the notebook and a ticket was created, but I have to report that the undo function is stuffed entirely both in sage 4.4.3 a

[sage-support] undo function in notebook stuffed entirely

2010-07-16 Thread Stan Schymanski
Dear all, There has been a post in April about problems with the undo function in the notebook and a ticket was created, but I have to report that the undo function is stuffed entirely both in sage 4.4.3 and 4.4.4. I just saved and closed a worksheet that was misbehaving and when I re- opened it,

[sage-support] Re: html.table() still leads to texttt error

2010-07-02 Thread Stan Schymanski
can also limit the number of digits to be displayed, e.g. n(fb_values_10[i], digits=3) for better readability. I still think that the \texttt problem is a bug, but if no-one else is troubled by it, it's probably not worth creating a ticket. Cheers Stan On 30/06/10 10:15, Stan Schymanski

[sage-support] html.table() still leads to texttt error

2010-06-30 Thread Stan Schymanski
Dear all, As reported in http://groups.google.com/group/sage-support/browse_thread/thread/b35dc4f890f48677/32bce5d080ef80d1?lnk=gst&q=texttt#32bce5d080ef80d1, the control sequence \texttt leads to an error in Jsmath. This is supposed to be solved in Sage 4.4, but when I use html.table() to display

Re: [sage-support] Question on sage -upgrade

2010-02-09 Thread Stan Schymanski
I had a similar problem, in a directory where I had not applied any patches previously, so it seems like a problem with 4.3.2. I actually randomly answered no and yes, whichever allowed me to finish the upgrade. No problems so far, but I'd like to know what the possible consequences are, too. O

[sage-support] accessing parts of expressions

2010-01-27 Thread Stan Schymanski
Dear all, Before the switch to Pynac, it was possible to access parts of expressions by indexing, e.g. f = x^3 + 2*x^2 + 3*x f[0] x^3 Now I get the error message TypeError: 'sage.symbolic.expression.Expression' object does not support indexing Below, I pasted an example how Burcin wanted to impl

Re: [sage-support] substitution in sums and multiplications

2010-01-26 Thread Stan Schymanski
Is there a reason why integers are treated so differently to variables? If, for example, 2 is replaced by a variable, everything works as expected: h = (k1 + k2)*x h.subs_expr(k1 + k2 == k3) k3*x I don't understand why g is expanded to 2*k1 + 2*k2 but h not to x*k1 + x*k2 Is there no way

Re: [sage-support] Re: problem evaluating an integral

2010-01-20 Thread Stan Schymanski
und. Thanks, Jason -- ________ Stan Schymanski Scientist Max Planck Institute for Biogeochemistry Postfach 10 01 64 D-07701 Jena Phone: +49.3641.576264 Fax: +49.3641.577274 WWW: http://www.bgc-jena.mpg.de/~sschym Biospheric Theory and Modelling Group http://www.bgc-je

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-09 Thread Stan Schymanski
William Stein wrote: > I like this proposal. In fact, it's basically what I just wrote > above, and what I plan to implement, though the user interface should > be more html-ish rather than latex-ish (i.e., and no > backslashes). > > William > > Yes, I noticed that you wrote the answer to my

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-08 Thread Stan Schymanski
labels to consecutive numbers, similarly to LaTex (?). Stan -- ____ Stan Schymanski Scientist Max Planck Institute for Biogeochemistry Postfach 10 01 64 D-07701 Jena Phone: +49.3641.576264 Fax: +49.3641.577274 WWW: http://www.bgc-jena.mpg.de/~sschym Biospheric

Re: [sage-support] problem with sage -upgrade

2009-11-22 Thread Stan Schymanski
Thanks, William! Unfortunately, this did not solve the issue. I am still getting the message "TypeError: Unable to start maxima". Stan William Stein wrote: > On Fri, Nov 20, 2009 at 1:58 AM, Stan Schymanski wrote: > >> Did the upgrade still work for you? >> M

Re: [sage-support] problem with sage -upgrade

2009-11-20 Thread Stan Schymanski
rom others that they have been doing it for years. Cheers Stan Minh Nguyen wrote: > Hi Stan, > > On Thu, Nov 19, 2009 at 9:31 PM, Stan Schymanski wrote: > >> Dear all, >> >> I compiled sage 4.2 from source on my Macbook Pro with OSX 10.4.11 and >> when I trie

[sage-support] problem with sage -upgrade

2009-11-19 Thread Stan Schymanski
Dear all, I compiled sage 4.2 from source on my Macbook Pro with OSX 10.4.11 and when I tried sage -upgrade, I was asked to enter a commit message. I aborted (by typing :q) and the upgrade is continuing now, but this does not seem normal. Did anyone else experience something similar? Thanks for y

[sage-support] Re: New work sheet stopped working FireFox 3.5.4

2009-11-09 Thread Stan Schymanski
I just upgraded to FireFox 3.5.4 on OSX 4.11 and do not have this problem, so it seems to be a problem with VirtualBox. Hope this helps to narrow it down. Sorry I can't be of more help. Cheers Stan madison.mich...@gmail.com wrote: > I am using Sage 4.2 in VirtualBox and FireFox 3.5.4. The

[sage-support] Re: convertor Sage -> TeX -> PDF

2009-11-09 Thread Stan Schymanski
a lot of error messages and formatting glitches with the worksheet I tried it on, but it is a good start. Cheers Stan ma...@mendelu.cz wrote: > > On 6 lis, 16:05, Stan Schymanski wrote: > >> By the way, how do you get the attachment out of the pdf? I tried >> clicking on

[sage-support] Re: convertor Sage -> TeX -> PDF

2009-11-02 Thread Stan Schymanski
Dear Wilfried, The tutorial looks great! How did you do the numbered head lines and the index? Is the sage worksheet itself published somewhere? Cheers Stan Wilfried_Huss wrote: > > On 29 Okt., 12:44, "ma...@mendelu.cz" wrote: > >> Hello all, the conversion into PDF has been discussed seve

[sage-support] Re: deprecation warnings related to matplotlibrc on sage 4.2

2009-10-29 Thread Stan Schymanski
Thanks, kcrisman and Jason, that worked. Stan kcrisman wrote: > I think it's in home/sage/ > - kcrisman > > On Oct 28, 1:06 pm, Stan Schymanski wrote: > >> Thanks, Jason! Where do I find it? It's not in home nor in >> home/.matplotlib/. >

[sage-support] Re: deprecation warnings related to matplotlibrc on sage 4.2

2009-10-28 Thread Stan Schymanski
Thanks, Jason! Where do I find it? It's not in home nor in home/.matplotlib/. Stan Jason Grout wrote: > Stan Schymanski wrote: > >> Dear all, >> >> I noticed a lot of deprecation warnings related to matplotlibrc in the >> terminal after running notebook()

[sage-support] deprecation warnings related to matplotlibrc on sage 4.2

2009-10-28 Thread Stan Schymanski
Dear all, I noticed a lot of deprecation warnings related to matplotlibrc in the terminal after running notebook() on sage 4.2 (see below). Are they a reason to be concerned? Cheers, Stan /Users/sschym/Downloads/Free/sage-4.2/local/lib/python2.6/site- packages/twisted/persisted/sob.py:12: Depre

[sage-support] Re: sage 4.1.2 MacOSX 10.4.11 set-up error

2009-10-20 Thread Stan Schymanski
myself, > is it a PowerPC machine? > What kind of problem did you encounter? > > Regards > Giovanni > > On Oct 20, 9:45 am, Stan Schymanski wrote: > >> Ah, sorry, I didn't see the PowerBook bit. I don't know what causes the >> error, but if you don't

[sage-support] Re: sage 4.1.2 MacOSX 10.4.11 set-up error

2009-10-20 Thread Stan Schymanski
rsion even runs faster. Stan abaco68 wrote: > Dear Stan > > I found it here, for instance: > > http://mirror.switch.ch/mirror/sagemath/osx/index.html > > but indeed only for PowerPC > > Regards > > Giovanni > > On Oct 20, 8:32 am, Stan Schymanski wrote: &g

[sage-support] Re: sage 4.1.2 MacOSX 10.4.11 set-up error

2009-10-19 Thread Stan Schymanski
Dear Giovanni, Could you tell me where you found a dmg for 10.4.11? I tried to compile from source on my 10.4.11 box without success, then I tried to download a binary instead, but only found binaries for 10.5 and 10.6. Cheers, Stan abaco68 wrote: > Hi > I have installed sage 4.1.2 on a Power

[sage-support] spam on sage-support and sage-devel

2009-09-29 Thread Stan Schymanski
Dear admins, I have received several spam emails from sage-support and sage-devel within the past couple of hours. If I am not the only one, could someone please check whether there is a leak in the Google groups settings? Cheers, Stan --~--~-~--~~~---~--~~ To

[sage-support] Re: Nummerical results

2009-09-03 Thread Stan Schymanski
xact" results; but > what could possibly be the use of getting an answer like this? Is > there some way to just get a simple, numerical answer? > TIA > (Sorry about my frustration showing) > > > > -- Stan Schymansk

[sage-support] Re: Simplify an expression

2009-07-21 Thread Stan Schymanski
Hi Roland, Would this help? sage: var ('a b x1 x2 y1 y2') (a, b, x1, x2, y1, y2) sage: expression = (a*x1^2 + b*x2^2)*y1 + b*y2^2 sage: expression.subs_expr((a*x1^2 + b*x2^2) == 0) b*y2^2 Stan Rolandb wrote: > Hi, > How to simplify an expression if you have some known relations > (equalities)?

[sage-support] Re: compatibility mode in sage 4.x?

2009-07-20 Thread Stan Schymanski
d for quicker progress, I suppose. Hence the need for at least a possibility to run the old versions in parallel with the new one, or a conversion tool for old notebooks. Cheers Stan Laurent wrote: > Stan Schymanski ha scritto: > >> Hi Jason, >> >> I gave an exampl

[sage-support] Re: compatibility mode in sage 4.x?

2009-07-20 Thread Stan Schymanski
f into an awful mess, wouldn't I? Thanks for your help! Stan Jason Grout wrote: > Stan Schymanski wrote: > >> Dear all, >> >> Since the upgrade to 4.x, most of my old worksheets don't work any >> more and I wondered if there is a possibility to run s

[sage-support] compatibility mode in sage 4.x?

2009-07-20 Thread Stan Schymanski
Dear all, Since the upgrade to 4.x, most of my old worksheets don't work any more and I wondered if there is a possibility to run sage 4.x in a compatibility mode so that the old code would work again. I also have an old install of 3.4.1 on my system, but for some reason it can't open the Maxima

[sage-support] Re: problem with list generation and substitutions

2009-07-07 Thread Stan Schymanski
Yes, that's right. I got confused. Thanks for the quick answer! Stan Robert Bradshaw wrote: > On Jul 7, 2009, at 2:18 AM, Stan Schymanski wrote: > > >> Dear all, >> >> For some reason, I cannot generate lists of values using a symbolic >> function

[sage-support] problem with list generation and substitutions

2009-07-07 Thread Stan Schymanski
Dear all, For some reason, I cannot generate lists of values using a symbolic function any more, as the variable does not get substituted. The first example shows that the values do not get substituted for x, the second example shows that this works if I type the function into the list constructi

[sage-support] Re: trouble with solve()

2009-06-27 Thread Stan Schymanski
ing. Only if I assume that it is indeed an integer, it will evaluate, but this assumption is wrong as n does not need to be an integer. So the assume() method allows passing the answer 'yes', but not the answer 'no' in this case. Stan Kjetil Halvorsen wrote: > On Fri, Jun

[sage-support] Re: trouble with solve()

2009-06-26 Thread Stan Schymanski
Update: In maxima, I simply have to answer 'no' to the question whether n is an integer and I obtain the solution. How can I pass the 'no' to maxima through sage?? Stan Stan Schymanski wrote: > Dear all, > > How can I get sage to solve a simple e

[sage-support] trouble with solve()

2009-06-26 Thread Stan Schymanski
Dear all, How can I get sage to solve a simple equation such as the one below? -- | Sage Version 4.0.2, Release Date: 2009-06-18 | | Type notebook() for the GUI, and license() for information.|

[sage-support] '_latex_' is read-only

2009-06-25 Thread Stan Schymanski
Dear all, Since the upgrade to sage 4, I receive the following error message: sage: var('hi kunsati delyui') sage: hi._latex_ = lambda: 'h_i' # Matric suction head in layer i (=pcapvec) sage: kunsati._latex_ = lambda: 'K_{unsat,i}' # Unsaturated hydraulic conductivity in lay

[sage-support] Re: Dimensional Analysis or Unit Conversion capability?

2009-06-12 Thread Stan Schymanski
eing implemented. Unfortunately, I can't contribute anything other than bug reports once something is implemented. Good luck! Stan -- ________ Stan Schymanski Scientist Max Planck Institute for Biogeochemistry Postfach 10 01 64 D-07701 Jena Phone: +49.36

[sage-support] Re: New symbolic bug?

2009-06-12 Thread Stan Schymanski
s not already onhttp://trac.sagemath.org/sage_trac/ >> it should be. Probably due to the new symbolics. What you can do is >> make your dictionary cicco = {x: 10}. Making strings work shouldn't >> be too hard, that's what the a.subs(x=10) needs to handle. >&

[sage-support] code breakage due to upgrade to sage 4.0

2009-06-08 Thread Stan Schymanski
Dear all, I noticed that some of my old code does not work any more with sage 4.0. I used to assign the solutions of equations by referring to them in the following way: -- | Sage Version 4.0, Release Date: 2009-05-29

[sage-support] Re: importing double precision numbers with 'D' descriptor

2009-06-05 Thread Stan Schymanski
in another thread (?). Cheers Stan Robert Bradshaw wrote: > On Jun 5, 2009, at 3:09 AM, Stan Schymanski wrote: > > >> Dear all, >> >> In Fortran, numbers can be written in the form of e.g. 1.2d-6 instead >> of 1.2e-6, but if I import a text file with such numbers

[sage-support] importing double precision numbers with 'D' descriptor

2009-06-05 Thread Stan Schymanski
Dear all, In Fortran, numbers can be written in the form of e.g. 1.2d-6 instead of 1.2e-6, but if I import a text file with such numbers into sage using numpy, the 'd' notation does not get recognised and I get an error. Is there a way to import such numbers without too much hassle? Thanks for y

  1   2   3   >