Source: gamera
Version: 3.2.3-1
Severity: serious
Justification: fails to build from source

With docutils 0.6, gamera fails to generate documentation:

| cd doc && PYTHONPATH=/tmp/buildd/gamera-3.2.3/build/lib.linux-i686-2.5 python 
gendoc.py
| Gamera documentation generator.
| Usage: gendoc.py [-d doc_directory]
|   (if doc_directory is omitted, the current directory
|    will be used.)
| | Copying CSS file
| Copying over generic images
|   OneBit
|   GreyScale
|   Grey16
|   RGB
|   GreyScale
|   GreyScale
| Generating plugin documentation
|   Analysis
|     Contour
|   Binarization
|   Classification
|   Color
|   Combine
|     Arithmetic
|     Logical
|   Conversion
|   Convolution
|     Kernels
|   Corelation
|   Deformations
|   Displaying
|   Draw
| No protocol specified
|   Edge
|   ExternalLibraries
|     Numpy
|     PIL
|   Features
|   File
|   Filter
|     Thinning
|   List
|   Morphology
|   PageSegmentation
|   Relational
|   Runlength
|   Segmentation
|   Shearing
|   Thresholding
|   Utility
|     NestedLists
|   XML
| Generating class documentation
|    gamera.core.ImageInfo
|    gamera.core.ImageData
|    gamera.core.RGBPixel
| Copying images
| Converting to HTML
|   Generating xml_format
| Traceback (most recent call last):
|   File "/tmp/buildd/gamera-3.2.3/build/lib.linux-i686-2.5/gamera/gendoc.py", 
line 248, in convert_to_html
|     writer_name="html", settings_overrides=overrides)
|   File "/usr/lib/pymodules/python2.5/docutils/core.py", line 362, in 
publish_file
|     enable_exit_status=enable_exit_status)
|   File "/usr/lib/pymodules/python2.5/docutils/core.py", line 646, in 
publish_programmatically
|     output = pub.publish(enable_exit_status=enable_exit_status)
|   File "/usr/lib/pymodules/python2.5/docutils/core.py", line 203, in publish
|     self.settings)
|   File "/usr/lib/pymodules/python2.5/docutils/readers/__init__.py", line 69, 
in read
|     self.parse()
|   File "/usr/lib/pymodules/python2.5/docutils/readers/__init__.py", line 74, 
in parse
|     self.document = document = self.new_document()
|   File "/usr/lib/pymodules/python2.5/docutils/readers/__init__.py", line 80, 
in new_document
|     document = utils.new_document(self.source.source_path, self.settings)
|   File "/usr/lib/pymodules/python2.5/docutils/utils.py", line 424, in 
new_document
|     source_path = decode_path(source_path)
|   File "/usr/lib/pymodules/python2.5/docutils/utils.py", line 340, in 
decode_path
|     path = path.decode(sys.getfilesystemencoding(), 'strict')
| AttributeError: 'NoneType' object has no attribute 'decode'

--
Jakub Wilk

Attachment: signature.asc
Description: Digital signature

Reply via email to