Package: dh-make-drupal
Version: 0.7-1
Severity: normal

I'm seeing this too.  I did a little deeper looking, and I believe the
problem is ocurring around line 828 of dh-make-drupal:

      # Get the project description. Fetch only the first paragraph -
      # This is usually enough for the .deb, and it should be
      # hand-tuned if needed.
      @descr = (@html.search('d...@class="content"]')[0] / 'p')[0].inner_text

Looking at the context of this, I'd guess that either something changed in
libhpricot-ruby that broke this code, or something changed on the drupal
website and so the html scraping isn't working any more.

More digging at the website, and it appears that the div being sought now
has class node-content instead of simply content.  I tried changing that
string, but it still failed, possibly on a similar type of line a little
farther down.  I'm not sure quite what the pages used to look like or
exactly what bits it's trying to scrape out, so I'm not sure how to fix
other scrape failures.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35.5-1 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages dh-make-drupal depends on:
ii  build-essential               11.5       Informational list of build-essent
ii  debhelper                     8.0.0      helper programs for debian/rules
ii  libcommandline-ruby           0.7.10-10  Ruby library to write command-line
ii  libhpricot-ruby               0.8.2-1    fast, enjoyable HTML parser
ii  libruby                       4.5        Libraries necessary to run Ruby 1.
ii  ruby                          4.5        An interpreter of object-oriented 

dh-make-drupal recommends no packages.

Versions of packages dh-make-drupal suggests:
ii  drupal6                       6.18-1     a fully-featured content managemen

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to