Your message dated Wed, 31 Dec 2008 22:45:55 -0800
with message-id <[email protected]>
and subject line Re: Bug#499599: pylucene: README code example doesn't work
has caused the Debian Bug report #499599,
regarding pylucene: README code example doesn't work
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
499599: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499599
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pylucene
Version: 2.3.1-1.1
Severity: normal
Tags: patch
In the README.gz file, there's a code example at the line 145 which doesn't
work. The following lines :
for hit in hits:
hit = Hit.cast_(hit)
print hits.score(i), ':', hit.getDocument['title']
Should be replaced by this :
for hit in hits:
hit = Hit.cast_(hit)
print hit.getScore(), ':', hit.getDocument()['title']
Which will work.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-5.slh.4-sidux-686 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages pylucene depends on:
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libgcc1 1:4.3.2-1 GCC support library
ii libstdc++6 4.3.2-1 The GNU Standard C++ Library v3
ii openjdk-6-jre 6b11-7 OpenJDK Java runtime, using Hotspo
ii python2.5 2.5.2-11 An interactive high-level object-o
pylucene recommends no packages.
pylucene suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Fixed upstream. Now someone just needs to package the next upstream release!
http://www.mail-archive.com/[email protected]/msg02459.html
--- End Message ---