[sage-support] tachyon not found (SageMath 9.5, running on an Intel-based Mac)

2022-05-07 Thread harald....@gmail.com
Hi,

I am running SageMath 9.5 (compiled from source on an Intel-based Mac). I 
haven't been having trouble, but today I was toying with 3D plotting, and, 
when I tried to do an animation, I got an error message telling me that 
tachyon could not be found. (I have not used tachyon before. Non-animated 
3D plots work fine).

The following example from the documentation
-
S = sphere(opacity=0.8, aspect_ratio=[1,1,1])
L = line3d([(0,0,0),(2,0,0)], thickness=10, color='red')
M = S + S.translate((2,0,0)) + L
M.show(viewer='tachyon')
-
gives an error message:

FileNotFoundError: [Errno 2] No such file or directory: 'tachyon'


What to do?

Best
Harald

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/43dbedff-3d6f-41d4-a9fd-d5eeaf753ecbn%40googlegroups.com.


Re: [sage-support] tachyon not found (SageMath 9.5, running on an Intel-based Mac)

2022-05-09 Thread harald....@gmail.com
Right, "which tachyon" gives an empty output. What to do?
Le lundi 9 mai 2022 à 09:11:41 UTC+2, dim...@gmail.com a écrit :

> OK, so tachyon comes from Conda... Can you check that tachyon is in
> Sage's PATH, i.e.
> run the following two commands:
>
> ./sage -sh
> which tachyon
>
>
> On Sun, May 8, 2022 at 11:56 PM harald@gmail.com
>  wrote:
> >
> > Here it is.
> >
> > Le samedi 7 mai 2022 à 19:21:24 UTC+2, dim...@gmail.com a écrit :
> >>
> >> Please post the top level config.log.
> >>
> >> On Sat, 7 May 2022, 16:52 harald@gmail.com,  
> wrote:
> >>>
> >>> Hi,
> >>>
> >>> I am running SageMath 9.5 (compiled from source on an Intel-based 
> Mac). I haven't been having trouble, but today I was toying with 3D 
> plotting, and, when I tried to do an animation, I got an error message 
> telling me that tachyon could not be found. (I have not used tachyon 
> before. Non-animated 3D plots work fine).
> >>>
> >>> The following example from the documentation
> >>> -
> >>> S = sphere(opacity=0.8, aspect_ratio=[1,1,1])
> >>> L = line3d([(0,0,0),(2,0,0)], thickness=10, color='red')
> >>> M = S + S.translate((2,0,0)) + L
> >>> M.show(viewer='tachyon')
> >>> -
> >>> gives an error message:
> >>> 
> >>> FileNotFoundError: [Errno 2] No such file or directory: 'tachyon'
> >>>
> >>>
> >>> What to do?
> >>>
> >>> Best
> >>> Harald
> >>>
> >>> --
> >>> 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...@googlegroups.com.
> >>> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/43dbedff-3d6f-41d4-a9fd-d5eeaf753ecbn%40googlegroups.com
> .
> >
> > --
> > 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...@googlegroups.com.
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/bda9aaf1-c425-4c90-9420-047925244be6n%40googlegroups.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/a9afed9a-c65a-4c5c-b3cf-af1125244f63n%40googlegroups.com.


Re: [sage-support] tachyon not found (SageMath 9.5, running on an Intel-based Mac)

2022-05-09 Thread harald....@gmail.com

conda activate sage-build  works nicely. Thanks!
Le lundi 9 mai 2022 à 13:20:36 UTC+2, isu...@gmail.com a écrit :

