[Python-modules-team] Bug#800809: django-sitetree: FTBFS: AttributeError: module 'html.parser' has no attribute 'HTMLParseError'

Chris Lamb lamby at debian.org
Sat Oct 3 20:52:53 UTC 2015


Source: django-sitetree
Version: 1.4.0-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

django-sitetree fails to build from source in unstable/amd64:

  [..]

  
  Importing tree `/tree2/` ...
  Destroying test database for alias 'default'...
  Traceback (most recent call last):
    File "sitetree/runtests.py", line 39, in <module>
      main()
    File "sitetree/runtests.py", line 27, in main
      setup()
    File "/usr/lib/python3/dist-packages/django/__init__.py", line 18,
    in setup
      from django.utils.log import configure_logging
    File "/usr/lib/python3/dist-packages/django/utils/log.py", line 13,
    in <module>
      from django.views.debug import ExceptionReporter,
      get_exception_reporter_filter
    File "/usr/lib/python3/dist-packages/django/views/debug.py", line
    10, in <module>
      from django.http import (HttpResponse, HttpResponseServerError,
    File "/usr/lib/python3/dist-packages/django/http/__init__.py", line
    4, in <module>
      from django.http.response import (
    File "/usr/lib/python3/dist-packages/django/http/response.py", line
    13, in <module>
      from django.core.serializers.json import DjangoJSONEncoder
    File
    "/usr/lib/python3/dist-packages/django/core/serializers/__init__.py",
    line 23, in <module>
      from django.core.serializers.base import SerializerDoesNotExist
    File
    "/usr/lib/python3/dist-packages/django/core/serializers/base.py",
    line 6, in <module>
      from django.db import models
    File "/usr/lib/python3/dist-packages/django/db/models/__init__.py",
    line 6, in <module>
      from django.db.models.query import Q, QuerySet, Prefetch  # NOQA
    File "/usr/lib/python3/dist-packages/django/db/models/query.py",
    line 13, in <module>
      from django.db.models.fields import AutoField, Empty
    File
    "/usr/lib/python3/dist-packages/django/db/models/fields/__init__.py",
    line 18, in <module>
      from django import forms
    File "/usr/lib/python3/dist-packages/django/forms/__init__.py", line
    6, in <module>
      from django.forms.fields import *  # NOQA
    File "/usr/lib/python3/dist-packages/django/forms/fields.py", line
    18, in <module>
      from django.forms.utils import from_current_timezone,
      to_current_timezone
    File "/usr/lib/python3/dist-packages/django/forms/utils.py", line
    15, in <module>
      from django.utils.html import format_html, format_html_join,
      escape
    File "/usr/lib/python3/dist-packages/django/utils/html.py", line 16,
    in <module>
      from .html_parser import HTMLParser, HTMLParseError
    File "/usr/lib/python3/dist-packages/django/utils/html_parser.py",
    line 12, in <module>
      HTMLParseError = _html_parser.HTMLParseError
  AttributeError: module 'html.parser' has no attribute 'HTMLParseError'
  debian/rules:24: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 1
  make[1]: Leaving directory '/tmp/buildd/django-sitetree-1.4.0'
  debian/rules:9: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  [..]

The full build log is attached or can be viewed here:

    https://reproducible.debian.net/logs/unstable/amd64/django-sitetree_1.4.0-1.build1.log.gz


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-



More information about the Python-modules-team mailing list