[sage-support] Re: deprecation warning about "`\QQ`" and "\*"

2020-03-29 Thread John H Palmieri
On Sunday, March 29, 2020 at 12:24:38 AM UTC-7, rana-aere wrote:
>
> Thank you for clear instructions.
> I used the codes to compare how doctoring of the method _macaulay2_init_ 
> is displayed. 
>
> sage-8.9 (command line and jupyter)
>
> ```
> Init docstring: x.__init__(...) initializes x; see help(type(x)) for 
> signature
> File:   
> /Applications/SageMath-8.9.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/structure/sage_object.pyx
> Type:   builtin_function_or_method
> ```
>
> sage-9.0 (command line and jupyter )
>
> ```
> Signature:  S._macaulay2_init_(macaulay2=None)
> Docstring: 
>EXAMPLES:
>
>Quotients of multivariate polynomial rings over QQ, ZZ and a
>finite field:
> ```
>
> sage-9.1 (command line and jupyter)
>
> ```
> Signature:  S._macaulay2_init_(macaulay2=None)
> Docstring: 
>EXAMPLES:
>
>Quotients of multivariate polynomial rings over \QQ, \ZZ and a
>finite field:
> ```
>
> All three have different behaviors.
>

The difference between Sage 8.9 and 9.0 is probably due to the switch from 
Python 2 to Python 3.
 

>
> I think true and meaningful difference should be observed in conversion to 
> tutorial, wiki or manual
>

I don't consider these differences meaningful. What are you concerned about?
 

> If someone knows how to test it, please tell me the result.
>

Test what, exactly?
 

> I will find a way to make a ticket for it.
>
> For now I proceed to check issues on "sqrt?"
>

-- 
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/0d0dcb1d-84bb-41ad-b247-8aa7a296922c%40googlegroups.com.


[sage-support] itikz /tikz

2020-03-29 Thread HG

https://pypi.org/project/itikz/

I just tried this website and it works fine. If somebody needs it it's 
an info.


I use it in sage after installing it : sage -sh and pip install itikz

Enjoy it :)

--
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/62e02c29-d46f-eca1-dda7-edc8506af30d%40gmail.com.


Re: [sage-support] Re: Sage 9.0 macOS Jupyter Server failed to start

2020-03-29 Thread rana-aere
I solved the first form of bug reported here.
By accident I wrote it 
in https://groups.google.com/forum/#!topic/sage-support/WP473oaAulE .
Another one about getcwd seems to be an issue specific to Catalina.
I will work on it.

-- 
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/cc573238-6271-4ae8-b1df-4955535301a5%40googlegroups.com.


[sage-support] Re: Does a deprecation warning prevent start-up of jupyter server of Double clickable application SageMath-X.X?

2020-03-29 Thread rana-aere
I think another trouble of SageMath-9.0.app was about failure of getcwd.
I have an idea on this problem.
I will check it.

-- 
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/416516b7-666f-4492-ae96-0cd02d6cafb3%40googlegroups.com.


[sage-support] Re: Does a deprecation warning prevent start-up of jupyter server of Double clickable application SageMath-X.X?

2020-03-29 Thread rana-aere
I finally made it to make a disk-image-file of SageMath-9.1.app with 
updates of https://trac.sagemath.org/ticket/29371.

The issue of failing start-up with partial record of patching files is 
solved.
I explain what was happening.
Mac application SageMath-9.0.app set-up bash command using pipes:
Roughly speaking it is
"sage starting jupyter server | tee for recording log | grep in 2 stages 
for ticket of jupyter".
There were some problem in the last two stages so that grep terminated by 
error.
Hence, the pipe got stuck.
This prevented tee from writing logs beyond some amount of bytes.
Another effect was probably tee command also terminated and sage command 
also terminated.
This problem will be solved in SageMath-9.1.

Current work-around is here:
Start /Applications/SageMath-9.0.app/sage by command line.
Then patching will be done.
Exit sage after sage-prompt comes up.