> conda activate sage-build  should do the trick.
>
> Isuru
>
> On Mon, May 9, 2022 at 6:03 AM Dima Pasechnik  wrote:
>
>>
>>
>> On Mon, 9 May 2022, 11:49 harald@gmail.com,  
>> wrote:
>>
>>> ... or add it to the PATH, I suppose. But how do I find it now?
>>
>>
>> searching config.log for tachyon gives
>>
>> /Users/harald/miniconda3/envs/sage-build/bin/tachyon
>>
>> Indeed, searching for PATH there will tell you that 
>>
>> Users/harald/miniconda3/envs/sage-build/bin
>>
>> was in your PATH while you built Sage.
>>
>>
>>>
>>> Le lundi 9 mai 2022 à 11:38:48 UTC+2, dim...@gmail.com a écrit :
>>>
>>>> You have built Sage with a lot of Conda packages, as can be seen from 
>>>> your config.log.
>>>> Not sure you had Conda activated, but you had its binary directories in 
>>>> PATH,
>>>> in particular tachyon was found there.
>>>>
>>>> Now tachyon is no longer in PATH. One way to remedy this would be to 
>>>> activate Conda and then start Sage.
>>>>
>>>>
>>>>
>>>> On Mon, 9 May 2022, 10:10 harald@gmail.com,  
>>>> wrote:
>>>>
>>>>> No, it is not seen. I do have conda. I don't *think* I built this 
>>>>> version of Sage under it, but I am not positive.
>>>>>
>>>>> Le lundi 9 mai 2022 à 11:06:59 UTC+2, dim...@gmail.com a écrit :
>>>>>
>>>>>> and if you run
>>>>>>
>>>>>> which tachyon
>>>>>>
>>>>>> outside of "sage -sh" subshell, is it seen?
>>>>>>
>>>>>>
>>>>>> If not, it might be about activated vs non-activated Conda. 
>>>>>> If you built Sage under Conda, you'd need to run it under Conda, too.
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, 9 May 2022, 10:02 harald@gmail.com,  
>>>>>> wrote:
>>>>>>
>>>>>>> Right, "which tachyon" gives an empty output. What to do?
>>>>>>> Le lundi 9 mai 2022 à 09:11:41 UTC+2, dim...@gmail.com a écrit :
>>>>>>>
>>>>>>>> OK, so tachyon comes from Conda... Can you check that tachyon is in 
>>>>>>>> Sage's PATH, i.e. 
>>>>>>>> run the following two commands: 
>>>>>>>>
>>>>>>>> ./sage -sh 
>>>>>>>> which tachyon 
>>>>>>>>
>>>>>>>>
>>>>>>>> On Sun, May 8, 2022 at 11:56 PM harald@gmail.com 
>>>>>>>>  wrote: 
>>>>>>>> > 
>>>>>>>> > Here it is. 
>>>>>>>> > 
>>>>>>>> > Le samedi 7 mai 2022 à 19:21:24 UTC+2, dim...@gmail.com a écrit 
>>>>>>>> : 
>>>>>>>> >> 
>>>>>>>> >> Please post the top level config.log. 
>>>>>>>> >> 
>>>>>>>> >> On Sat, 7 May 2022, 16:52 harald@gmail.com, <
>>>>>>>> harald@gmail.com> wrote: 
>>>>>>>> >>> 
>>>>>>>> >>> Hi, 
>>>>>>>> >>> 
>>>>>>>> >>> I am running SageMath 9.5 (compiled from source on an 
>>>>>>>> Intel-based Mac). I haven't been having trouble, but today I was 
>>>>>>>> toying 
>>>>>>>> with 3D plotting, and, when I tried to do an animation, I got an error 
>>>>>>>> message telling me that tachyon could not be found. (I have not used 
>>>>>>>> tachyon before. Non-animated 3D plots work fine). 
>>>>>>>> >>> 
>>>>>>>> >>> The following example from the documentation 
>>>>>>>> >>> - 
>>>>>>>> >>> S = sphere(opacity=0.8, aspect_ratio=[1,1,1]) 
>>>>>>>> >>> L = line3d([(0,0,0),(2,0,0)], thickness=10, color='red') 
>>>>>>>> >>> M = S + S.translate((2,0,0)) + L 
>>>>>>>>

[sage-support] 3d graphics crash (on Mac)

