Re: [sage-support] Re: Make doc error

2015-06-04 Thread Viviane Pons
The problem was indeed the accent, we tried John's fix with # -*- coding:
utf-8 -*- and it worked!

Thank you for your help, it was kind of tricky.

Best

Viviane

2015-06-04 3:03 GMT-05:00 Volker Braun :

> The docstring might have to be declared unicode (haven't actually looked
> at it):
>
> def foo():
> u"""
> unicode string
> """
>
>
> On Thursday, June 4, 2015 at 2:24:47 AM UTC+2, John H Palmieri wrote:
>>
>> Earlier in the docbuilding, I see this:
>>
>> [combinat ] building [inventory]: targets for 2 source files that are out
>> of date
>> [combinat ] updating environment: 0 added, 2 changed, 0 removed
>> [combinat ] reading sources... [ 50%]
>> sage/combinat/cluster_algebra_quiver/cluster_seed
>> [combinat ] Encoding error:
>> [combinat ] 'ascii' codec can't decode byte 0xc3 in position 414: ordinal
>> not in range(128)
>> [combinat ] The full traceback has been saved in
>> /var/folders/cp/n8wtqs490tq5psknff1hv9qrgn/T/sphinx-err-jeDhGW.log, if
>> you want to report the issue to the developers.
>>
>> which is caused by the accents on line 18 of cluster_seed.py. Does the
>> problem go away if you remove those accents or add something like
>>
>> # -*- coding: utf-8 -*-
>>
>> to the top of the file?
>>
>>   John
>>
>>
>>
>> On Wednesday, June 3, 2015 at 4:24:37 PM UTC-7, Viviane Pons wrote:
>>>
>>> This I did already...
>>>
>>> 2015-06-03 18:21 GMT-05:00 Volker Braun :
>>>
 Try "make doc-clean && make"


 On Thursday, June 4, 2015 at 1:06:03 AM UTC+2, Viviane Pons wrote:
