this does not look like a Sage issue, rather like an texmacs issue. On Sat, Dec 15, 2018 at 3:26 AM Amir Zia <knowledge2...@hotmail.com> wrote: > > I have another problem with texmacs: > > I open multiple documents and then: When the document is saved and then > closed, I do not get this warning...When the document is unsaved and then > closed, I do get this warning...How do I fix/remove this warning ? here is a > photo of it: > > > https://ibb.co/M1C8VkW > > > > On Friday, December 14, 2018 at 8:43:33 PM UTC-5, Amir Zia wrote: >> >> You are correct, i installed everything all over again and used the github >> plugin and now it works perfectly...thanks for mentioning it.... >> >> On Friday, December 14, 2018 at 6:41:45 AM UTC-5, E. Madison Bray wrote: >>> >>> On Fri, Dec 14, 2018 at 12:35 PM E. Madison Bray <erik....@gmail.com> wrote: >>> > >>> > On Fri, Dec 14, 2018 at 11:29 AM E. Madison Bray <erik....@gmail.com> >>> > wrote: >>> > > >>> > > On Fri, Dec 14, 2018 at 4:04 AM Amir Zia <knowle...@hotmail.com> wrote: >>> > > > >>> > > > >>> > > > >>> > > > On Thursday, December 13, 2018 at 9:05:51 PM UTC-5, Amir Zia wrote: >>> > > >> >>> > > >> >>> > > >> >>> > > >> On Thursday, December 13, 2018 at 8:38:45 PM UTC-5, Samuel Lelievre >>> > > >> wrote: >>> > > >>> >>> > > >>> Fri 2018-12-14 01:53 UTC+1, Amir Zia: >>> > > >>> > >>> > > >>> > Ubuntu 18.04 >>> > > >>> > Sagemath 8.1-7 >>> > > >>> > Texmacs 1.99.8 >>> > > >>> > the plugin is downloaded from this page around 3 hours ago: >>> > > >>> > https://wiki.sagemath.org/TeXmacs?action=AttachFile&do=view&target=texmacs-sage.tar.gz >>> > > >>> >>> > > >>> Oh, that wiki page is very out of date (we should add a >>> > > >>> warning there about that). Get the up-to-date plugin from >>> > > >>> >>> > > >>> https://github.com/texmacs/SageMath.tm >>> > > >> >>> > > >> >>> > > >> >>> > > >> >>> > > >> >>> > > >> I downloaded the bin & doc & progs then put them in a folder called >>> > > >> sage and then copies the folder into $HOME/.TeXmacs/plugins/ ... I >>> > > >> did this because git would give me errors... >>> > > >> >>> > > >> I still get the second error mentioned in the first post.... >>> > > >> >>> > > >> Did I install it properly ? >>> > > > >>> > > > >>> > > > >>> > > > >>> > > > OK I found a solution.... Here is what I did to get it to work, >>> > > > Hopefully others with the same problem can be helped: >>> > > > >>> > > > (1) Install sagemath. >>> > > > >>> > > > (2) Install Texmacs. >>> > > > >>> > > > (3) Find where sage is : "which sage" usually it is at /usr/bin/sage >>> > > > >>> > > > (4) sudo ln -s /usr/bin/sage /usr/local/bin/ >>> > > > >>> > > > (5) sudo -H nautilus >>> > > > >>> > > > (6) go to /usr/share/sagemath/bin/ and copy the content into >>> > > > /usr/local/bin/ >>> > > >>> > > Just for the record, in case anyone else finds this, that all sounds >>> > > like a bad idea to be honest. Without being able to see your system >>> > > or know exactly what you did, it's hard to say what the "right" >>> > > solution would be, but there's no *good* reason to be copying files >>> > > around your filesystem like this without really knowing why. >>> > > >>> > > This sounds like more of a configuration issue, and not "some file >>> > > needs to be some specific place". >>> > > >>> > > (As an aside, you don't need to run nautilus just to copy files; you >>> > > can do this from the command-line shell with the `cp -R` command :) >>> > > >>> > > I don't know anything about texmacs so I regret that I can't offer a >>> > > "better" solution. All I'm saying is please don't do this, as it's >>> > > just likely to break more things for you later. >>> > >>> > FWIW, I made an Ubuntu 18.04 container just to see what's going on >>> > with the sagemath 8.1-7 package on there. I can't install Texmacs >>> > since I don't have an X server. But it occurs to me from your >>> > original message that you were getting some error from some >>> > /usr/local/bin/sage, and I think that's your problem in the first >>> > place. >>> > >>> > The directory /usr/local/ is reserved for software that has been >>> > manually installed system-wide, without management from your system's >>> > package manager. The Ubuntu package for sagemath 8.1 doesn't put >>> > anything there (nor should it). The only way you would have some >>> > /usr/local/bin/sage is if you or someone else put it there yourself at >>> > some point. And it's broken because it's looking for a >>> > /usr/local/bin/sage-env (the sage launcher script typically looks for >>> > this file relative to its own location) which doesn't exist. >>> >>> I should read more carefully. You already wrote: >>> >>> "then I realized I should add sage to $PATH, So this is what I did: >>> >>> which sage >>> >>> Output: /usr/bin/sage >>> >>> sudo ln -s /usr/bin/sage /usr/local/bin/" >>> >>> So you made that symlink yourself, and that's where the problems >>> started. /usr/bin should already be on your $PATH or else most of >>> your system wouldn't be working in the first place. I don't think >>> this was your original problem. I can't see clearly what the original >>> problem would have been, except that maybe you were using an outdated >>> version of the texmacs plugin, as Samuel pointed out. >>> >>> So again, I stress, start by undoing anything you did involving moving >>> files into /usr/local because I have a feeling that you're only going >>> to have more problems down the line as a result of that.... > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-devel. > For more options, visit https://groups.google.com/d/optout.
-- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.