Bug#525095: python-sphinx: sphinx fails with exception

2009-09-04 Thread Mikhail Gusarov
Adrian,

I just tried building documentation (0.6.3-1, slated to go to unstable
today) for Tg and Pylons trunk - works fine. Please check whether it
works for you.

-- 
  http://fossarchy.blogspot.com/


pgp5z9la47Tc0.pgp
Description: PGP signature


Bug#525095: python-sphinx: sphinx fails with exception

2009-05-01 Thread Mikhail Gusarov
Adrian,

I've tested building documentation with tg2 and pylons, and've got
other errors :)

pylons:

Exception occurred:  1%] advanced_pylons/creating_paste_templates   

  File /usr/lib/pymodules/python2.5/jinja2/environment.py, line 357, in parse
raise e
TemplateSyntaxError: expected token 'lparen', got 'block_end'
  File /home/dottedmag/z/Pylons/pylons/docs/en/_templates/layout.html, line 7
{%- macro relbar %}

tg2: 
  File /home/dottedmag/z/2.0/docs/conf.py, line 15, in module
from tg.release import version as tg_release_version
ImportError: No module named tg.release

The errors are the same for both 0.6.x and trunk.

Please contact tg2/pylons developers, as it looks like the problems with
docs itself.

-- 


pgpyeuafLLsrx.pgp
Description: PGP signature


Bug#525095: python-sphinx: sphinx fails with exception

2009-04-21 Thread Adrian von Bidder
Package: python-sphinx
Version: 0.6.1-1
Severity: normal

Hi,

(Alsmost Severity: important, but since I'm just blindly follow
instructions, I haven't...)

Trying to build the current documentation fetched from the Turbogears svn
(Turbogears 2) as well as the current documentation fetched from the Pylons
hg repository (I tried the 0.9.7.x branch documentation at tip), sphinx
fails with
+++
...pylons/doc/en$ make html
mkdir -p _build/html _build/doctrees
sphinx-build -b html -d _build/doctrees   . _build/html
Running Sphinx v0.6.1
loading pickled environment... failed: 'module' object has no attribute 
'RedirStream'
building [html]: targets for 77 source files that are out of date
updating environment: 77 added, 0 changed, 0 removed
Exception occurred:[ 58%] thirdparty/formencode_apicmandsd_plugins
  File /usr/lib/pymodules/python2.5/sphinx/ext/autodoc.py, line 487, in 
get_object_members
for mname in self.get_attr(self.object, '__dict__')])
RuntimeError: dictionary changed size during iteration
The full traceback has been saved in /tmp/sphinx-err-xoWxoP.log, if you want to 
report the issue to the author.
Please also report this if it was a user error, so that a better error message 
can be provided next time.
Send reports to sphinx-...@googlegroups.com. Thanks!
make: *** [html] Error 1
+++

This is from a working dir I got by:
$ hg clone https://www.knowledgetap.com/hg/pylons-dev Pylons
$ cd Pylons; hg update 0.9.7.x

Building the TurgboGears 2 documentation fails similarly while building
the documentation inside a tg2 documentation svn working dir.

In both cases building the documentation with python-sphinx 0.5.2-1
succeeds (I did test by just up-/downgrading the python-sphinx package
without changing other packages.)

cheers
-- vbi

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (60, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-sphinx depends on:
ii  libjs-jquery  1.2.6-2JavaScript library for dynamic web
ii  python2.5.2-3An interactive high-level object-o
ii  python-docutils   0.5-2  Utilities for the documentation of
ii  python-jinja  1.2-2  small but fast and easy to use sta
ii  python-pygments   0.10-1 syntax highlighting package writte
ii  python-support1.0.2  automated rebuilding support for P

Versions of packages python-sphinx recommends:
ii  python2.5.2-3An interactive high-level object-o
ii  python-imaging1.1.6-3Python Imaging Library
ii  python-simplejson 2.0.9-1Simple, fast, extensible JSON enco

Versions of packages python-sphinx suggests:
pn  jsmathnone (no description available)

-- no debconf information



signature.asc
Description: This is a digitally signed message part.