2022-07-13 Thread harald....@gmail.com
Hi,

I am running Sagemath on a Mac Mini (2018; Intel).

I used to have no problems when asking Sagemath to display 3d objects 
(polygons), which I could then rotate, animate

I haven't used my code for doing that sort of thing for a month or two or 
so. Yesterday, I loaded it again, and, to my surprise, the 3D-graphics 
capabilities of Sagemath kept crashing. (Firefox freezes for about a 
minute, and then things go on as normal, except there are no 3D graphics 
anymore - just a little circled "i" on the lower right corner.)

What may be going on? Upgrading from Sagemath 9.5 to 9.6 hasn't solved the 
problem.

Best
Harald

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/033f274d-bab5-4ad4-a712-2818a50324c2n%40googlegroups.com.


Re: [sage-support] 3d graphics crash (on Mac)

2022-07-14 Thread harald....@gmail.com
It looks just fine!

Le mercredi 13 juillet 2022 à 20:32:41 UTC+2, alan_thoma...@yahoo.co.uk a 
écrit :

> How does this look? http::///alan.atstafford.co.uk/Penrose/graphic.html
>
> On Wednesday, July 13, 2022 at 6:35:48 PM UTC+1 dim...@gmail.com wrote:
>
>>
>>
>> On Wed, 13 Jul 2022, 16:02 harald@gmail.com,  
>> wrote:
>>
>>> Hi,
>>>
>>> I am running Sagemath on a Mac Mini (2018; Intel).
>>>
>>> I used to have no problems when asking Sagemath to display 3d objects 
>>> (polygons), which I could then rotate, animate
>>>
>>> I haven't used my code for doing that sort of thing for a month or two 
>>> or so. Yesterday, I loaded it again, and, to my surprise, the 3D-graphics 
>>> capabilities of Sagemath kept crashing. (Firefox freezes for about a 
>>> minute, and then things go on as normal, except there are no 3D graphics 
>>> anymore - just a little circled "i" on the lower right corner.)
>>>
>>
>> Does it work with Safari or Chrome?
>>
>>>
>>> What may be going on? Upgrading from Sagemath 9.5 to 9.6 hasn't solved 
>>> the problem.
>>>
>>> Best
>>> Harald
>>>
>>> -- 
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/sage-support/033f274d-bab5-4ad4-a712-2818a50324c2n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/sage-support/033f274d-bab5-4ad4-a712-2818a50324c2n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/3092b07a-a4a1-4b79-b2e8-124b1f67913cn%40googlegroups.com.


Re: [sage-support] 3d graphics crash (on Mac)

2022-07-14 Thread harald....@gmail.com


Le mercredi 13 juillet 2022 à 19:35:48 UTC+2, dim...@gmail.com a écrit :

>
>
> On Wed, 13 Jul 2022, 16:02 harald@gmail.com,  
> wrote:
>
>> Hi,
>>
>> I am running Sagemath on a Mac Mini (2018; Intel).
>>
>> I used to have no problems when asking Sagemath to display 3d objects 
>> (polygons), which I could then rotate, animate
>>
>> I haven't used my code for doing that sort of thing for a month or two or 
>> so. Yesterday, I loaded it again, and, to my surprise, the 3D-graphics 
>> capabilities of Sagemath kept crashing. (Firefox freezes for about a 
>> minute, and then things go on as normal, except there are no 3D graphics 
>> anymore - just a little circled "i" on the lower right corner.)
>>
>
> Does it work with Safari or Chrome?
>

Chrome. Safari has some sort of problem when trying to load the page.

Best
Harald

 

>
>> What may be going on? Upgrading from Sagemath 9.5 to 9.6 hasn't solved 
>> the problem.
>>
>> Best
>> Harald
>>
>> -- 
>> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-support/033f274d-bab5-4ad4-a712-2818a50324c2n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/sage-support/033f274d-bab5-4ad4-a712-2818a50324c2n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/034a9a6f-6cdf-43d4-89e0-3a3b56bafeb4n%40googlegroups.com.


