-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'll try to come up with a better error message for this.

Georg

Am 09.01.2010 17:52, schrieb Natim:
> Hello
> 
> I found, it was in the configuration.
> 
> VERSION = 'HG VERSION' with a unicode space.
> 
> It should have been u'HG VERSION' or just a number.
> 
> Best regards,
> 
> Rémy
> 
> On Jan 9, 3:46 pm, Natim <[email protected]> wrote:
>> Hello,
>>
>> I just used sphinx-quickstart on my Ubuntu Karmic to start the new
>> project and when I want to compile it, this error occurs. Any idea ?
>>
>> # Sphinx version: 0.6.3
>> # Docutils version: 0.5 release
>> Traceback (most recent call last):
>>   File "/usr/local/lib/python2.6/dist-packages/Sphinx-0.6.3-py2.6.egg/
>> sphinx/cmdline.py", line 172, in main
>>     app.build(all_files, filenames)
>>   File "/usr/local/lib/python2.6/dist-packages/Sphinx-0.6.3-py2.6.egg/
>> sphinx/application.py", line 130, in build
>>     self.builder.build_update()
>>   File "/usr/local/lib/python2.6/dist-packages/Sphinx-0.6.3-py2.6.egg/
>> sphinx/builders/__init__.py", line 260, in build_update
>>     self.build(['__all__'], to_build)
>>   File "/usr/local/lib/python2.6/dist-packages/Sphinx-0.6.3-py2.6.egg/
>> sphinx/builders/__init__.py", line 320, in build
>>     self.write(docnames, list(updated_docnames), method)
>>   File "/usr/local/lib/python2.6/dist-packages/Sphinx-0.6.3-py2.6.egg/
>> sphinx/builders/latex.py", line 105, in write
>>     docwriter.write(doctree, destination)
>>   File "/usr/lib/pymodules/python2.6/docutils/writers/__init__.py",
>> line 76, in write
>>     self.translate()
>>   File "/usr/local/lib/python2.6/dist-packages/Sphinx-0.6.3-py2.6.egg/
>> sphinx/writers/latex.py", line 94, in translate
>>     self.output = visitor.astext()
>>   File "/usr/local/lib/python2.6/dist-packages/Sphinx-0.6.3-py2.6.egg/
>> sphinx/writers/latex.py", line 244, in astext
>>     u''.join(self.body) + FOOTER % self.elements)
>> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position
>> 2: ordinal not in range(128)
>>
>> Thank you for your help,
>> Regards,
>>
>> Rémy
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEARECAAYFAktMSn0ACgkQN9GcIYhpnLA4QwCgiwBEBTgsaHDnuBXRMnZHfySJ
IdgAoIh9gauVgtWhbZ2saEWDfUT8jHK6
=y4AV
-----END PGP SIGNATURE-----
-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.


Reply via email to