Your message dated Sun, 13 Oct 2013 22:39:55 +0200
with message-id <2841204.hkelmvpK8u@sephirot>
and subject line Re: python-eventlet: FTBFS: Sphinx error: 'ascii' codec can't 
decode byte 0xe2 in position 51: ordinal not in range(128)
has caused the Debian Bug report #711265,
regarding python-eventlet: FTBFS: Sphinx error: 'ascii' codec can't decode byte 
0xe2 in position 51: ordinal not in range(128)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
711265: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711265
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-eventlet
Version: 0.12.1-2
Severity: serious
Justification: fails to build from source
Tags: patch

python-eventlet FTBFS:
| PYTHONPATH=. sphinx-build -N -bhtml doc/ doc/_build/html
| Making output directory...
| Running Sphinx v1.1.3
| loading pickled environment... not yet created
| loading intersphinx inventory from http://docs.python.org/objects.inv...
| WARNING: intersphinx inventory 'http://docs.python.org/objects.inv' not fetchable due to 
<class 'urllib2.URLError'>: <urlopen error [Errno 111] Connection refused>
| building [html]: targets for 28 source files that are out of date
| updating environment: 28 added, 0 changed, 0 removed
| reading sources... [  3%] authors
| reading sources... [  7%] basic_usage
| reading sources... [ 10%] design_patterns
| reading sources... [ 14%] environment
| reading sources... [ 17%] examples
| reading sources... [ 21%] history
| reading sources... [ 25%] hubs
| reading sources... [ 28%] index
| reading sources... [ 32%] modules
| reading sources... [ 35%] modules/backdoor
| reading sources... [ 39%] modules/corolocal
| reading sources... [ 42%] modules/db_pool
| reading sources... [ 46%] modules/debug
| reading sources... [ 50%] modules/event
| reading sources... [ 53%] modules/greenpool
| reading sources... [ 57%] modules/greenthread
| reading sources... [ 60%] modules/pools
| reading sources... [ 64%] modules/queue
| reading sources... [ 67%] modules/semaphore
| reading sources... [ 71%] modules/timeout
| reading sources... [ 75%] modules/websocket
| reading sources... [ 78%] modules/wsgi
| reading sources... [ 82%] modules/zmq
| Traceback (most recent call last):
|   File "/usr/lib/pymodules/python2.7/sphinx/ext/autodoc.py", line 326, in 
import_object
|     obj = self.get_attr(obj, part)
|   File "/usr/lib/pymodules/python2.7/sphinx/ext/autodoc.py", line 232, in 
get_attr
|     return safe_getattr(obj, name, *defargs)
|   File "/usr/lib/pymodules/python2.7/sphinx/util/inspect.py", line 70, in 
safe_getattr
|     raise AttributeError(name)
| AttributeError: _Context
|
| Sphinx error:
| 'ascii' codec can't decode byte 0xe2 in position 51: ordinal not in range(128)
| make[1]: *** [override_dh_auto_build] Error 1
| make[1]: Leaving directory 
`/build/python-eventlet-cvy6Hf/python-eventlet-0.12.1'

This happens because the eventlet.green.zmq module copies some UTF-8 docstrings from the zmq module; however eventlet.green.zmq has no encoding declaration, so Sphinx assumes ASCII encoding.

See also: https://bitbucket.org/birkenfeld/sphinx/issue/1185

--
Jakub Wilk
--- a/eventlet/green/zmq.py
+++ b/eventlet/green/zmq.py
@@ -1,3 +1,5 @@
+# encoding=UTF-8
+
 """The :mod:`zmq` module wraps the :class:`Socket` and :class:`Context` found in :mod:`pyzmq <zmq>` to be non blocking
 """
 

--- End Message ---
--- Begin Message ---

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to