Re: [sage-support] 3d graphics crash (on Mac)

2022-07-14 Thread harald....@gmail.com
No, I meant that I get this sort of behavior (crash after starting to 
execute successfully) in Chrome. In Safari, the page doesn't even get 
started - it freezes after loading.

>Anyway, if it stopped working by itself it means that a system (or 
browser) update happened in the meantime.

What can I do about that?

Best
Harald

Le vendredi 15 juillet 2022 à 00:04:44 UTC+2, dim...@gmail.com a écrit :

>
>
> On Thu, 14 Jul 2022, 22:07 harald@gmail.com,  
> wrote:
>
>>
>>
>> Le mercredi 13 juillet 2022 à 19:35:48 UTC+2, dim...@gmail.com a écrit :
>>
>>>
>>>
>>> On Wed, 13 Jul 2022, 16:02 harald@gmail.com,  
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I am running Sagemath on a Mac Mini (2018; Intel).
>>>>
>>>> I used to have no problems when asking Sagemath to display 3d objects 
>>>> (polygons), which I could then rotate, animate
>>>>
>>>> I haven't used my code for doing that sort of thing for a month or two 
>>>> or so. Yesterday, I loaded it again, and, to my surprise, the 3D-graphics 
>>>> capabilities of Sagemath kept crashing. (Firefox freezes for about a 
>>>> minute, and then things go on as normal, except there are no 3D graphics 
>>>> anymore - just a little circled "i" on the lower right corner.)
>>>>
>>>
>>> Does it work with Safari or Chrome?
>>>
>>
>> Chrome. Safari has some sort of problem when trying to load the page.
>>
>
> OK, if it works with Chrome, there isn't much we can do, after all, it's 
> mostly 3rd party JavaScript which does this sort of graphics.
>
> Anyway, if it stopped working by itself it means that a system (or 
> browser) update happened in the meantime.
>
> Dima
>
>
>
>> Best
>> Harald
>>
>>  
>>
>>>
>>>> What may be going on? Upgrading from Sagemath 9.5 to 9.6 hasn't solved 
>>>> the problem.
>>>>
>>>> Best
>>>> Harald
>>>>
>>>> -- 
>>>> 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...@googlegroups.com.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/sage-support/033f274d-bab5-4ad4-a712-2818a50324c2n%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/sage-support/033f274d-bab5-4ad4-a712-2818a50324c2n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>> 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...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-support/034a9a6f-6cdf-43d4-89e0-3a3b56bafeb4n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/sage-support/034a9a6f-6cdf-43d4-89e0-3a3b56bafeb4n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/326ba015-b4fb-4365-9f03-759c0327e2a5n%40googlegroups.com.


Re: [sage-support] 3d graphics crash (on Mac)

2022-07-15 Thread harald....@gmail.com


Le vendredi 15 juillet 2022 à 09:17:08 UTC+2, dim...@gmail.com a écrit :

>
>
> On Fri, 15 Jul 2022, 05:59 harald@gmail.com,  
> wrote:
>
>> No, I meant that I get this sort of behavior (crash after starting to 
>> execute successfully) in Chrome. In Safari, the page doesn't even get 
>> started - it freezes after loading.
>>
>> >Anyway, if it stopped working by itself it means that a system (or 
>> browser) update happened in the meantime.
>>
>> What can I do about that?
>>
>
> I don't know how you installed Sage 9.6.
>
> It might be that the macOS/browser updates came after the release date of 
> 9.6, and thus all bets are off - in particular if it was a kind of binary 
> distribution of Sage.
>

It was a binary distribution, but I installed it because I was having the 
same problem with sage 9.5 (compiled from scratch a few months ago).

Should I compile sage 9.6 from scratch?

Best
Harald 

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/18c2911f-c0b6-46d8-b10a-3dfaed5c293en%40googlegroups.com.