I think I’ve found the problem code (which actually hasn’t changed).  In 
sagenb/data/sage/html/notebook/worksheet_page.html the following lines exclude 
the code that binds click actions to the icon divs in the case of the tutorial.

{% if not worksheet.docbrowser() %} 
.
.
.
{%endif%}

All I did was rewrite the code within this if statement.  Thus you were not 
previously able to add cells.  If we want to maintain behavior we should 
probably just move the divs that contain the icons into this if statement.  It 
probably was not obvious before  the icons that the 3 pixel high div that did 
nothing was there in the docs.

Jonathan
On Nov 5, 2014, at 5:59 PM, Jonathan Gutow <[email protected]> wrote:

> I’ve found the problem.  Somehow in the live docs the script that binds 
> events to the icons and divs for making new cells is empty.  We need to trace 
> where those are made in the docs.  I’ve got a few more minutes I can spend on 
> this.  If I find it I will post here.
> 
> Jonathan
> On Nov 5, 2014, at 5:27 PM, François Bissey 
> <[email protected]> wrote:
> 
>> Well, I am taking suggestions on how to debug it because so far I haven't 
>> had much success. I am probably thinking too hard about it.
>> 
>> Francois
>> 
>> On Wed, 05 Nov 2014 02:36:53 Volker Braun wrote:
>>> Haven't seen that one before, should be easy to debug though.
>>> 
>>> On Wednesday, November 5, 2014 2:26:34 AM UTC, François wrote:
>>>> I have these rather unpleasant failure:
>>>> sage -t --long --warn-long 76.2 src/sage/tests/cmdline.py
>>>> **********************************************************************
>>>> File "src/sage/tests/cmdline.py", line 222, in
>>>> sage.tests.cmdline.test_executable
>>>> 
>>>> Failed example:
>>>>   print out
>>>> 
>>>> Expected:
>>>>   34
>>>> 
>>>> Got:
>>>>   Error, notebook must be one of default, ipython, sagenb but got None
>>>>   <BLANKLINE>
>>>> 
>>>> **********************************************************************
>>>> File "src/sage/tests/cmdline.py", line 224, in
>>>> sage.tests.cmdline.test_executable
>>>> 
>>>> Failed example:
>>>>   err
>>>> 
>>>> Expected:
>>>>   ''
>>>> 
>>>> Got:
>>>>   'CRITICAL:root:unknown notebook: None\n'
>>>> 
>>>> **********************************************************************
>>>> File "src/sage/tests/cmdline.py", line 226, in
>>>> sage.tests.cmdline.test_executable
>>>> 
>>>> Failed example:
>>>>   ret
>>>> 
>>>> Expected:
>>>>   0
>>>> 
>>>> Got:
>>>>   1
>>>> 
>>>> **********************************************************************
>>>> File "src/sage/tests/cmdline.py", line 245, in
>>>> sage.tests.cmdline.test_executable
>>>> 
>>>> Failed example:
>>>>   print out
>>>> 
>>>> Expected:
>>>>   1
>>>> 
>>>> Got:
>>>>   Error, notebook must be one of default, ipython, sagenb but got None
>>>>   <BLANKLINE>
>>>> 
>>>> **********************************************************************
>>>> File "src/sage/tests/cmdline.py", line 247, in
>>>> sage.tests.cmdline.test_executable
>>>> 
>>>> Failed example:
>>>>   err
>>>> 
>>>> Expected:
>>>>   ''
>>>> 
>>>> Got:
>>>>   'CRITICAL:root:unknown notebook: None\n'
>>>> 
>>>> **********************************************************************
>>>> File "src/sage/tests/cmdline.py", line 249, in
>>>> sage.tests.cmdline.test_executable
>>>> 
>>>> Failed example:
>>>>   ret
>>>> 
>>>> Expected:
>>>>   0
>>>> 
>>>> Got:
>>>>   1
>>>> 
>>>> **********************************************************************
>>>> File "src/sage/tests/cmdline.py", line 267, in
>>>> sage.tests.cmdline.test_executable
>>>> 
>>>> Failed example:
>>>>   print out
>>>> 
>>>> Expected:
>>>>   499500
>>>> 
>>>> Got:
>>>>   Error, notebook must be one of default, ipython, sagenb but got None
>>>>   <BLANKLINE>
>>>> 
>>>> **********************************************************************
>>>> File "src/sage/tests/cmdline.py", line 269, in
>>>> sage.tests.cmdline.test_executable
>>>> 
>>>> Failed example:
>>>>   err
>>>> 
>>>> Expected:
>>>>   'Compiling ...spyx...'
>>>> 
>>>> Got:
>>>>   'CRITICAL:root:unknown notebook: None\n'
>>>> 
>>>> **********************************************************************
>>>> File "src/sage/tests/cmdline.py", line 271, in
>>>> sage.tests.cmdline.test_executable
>>>> 
>>>> Failed example:
>>>>   ret
>>>> 
>>>> Expected:
>>>>   0
>>>> 
>>>> Got:
>>>>   1
>>>> 
>>>> I first noticed them in sage-on-gentoo but I have just run doctest on
>>>> "vanilla" 6.4.rc1 on the same machine and I got them too. I zapped .sage
>>>> just in case but they are persistent. Any clues?
>>>> 
>>>> Francois
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "sage-release" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/sage-release.
>> For more options, visit https://groups.google.com/d/optout.
> 
>                         Dr. Jonathan H. Gutow
> Chemistry Department                                [email protected]
> UW-Oshkosh                                          Office: 920-424-1326
> 800 Algoma Boulevard                                FAX:920-424-2042
> Oshkosh, WI 54901
>                http://www.uwosh.edu/facstaff/gutow
> 

                         Dr. Jonathan H. Gutow
Chemistry Department                                [email protected]
UW-Oshkosh                                          Office: 920-424-1326
800 Algoma Boulevard                                FAX:920-424-2042
Oshkosh, WI 54901
                http://www.uwosh.edu/facstaff/gutow

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.

Reply via email to