Re: [sage-support] sage 6.2 to 6.4 upgrade

2014-11-25 Thread João Alberto Ferreira
Ok, thank you!

On Tuesday, November 25, 2014 8:23:20 PM UTC-2, Vincent Knight wrote:
>
> This sometimes happens and it's an error in the building of the docs.
>
> If you want to build the documentation you can run:
>
> $ make doc-clean
>
> and run 
>
> $ sage --docbuild reference html
>
> for the html version (more info here: 
> http://www.sagemath.org/doc/developer/sage_manuals.html).
>
> If you don't care about the documentation you can just leave it as it is.
>
> Vince
>
> On Tue Nov 25 2014 at 10:19:00 PM João Alberto Ferreira  > wrote:
>
>> After upgrading Sage on an old laptop, the upgrade process ended with the 
>> following error message. What am I supposed to do? I execute make doc-clean 
>> and then what?
>>
>> Apparently, Sage is working normally.
>>
>> Thanks!
>>
>> João.
>>
>>
>> ...
>> [graphs   ] reading sources... [ 91%] sage/graphs/schnyder
>> [graphs   ] reading sources... [ 93%] sage/graphs/spanning_tree
>> [graphs   ] reading sources... [ 95%] sage/graphs/trees
>> [graphs   ] reading sources... [ 97%] sage/graphs/tutte_polynomial
>> [graphs   ] reading sources... [100%] sage/graphs/weakly_chordal
>> [graphs   ] 
>> /home/sergio/sage-6.2-i686-Linux/src/doc/en/reference/graphs/sage/graphs/hypergraph.rst:11:
>>  
>> WARNING: autodoc can't import/find module 'sage.graphs.hypergraph', it 
>> reported error: "No module named hypergraph", please check your spelling 
>> and sys.path
>> [graphs   ] 
>> /home/sergio/sage-6.2-i686-Linux/src/doc/en/reference/graphs/sage/graphs/hypergraph.rst::
>>  
>> WARNING: document isn't included in any toctree
>> Error building the documentation.
>>
>> Note: incremental documentation builds sometimes cause spurious
>> error messages. To be certain that these are real errors, run
>> "make doc-clean" first and try again.
>> Traceback (most recent call last):
>>   File "/home/sergio/sage-6.2-i686-Linux/src/doc/common/builder.py", line 
>> 1618, in 
>> getattr(get_builder(name), type)()
>>   File "/home/sergio/sage-6.2-i686-Linux/src/doc/common/builder.py", line 
>> 292, in _wrapper
>> getattr(get_builder(document), 'inventory')(*args, **kwds)
>>   File "/home/sergio/sage-6.2-i686-Linux/src/doc/common/builder.py", line 
>> 503, in _wrapper
>> x.get(9)
>>   File 
>> "/home/sergio/sage-6.2-i686-Linux/local/lib/python/multiprocessing/pool.py", 
>> line 558, in get
>> raise self._value
>> OSError: [graphs   ] 
>> /home/sergio/sage-6.2-i686-Linux/src/doc/en/reference/graphs/sage/graphs/hypergraph.rst:11:
>>  
>> WARNING: autodoc can't import/find module 'sage.graphs.hypergraph', it 
>> reported error: "No module named hypergraph", please check your spelling 
>> and sys.path
>>
>> make: ** [doc-html] Erro 1
>>
>>  -- 
>> 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 post to this group, send email to sage-s...@googlegroups.com 
>> .
>> Visit this group at http://groups.google.com/group/sage-support.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] sage 6.2 to 6.4 upgrade

2014-11-25 Thread Vincent Knight
This sometimes happens and it's an error in the building of the docs.

If you want to build the documentation you can run:

$ make doc-clean

and run

$ sage --docbuild reference html

for the html version (more info here:
http://www.sagemath.org/doc/developer/sage_manuals.html).

If you don't care about the documentation you can just leave it as it is.

Vince

On Tue Nov 25 2014 at 10:19:00 PM João Alberto Ferreira 
wrote:

> After upgrading Sage on an old laptop, the upgrade process ended with the
> following error message. What am I supposed to do? I execute make doc-clean
> and then what?
>
> Apparently, Sage is working normally.
>
> Thanks!
>
> João.
>
>
> ...
> [graphs   ] reading sources... [ 91%] sage/graphs/schnyder
> [graphs   ] reading sources... [ 93%] sage/graphs/spanning_tree
> [graphs   ] reading sources... [ 95%] sage/graphs/trees
> [graphs   ] reading sources... [ 97%] sage/graphs/tutte_polynomial
> [graphs   ] reading sources... [100%] sage/graphs/weakly_chordal
> [graphs   ]
> /home/sergio/sage-6.2-i686-Linux/src/doc/en/reference/graphs/sage/graphs/hypergraph.rst:11:
> WARNING: autodoc can't import/find module 'sage.graphs.hypergraph', it
> reported error: "No module named hypergraph", please check your spelling
> and sys.path
> [graphs   ]
> /home/sergio/sage-6.2-i686-Linux/src/doc/en/reference/graphs/sage/graphs/hypergraph.rst::
> WARNING: document isn't included in any toctree
> Error building the documentation.
>
> Note: incremental documentation builds sometimes cause spurious
> error messages. To be certain that these are real errors, run
> "make doc-clean" first and try again.
> Traceback (most recent call last):
>   File "/home/sergio/sage-6.2-i686-Linux/src/doc/common/builder.py", line
> 1618, in 
> getattr(get_builder(name), type)()
>   File "/home/sergio/sage-6.2-i686-Linux/src/doc/common/builder.py", line
> 292, in _wrapper
> getattr(get_builder(document), 'inventory')(*args, **kwds)
>   File "/home/sergio/sage-6.2-i686-Linux/src/doc/common/builder.py", line
> 503, in _wrapper
> x.get(9)
>   File
> "/home/sergio/sage-6.2-i686-Linux/local/lib/python/multiprocessing/pool.py",
> line 558, in get
> raise self._value
> OSError: [graphs   ]
> /home/sergio/sage-6.2-i686-Linux/src/doc/en/reference/graphs/sage/graphs/hypergraph.rst:11:
> WARNING: autodoc can't import/find module 'sage.graphs.hypergraph', it
> reported error: "No module named hypergraph", please check your spelling
> and sys.path
>
> make: ** [doc-html] Erro 1
>
>  --
> 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 post to this group, send email to sage-support@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] sage 6.2 to 6.4 upgrade

2014-11-25 Thread João Alberto Ferreira
After upgrading Sage on an old laptop, the upgrade process ended with the 
following error message. What am I supposed to do? I execute make doc-clean 
and then what?

Apparently, Sage is working normally.

Thanks!

João.


...
[graphs   ] reading sources... [ 91%] sage/graphs/schnyder
[graphs   ] reading sources... [ 93%] sage/graphs/spanning_tree
[graphs   ] reading sources... [ 95%] sage/graphs/trees
[graphs   ] reading sources... [ 97%] sage/graphs/tutte_polynomial
[graphs   ] reading sources... [100%] sage/graphs/weakly_chordal
[graphs   ] 
/home/sergio/sage-6.2-i686-Linux/src/doc/en/reference/graphs/sage/graphs/hypergraph.rst:11:
 
WARNING: autodoc can't import/find module 'sage.graphs.hypergraph', it 
reported error: "No module named hypergraph", please check your spelling 
and sys.path
[graphs   ] 
/home/sergio/sage-6.2-i686-Linux/src/doc/en/reference/graphs/sage/graphs/hypergraph.rst::
 
WARNING: document isn't included in any toctree
Error building the documentation.

Note: incremental documentation builds sometimes cause spurious
error messages. To be certain that these are real errors, run
"make doc-clean" first and try again.
Traceback (most recent call last):
  File "/home/sergio/sage-6.2-i686-Linux/src/doc/common/builder.py", line 
1618, in 
getattr(get_builder(name), type)()
  File "/home/sergio/sage-6.2-i686-Linux/src/doc/common/builder.py", line 
292, in _wrapper
getattr(get_builder(document), 'inventory')(*args, **kwds)
  File "/home/sergio/sage-6.2-i686-Linux/src/doc/common/builder.py", line 
503, in _wrapper
x.get(9)
  File 
"/home/sergio/sage-6.2-i686-Linux/local/lib/python/multiprocessing/pool.py", 
line 558, in get
raise self._value
OSError: [graphs   ] 
/home/sergio/sage-6.2-i686-Linux/src/doc/en/reference/graphs/sage/graphs/hypergraph.rst:11:
 
WARNING: autodoc can't import/find module 'sage.graphs.hypergraph', it 
reported error: "No module named hypergraph", please check your spelling 
and sys.path

make: ** [doc-html] Erro 1

-- 
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: Can not do anything after 6.4 upgrade

2014-11-25 Thread kcrisman

>
>
> > Try emptying your browser cache; we have seen this in a number of cases 
> and 
> > I experienced it several times while going back and forth. 
>
> Never seen this before. But yes, this was so easy. Thanks! 
>
>
Great!  Yes, for any given Sage installation it should only happen once 
unless you were going back and forth between versions, which you should not 
be.

-- 
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: left right subtrees

2014-11-25 Thread Viviane Pons
Hi,

do you specifically need to use a graph? Because there is a special object
for binary trees.

Anyway, here is the code for the labelled binary tree corresponding to what
you want:

sage: LBT = LabelledBinaryTree
sage: a = LBT([], label='a')
sage: b = LBT([], label='b')
sage: c = LBT([], label='c')
sage: d = LBT([], label='d')
sage: tree = LBT([LBT([a,b], '+'), LBT([c,d],'-')],'*')
sage: tree
*[+[a[., .], b[., .]], -[c[., .], d[., .]]]
sage: view(tree)

Sadly, there is no graph syntax like to create the tree. And in general,
labelled binary trees are not that well handled. But anyway, if you have
some specific use cases or suggestions, they could be implemented!

Best,

Viviane

2014-11-25 14:33 GMT+01:00 kcrisman :

>
> Hi!  I don't think this is necessarily a notebook question, so I'm
> forwarding this to sage-support where it is morel likely to get some
> responses.  Good luck!
>
>
>> Hi,
>>
>> I would like to get a left and right subtree from a vertice.
>> First i used Graph abd option layout. The graph don't respect the order
>> of suns.
>>
>> g=DiGraph({"*":["+","-"],"-":["d","c"],"+":["a","b"]})
>>
>> g.order(), g.size()
>> g.vertices()
>> g.edges()
>> g.show(layout='tree')
>>
>> Does someone have an idea? How to plot the tree in order abd get right
>> and left subtrees?
>> Dominique
>
>  --
> 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 post to this group, send email to sage-support@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: left right subtrees

2014-11-25 Thread Harald Schilly


On Tuesday, November 25, 2014 2:33:39 PM UTC+1, kcrisman wrote:
>
>
> Hi!  I don't think this is necessarily a notebook question, so I'm 
> forwarding this to sage-support where it is morel likely to get some 
> responses.  Good luck!
>

I did the reverse, and invited Nathann to help Dominique. ;-)

--h

-- 
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: left right subtrees

2014-11-25 Thread kcrisman

Hi!  I don't think this is necessarily a notebook question, so I'm 
forwarding this to sage-support where it is morel likely to get some 
responses.  Good luck!
 

> Hi, 
>
> I would like to get a left and right subtree from a vertice. 
> First i used Graph abd option layout. The graph don't respect the order of 
> suns. 
>
> g=DiGraph({"*":["+","-"],"-":["d","c"],"+":["a","b"]}) 
>
> g.order(), g.size() 
> g.vertices() 
> g.edges() 
> g.show(layout='tree') 
>
> Does someone have an idea? How to plot the tree in order abd get right and 
> left subtrees? 
> Dominique

-- 
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 post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.