>
> Hi everyone,
>
> I get this doc build error on a branch (
> http://trac.sagemath.org/ticket/18594) and I have no idea why. I just
> know the error comes from the branch (I can build the doc fine on develop)
> but I don't know which commit caused it. I'm going to look into it but if
> someone has the slightest idea of what is causing it, it would help!
>
> The error:
>
> [reference] WARNING: Unable to fetch
> /media/ubuntudata/Programming/sage/src/doc/output/doctrees/en/reference/combinat/environment.pickle
> 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 "/media/ubuntudata/Programming/sage/src/doc/common/builder.py",
> line 1626, in 
> getattr(get_builder(name), type)()
>   File "/media/ubuntudata/Programming/sage/src/doc/common/builder.py",
> line 292, in _wrapper
> getattr(get_builder(document), 'inventory')(*args, **kwds)
>   File "/media/ubuntudata/Programming/sage/src/doc/common/builder.py",
> line 516, in _wrapper
> getattr(DocBuilder(self.name, lang), format)(*args, **kwds)
>   File "/media/ubuntudata/Programming/sage/src/doc/common/builder.py",
> line 110, in f
> eval(compile(open(sys.argv[0]).read(), sys.argv[0], 'exec'))
>   File
> "/media/ubuntudata/Programming/sage/src/doc/common/custom-sphinx-build.py",
> line 219, in 
> raise OSError(ERROR_MESSAGE)
> OSError: [reference] WARNING: Unable to fetch
> /media/ubuntudata/Programming/sage/src/doc/output/doctrees/en/reference/combinat/environment.pickle
>
>
> Best
>
> Viviane
>
>  --
 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.
>

-- 
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: Make doc error

2015-06-04 Thread Volker Braun
The docstring might have to be declared unicode (haven't actually looked at 
it):

def foo():
u"""
unicode string
"""


On Thursday, June 4, 2015 at 2:24:47 AM UTC+2, John H Palmieri wrote:
>
> Earlier in the docbuilding, I see this:
>
> [combinat ] building [inventory]: targets for 2 source files that are out 
> of date
> [combinat ] updating environment: 0 added, 2 changed, 0 removed
> [combinat ] reading sources... [ 50%] 
> sage/combinat/cluster_algebra_quiver/cluster_seed
> [combinat ] Encoding error:
> [combinat ] 'ascii' codec can't decode byte 0xc3 in position 414: ordinal 
> not in range(128)
> [combinat ] The full traceback has been saved in 
> /var/folders/cp/n8wtqs490tq5psknff1hv9qrgn/T/sphinx-err-jeDhGW.log, if 
> you want to report the issue to the developers.
>
> which is caused by the accents on line 18 of cluster_seed.py. Does the 
> problem go away if you remove those accents or add something like
>
> # -*- coding: utf-8 -*-
>
> to the top of the file?
>
>   John
>
>
>
> On Wednesday, June 3, 2015 at 4:24:37 PM UTC-7, Viviane Pons wrote:
>>
>> This I did already...
>>
>> 2015-06-03 18:21 GMT-05:00 Volker Braun :
>>
>>> Try "make doc-clean && make"
>>>
>>>
>>> On Thursday, June 4, 2015 at 1:06:03 AM UTC+2, Viviane Pons wrote:

 Hi everyone,

 I get this doc build error on a branch (
 http://trac.sagemath.org/ticket/18594) and I have no idea why. I just 
 know the error comes from the branch (I can build the doc fine on develop) 
 but I don't know which commit caused it. I'm going to look into it but if 
 someone has the slightest idea of what is causing it, it would help!

 The error:

 [reference] WARNING: Unable to fetch 
 /media/ubuntudata/Programming/sage/src/doc/output/doctrees/en/reference/combinat/environment.pickle
 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 "/media/ubuntudata/Programming/sage/src/doc/common/builder.py", 
 line 1626, in 
 getattr(get_builder(name), type)()
   File "/media/ubuntudata/Programming/sage/src/doc/common/builder.py", 
 line 292, in _wrapper
 getattr(get_builder(document), 'inventory')(*args, **kwds)
   File "/media/ubuntudata/Programming/sage/src/doc/common/builder.py", 
 line 516, in _wrapper
 getattr(DocBuilder(self.name, lang), format)(*args, **kwds)
   File "/media/ubuntudata/Programming/sage/src/doc/common/builder.py", 
 line 110, in f
 eval(compile(open(sys.argv[0]).read(), sys.argv[0], 'exec'))
   File 
 "/media/ubuntudata/Programming/sage/src/doc/common/custom-sphinx-build.py",
  
 line 219, in 
 raise OSError(ERROR_MESSAGE)
 OSError: [reference] WARNING: Unable to fetch 
 /media/ubuntudata/Programming/sage/src/doc/output/doctrees/en/reference/combinat/environment.pickle


 Best

 Viviane

  -- 
>>> 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] Re: Make doc error

2015-06-03 Thread John H Palmieri
Earlier in the docbuilding, I see this:

[combinat ] building [inventory]: targets for 2 source files that are out 
of date
[combinat ] updating environment: 0 added, 2 changed, 0 removed
[combinat ] reading sources... [ 50%] 
sage/combinat/cluster_algebra_quiver/cluster_seed
[combinat ] Encoding error:
[combinat ] 'ascii' codec can't decode byte 0xc3 in position 414: ordinal 
not in range(128)
[combinat ] The full traceback has been saved in 
/var/folders/cp/n8wtqs490tq5psknff1hv9qrgn/T/sphinx-err-jeDhGW.log, if 
you want to report the issue to the developers.

which is caused by the accents on line 18 of cluster_seed.py. Does the 
problem go away if you remove those accents or add something like

# -*- coding: utf-8 -*-

to the top of the file?

  John



On Wednesday, June 3, 2015 at 4:24:37 PM UTC-7, Viviane Pons wrote:
>
> This I did already...
>
> 2015-06-03 18:21 GMT-05:00 Volker Braun >
> :
>
>> Try "make doc-clean && make"
>>
>>
>> On Thursday, June 4, 2015 at 1:06:03 AM UTC+2, Viviane Pons wrote:
>>>
>>> Hi everyone,
>>>
>>> I get this doc build error on a branch (
>>> http://trac.sagemath.org/ticket/18594) and I have no idea why. I just 
>>> know the error comes from the branch (I can build the doc fine on develop) 
>>> but I don't know which commit caused it. I'm going to look into it but if 
>>> someone has the slightest idea of what is causing it, it would help!
>>>
>>> The error:
>>>
>>> [reference] WARNING: Unable to fetch 
>>> /media/ubuntudata/Programming/sage/src/doc/output/doctrees/en/reference/combinat/environment.pickle
>>> 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 "/media/ubuntudata/Programming/sage/src/doc/common/builder.py", 
>>> line 1626, in 
>>> getattr(get_builder(name), type)()
>>>   File "/media/ubuntudata/Programming/sage/src/doc/common/builder.py", 
>>> line 292, in _wrapper
>>> getattr(get_builder(document), 'inventory')(*args, **kwds)
>>>   File "/media/ubuntudata/Programming/sage/src/doc/common/builder.py", 
>>> line 516, in _wrapper
>>> getattr(DocBuilder(self.name, lang), format)(*args, **kwds)
>>>   File "/media/ubuntudata/Programming/sage/src/doc/common/builder.py", 
>>> line 110, in f
>>> eval(compile(open(sys.argv[0]).read(), sys.argv[0], 'exec'))
>>>   File 
>>> "/media/ubuntudata/Programming/sage/src/doc/common/custom-sphinx-build.py", 
>>> line 219, in 
>>> raise OSError(ERROR_MESSAGE)
>>> OSError: [reference] WARNING: Unable to fetch 
>>> /media/ubuntudata/Programming/sage/src/doc/output/doctrees/en/reference/combinat/environment.pickle
>>>
>>>
>>> Best
>>>
>>> Viviane
>>>
>>>  -- 
>> 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] Re: Make doc error

2015-06-03 Thread Viviane Pons
This I did already...

2015-06-03 18:21 GMT-05:00 Volker Braun :

> Try "make doc-clean && make"
>
>
> On Thursday, June 4, 2015 at 1:06:03 AM UTC+2, Viviane Pons wrote:
>>
>> Hi everyone,
>>
>> I get this doc build error on a branch (
>> http://trac.sagemath.org/ticket/18594) and I have no idea why. I just
>> know the error comes from the branch (I can build the doc fine on develop)
>> but I don't know which commit caused it. I'm going to look into it but if
>> someone has the slightest idea of what is causing it, it would help!
>>
>> The error:
>>
>> [reference] WARNING: Unable to fetch
>> /media/ubuntudata/Programming/sage/src/doc/output/doctrees/en/reference/combinat/environment.pickle
>> 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 "/media/ubuntudata/Programming/sage/src/doc/common/builder.py",
>> line 1626, in 
>> getattr(get_builder(name), type)()
>>   File "/media/ubuntudata/Programming/sage/src/doc/common/builder.py",
>> line 292, in _wrapper
>> getattr(get_builder(document), 'inventory')(*args, **kwds)
>>   File "/media/ubuntudata/Programming/sage/src/doc/common/builder.py",
>> line 516, in _wrapper
>> getattr(DocBuilder(self.name, lang), format)(*args, **kwds)
>>   File "/media/ubuntudata/Programming/sage/src/doc/common/builder.py",
>> line 110, in f
>> eval(compile(open(sys.argv[0]).read(), sys.argv[0], 'exec'))
>>   File
>> "/media/ubuntudata/Programming/sage/src/doc/common/custom-sphinx-build.py",
>> line 219, in 
>> raise OSError(ERROR_MESSAGE)
>> OSError: [reference] WARNING: Unable to fetch
>> /media/ubuntudata/Programming/sage/src/doc/output/doctrees/en/reference/combinat/environment.pickle
>>
>>
>> Best
>>
>> Viviane
>>
>>  --
> 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.