Your message dated Sat, 05 Jul 2008 14:17:09 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#483898: fixed in vim-scripts 20080705-1
has caused the Debian Bug report #483898,
regarding vim-scripts: lbdbq.vim returns a warning message when lbdbq outputs 
non-standard line
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.)


-- 
483898: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=483898
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: vim-scripts
Version: 7.1.7
Severity: minor
Tags: patch


In the ldbdq.vim script, the  LbdbQuery(qstring) function returns:

        Error executing function LBDBCompleteFn..LbdbQuery:
        line    5:
        E684: out of bound index: 1
        Error executing function LBDBCompleteFn..LbdbQuery:
        line    5:
        E15: Invalid Espression: [ [fields[1], fields[0]] ]



This was caused  by bug #480356 , that made the "lbdbq: 25 matches" be on the 
second line instead of the first one. Example:

        $lbdbq joe
        "our" variable $ignorant masks earlier declaration in same scope at 
/usr/lib/lbdb/mutt_ldap_query line 53, <DATA> line 228.
        lbdbq: 25 matches


The error is generated in these two lines of the LbdbQuery function:

        let fields = split(line, "\t")
        let results += [ [fields[1], fields[0]] ]

There is no checking if fields[1] exists (i.e. len(fields)>1).


The error can be solved adding the check:

        let fields = split(line, "\t")
        if len(fields)>=2     
        let results += [ [fields[1], fields[0]] ]
        endif






-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (650, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23.1415-drinat (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=it_IT, LC_CTYPE=it_IT (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

vim-scripts depends on no packages.

Versions of packages vim-scripts recommends:
ii  vim                          1:7.1.293-3 Vi IMproved - enhanced vi editor
ii  vim-addon-manager            0.4         manager of addons for the Vim edit
ii  vim-nox [vim]                1:7.1.293-3 Vi IMproved - enhanced vi editor
ii  lbdb                         0.35.1+nmu1

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: vim-scripts
Source-Version: 20080705-1

We believe that the bug you reported is fixed in the latest version of
vim-scripts, which is due to be installed in the Debian FTP archive:

vim-scripts_20080705-1.diff.gz
  to pool/main/v/vim-scripts/vim-scripts_20080705-1.diff.gz
vim-scripts_20080705-1.dsc
  to pool/main/v/vim-scripts/vim-scripts_20080705-1.dsc
vim-scripts_20080705-1_all.deb
  to pool/main/v/vim-scripts/vim-scripts_20080705-1_all.deb
vim-scripts_20080705.orig.tar.gz
  to pool/main/v/vim-scripts/vim-scripts_20080705.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James Vega <[EMAIL PROTECTED]> (supplier of updated vim-scripts package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 05 Jul 2008 09:50:50 -0400
Source: vim-scripts
Binary: vim-scripts
Architecture: source all
Version: 20080705-1
Distribution: unstable
Urgency: low
Maintainer: [EMAIL PROTECTED]
Changed-By: James Vega <[EMAIL PROTECTED]>
Description: 
 vim-scripts - plugins for vim, adding bells and whistles
Closes: 479132 483898 489239
Changes: 
 vim-scripts (20080705-1) unstable; urgency=low
 .
   [ martin f. krafft ]
   * Updated addons:
     - Markdown syntax
 .
   [ James Vega ]
   * Updated addons:
     - NERD Commenter, vcscommand, cvsmenu
   * Added patches:
     - closetag-sanity.dpatch: Ensure b:unaryTagsStack is defined when calling
       GetCloseTag.  (Closes: #489239)
     - lbdbq-query.dpatch: Ensure there are enough fields to build the results
       list.  Thanks to Luca Invernizzi for the patch.  (Closes: #483898)
   * debian/control: Bump standards-version to 3.8.0 -- no changes needed.
   * Change versioning back to non-native since the package is a collection of
     non-native upstream sources.  Use date of when the scripts were updated as
     version.  (Closes: #479132)
Checksums-Sha1: 
 458055925ca88f6f66b72d1e7e0c2584a9e02723 1394 vim-scripts_20080705-1.dsc
 af9a35018be828e3e34fce19e512421b8ca69d23 715022 
vim-scripts_20080705.orig.tar.gz
 a38b32f88be46c0518d40a332359e252b7a2a64c 21979 vim-scripts_20080705-1.diff.gz
 752e54b43c36ecea497da462ce69358ac69f79c3 739096 vim-scripts_20080705-1_all.deb
Checksums-Sha256: 
 a9a97fbfce5ba9fedb6395f80e634c19e7cc813167fd3ed6fdcd009ae17e16d7 1394 
vim-scripts_20080705-1.dsc
 41a5bcf81d102ead79b32507d6abb1c36aaf403e40464bbfe2301d9688b0fb1f 715022 
vim-scripts_20080705.orig.tar.gz
 db58d70504ca175ce523f88a7dc0e77257880610d471bdaf9e5887c15aed7040 21979 
vim-scripts_20080705-1.diff.gz
 46371afc8133415da6fa327755b716a563a1569cf6c0bc596913211c503af625 739096 
vim-scripts_20080705-1_all.deb
Files: 
 b70a14a378353b7f336be1729098c4c7 1394 editors optional 
vim-scripts_20080705-1.dsc
 35e5f33e786bc2a4eaff7745a8962c20 715022 editors optional 
vim-scripts_20080705.orig.tar.gz
 c5107fbfb5180e2d7c43445256c31ac3 21979 editors optional 
vim-scripts_20080705-1.diff.gz
 0ad9417eafe4060b2680480857ab97e9 739096 editors optional 
vim-scripts_20080705-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkhvf5cACgkQDb3UpmEybUDb3wCgkzltJzfvd/kG1y2PB3RXB2lb
THoAoIJMPb8NbYb5wWofzVYslxoKf+c4
=9u5O
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to