Then, double click Mac Application SageMath-9.0.app.
This solution has a problem of sage terminates unexpectedly when huge 
amount of logging takes place
for one invocation of jupyter-server.
I admit this.
If you are not in a hurry, waiting for SageMath-9.1 will be an easier 
solution.

-- 
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/6527c897-b1af-4996-af8a-12588e7c7ce5%40googlegroups.com.


[sage-support] Re: Does a deprecation warning prevent start-up of jupyter server of Double clickable application SageMath-X.X?

2020-03-29 Thread rana-aere
I forgot to mention one thing.

Patching in SageMath-9.1beta8 was on libraries not on source codes.
This might be another difference from the distribution of SageMath-9.0.

-- 
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/b316a520-8641-46e8-a11c-53def892cd39%40googlegroups.com.


[sage-support] Re: Does a deprecation warning prevent start-up of jupyter server of Double clickable application SageMath-X.X?

2020-03-29 Thread rana-aere
I edited the code back to original and tested how SageMath starts up.
Deprecation warning does not block start-up.
There remains some more mystery in start-up of double clickable 
SageMath.app of MacOS.

For possible users who encounter the same symptom of SageMath, I leave some 
record.

Step 1: I copied SageMath9.1beta8.app in /Users/Shared/SagemathTestground.
Step 2: I double clicked the copy  /Users/Shared/SagemathTestground/ 
SageMath9.1beta8.app
> Mac dialogue appeared an reported failure of jupyter server to 
start.
Step 3: I used "view log" to read the log. The log was incomplete. It 
seemed patching was on the way.
Step 4: I started  /Users/Shared/SagemathTestground/ 
SageMath9.1beta8.app/sage from the command line.
> Plenty of messages on patching were displayed.
> Then, a deprecation warning on \Q in the definition of 
_macaulay2_init_ appeared.
> sage prompt appeared.
Step 5: I quitted sage and edited the relevant file and silenced that 
warning.
Step 6: I invoked sage from command line and verified warning message is 
silenced.
Step 7: I double clicked  /Users/Shared/SagemathTestground/ 
SageMath9.1beta8.app.
> Jupyter server started up and Sagemath was OK.
Step 8: I put the code back in original for testing the software for 
sage-support-group.
Step 9: I quitted /Users/Shared/SagemathTestground/ SageMath9.1beta8.app 
and double clicked it again.
> Jupyter server started up and Sagemath was OK.

Lesson?   Patching at the initial invocation might fail occasionally. And, 
retrying initial invocation of SageMath several times might help. 
Deprecation warning seems not the real obstruction.

-- 
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/47f6c159-b2df-45e9-888a-7125a937c24e%40googlegroups.com.


[sage-support] Re: deprecation warning about "`\QQ`" and "\*"

2020-03-29 Thread rana-aere
Thank you for clear instructions.
I used the codes to compare how doctoring of the method _macaulay2_init_ is 
displayed. 

sage-8.9 (command line and jupyter)

```
Init docstring: x.__init__(...) initializes x; see help(type(x)) for 
signature
File:   
/Applications/SageMath-8.9.app/Contents/Resources/sage/local/lib/python2.7/site-packages/sage/structure/sage_object.pyx
Type:   builtin_function_or_method
```

sage-9.0 (command line and jupyter )

```
Signature:  S._macaulay2_init_(macaulay2=None)
Docstring: 
   EXAMPLES:

   Quotients of multivariate polynomial rings over QQ, ZZ and a
   finite field:
```

sage-9.1 (command line and jupyter)

```
Signature:  S._macaulay2_init_(macaulay2=None)
Docstring: 
   EXAMPLES:

   Quotients of multivariate polynomial rings over \QQ, \ZZ and a
   finite field:
```

All three have different behaviors.

I think true and meaningful difference should be observed in conversion to 
tutorial, wiki or manual
If someone knows how to test it, please tell me the result.
I will find a way to make a ticket for it.

For now I proceed to check issues on "sqrt?"

-- 
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/a4902c4d-aa5f-4544-8f15-0cb8e65e8017%40googlegroups.com.