Package: python-btsutils
Version: 0.3-1
Severity: normal

Hi,

I try to write a QA tools for Debian Pure Blends (formerly known
as Custom Debian Distributions) which lists all bugs of packages
which are in the list of dependencies of a metapackage.[1]
The query command works for nearly all packages - but I've got one
very strange exception.  Please try the following script:

  #!/usr/bin/python
  from btsutils.debbugs import debbugs
  bts = debbugs()
  bugs = bts.query('src:gettext')

It results in:

Traceback (most recent call last):
  File "zw", line 4, in <module>
    bugs = bts.query('src:gettext')
  File "/var/lib/python-support/python2.5/btsutils/debbugs.py", line 59, in 
query
    return self.html.query(btsquery)
  File "/var/lib/python-support/python2.5/btsutils/html.py", line 200, in query
    buglist = buglist.findAll("li")
AttributeError: 'NoneType' object has no attribute 'findAll'

This happens only for the gettext package - every other package I tried
(which are at rough estimate 500) works perfectly.  This sounds quite strange
and I'd happily provide more information if needed.

Kind regards and thanks for maintaining btsquery

        Andreas.

 [1]  svn://svn.debian.org/cdd/cdd/trunk/blends/webtools/bugs.py

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (501, 'testing')
Architecture: i386 (i686)

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

Versions of packages python-btsutils depends on:
ii  devscripts                    2.10.35    scripts to make the life of a Debi
ii  python                        2.5.2-2    An interactive high-level object-o
ii  python-beautifulsoup          3.0.7-1    error-tolerant HTML parser for Pyt
ii  python-soappy                 0.12.0-2   SOAP Support for Python
ii  python-support                0.8.4      automated rebuilding support for P

python-btsutils recommends no packages.

python-btsutils suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to