Package: linda
Version: 0.3.16
Severity: normal

This happens on my geneweb package:

Now running linda...
Check MenuCheck failed. Exception KeyError thrown ('command').

Please find attached a complete log of this, running "linda --debug
--traceback"

I also attach the menu file which I suspect triggers this.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.UTF-8)

Versions of packages linda depends on:
ii  binutils                      2.16.1-3   The GNU assembler, linker and bina
ii  dash                          0.5.2-7    The Debian Almquist Shell
ii  file                          4.12-1     Determines file type using "magic"
ii  man-db                        2.4.3-2    The on-line manual pager
ii  python                        2.3.5-3    An interactive high-level object-o

Versions of packages linda recommends:
ii  debian-policy                 3.6.2.1    Debian Policy Manual and related d

-- no debconf information
D: Command line arguments: {'info': 0, 'files': 
['/home/bubulle/src/debian/geneweb/geneweb_4.10-10_i386.changes', 
'/home/bubulle/src/debian/geneweb/geneweb_4.10-10.dsc', 
'/home/bubulle/src/debian/geneweb/geneweb_4.10-10_i386.deb', 
'/home/bubulle/src/debian/geneweb/gwtp_4.10-10_i386.deb'], 'profiling': 0, 
'verbose': 0, 'traceback': 1, 'no-cull': 0, 'quiet': 0, 'print-overrides': 0, 
'seteuid': 0, 'show-overridden': 0, 'debug': 1, 'disable-local': 0, 'types': 
['E', 'W']}.
D: Files: ['/home/bubulle/src/debian/geneweb/geneweb_4.10-10_i386.changes', 
'/home/bubulle/src/debian/geneweb/geneweb_4.10-10.dsc', 
'/home/bubulle/src/debian/geneweb/geneweb_4.10-10_i386.deb', 
'/home/bubulle/src/debian/geneweb/gwtp_4.10-10_i386.deb']
D: Processing file: geneweb_4.10-10_i386.changes
D: Instantiating check: ChangesCheck
D: Calling ChangesCheck.check_changes_1().
D: Processing file: geneweb_4.10-10.dsc
D: Creating lab directory: /tmp/linda-lab-27264.
D: Parsed .dsc: <linda.parser.dsc.DSCParser instance at 0xb7ceaa2c>.
D: Instantiating check: StandardsVersionCheck
D: Calling StandardsVersionCheck.check_source_1().
D: Printing data from /usr/share/linda/data/standardsversion.data.
D: Jumping to level 2 (source)
D: Untaring source: geneweb_4.10.orig.tar.gz
D: Applying patch: geneweb_4.10-10.diff.gz.
D: Instantiating check: ChangelogCheck
D: Calling ChangelogCheck.check_source_2().
D: Instantiating check: CDBSCheck
D: Calling CDBSCheck.check_source_2().
D: Instantiating check: ControlCheck
D: Calling ControlCheck.check_source_2().
D: Instantiating check: DebhelperCheck
D: Calling DebhelperCheck.check_source_2().
D: Instantiating check: ExampleFilesCheck
D: Calling ExampleFilesCheck.check_source_2().
D: Instantiating check: FilesCheck
D: Calling FilesCheck.check_source_2().
D: Printing data from /usr/share/linda/data/debhelper.data.
D: Printing data from /usr/share/linda/data/cdbs.data.
D: Printing data from /usr/share/linda/data/examplefiles.data.
D: Printing data from /usr/share/linda/data/control.data.
D: Printing data from /usr/share/linda/data/changelog.data.
D: Printing data from /usr/share/linda/data/files.data.
D: Removing lab directory: /tmp/linda-lab-27264.
D: Processing file: geneweb_4.10-10_i386.deb
D: Creating lab directory: /tmp/linda-lab-38724.
D: Unpacking binary, level 1
D: Instantiating check: ControlFilesCheck
D: Calling ControlFilesCheck.check_binary_1().
D: Instantiating check: ControlCheck
D: Calling ControlCheck.check_binary_1().
D: Instantiating check: DebconfCheck
D: Calling DebconfCheck.check_binary_1().
D: Instantiating check: DpkgCheck
D: Calling DpkgCheck.check_binary_1().
D: Printing data from /usr/share/linda/data/dpkg.data.
D: Printing data from /usr/share/linda/data/debconf.data.
D: Printing data from /usr/share/linda/data/controlfiles.data.
D: Printing data from /usr/share/linda/data/control.data.
D: Jumping to level 2 (binary)
D: Instantiating check: ChangelogCheck
D: Calling ChangelogCheck.check_binary_2().
D: Instantiating check: BinaryCheck
D: Calling BinaryCheck.check_binary_2().
D: Instantiating check: ConfigFileCheck
D: Calling ConfigFileCheck.check_binary_2().
D: Conffiles: {'/etc/init.d/geneweb': ('/etc/init.d', 'geneweb'), 
'/etc/logrotate.d/geneweb': ('/etc/logrotate.d', 'geneweb')}
D: Instantiating check: DocumentationCheck
D: Calling DocumentationCheck.check_binary_2().
D: Instantiating check: CopyrightCheck
D: Calling CopyrightCheck.check_binary_2().
D: Instantiating check: ExampleFilesCheck
D: Calling ExampleFilesCheck.check_binary_2().
D: Instantiating check: FilesCheck
D: Calling FilesCheck.check_binary_2().
D: Instantiating check: LibraryCheck
D: Calling LibraryCheck.check_binary_2().
D: Instantiating check: PerlCheck
D: Calling PerlCheck.check_binary_2().
D: Instantiating check: ShebangCheck
D: Calling ShebangCheck.check_binary_2().
D: Instantiating check: MenuCheck
D: Calling MenuCheck.check_binary_2().
Check MenuCheck failed. Exception KeyError thrown ('command').
Traceback (most recent call last):
  File "/usr/lib/site-python/linda/libchecks.py", line 129, in apply
    method()
  File "/usr/share/linda/checks/menu.py", line 13, in check_binary_2
    self.check_commands()
  File "/usr/share/linda/checks/menu.py", line 33, in check_commands
    commands.append(stanza['fields']['command'])
KeyError: 'command'
D: Checking overrides for empty-directory-in-pkg.
D: Printing data from /usr/share/linda/data/documentation.data.
D: Printing data from /usr/share/linda/data/menu.data.
D: Printing data from /usr/share/linda/data/library.data.
D: Printing data from /usr/share/linda/data/perl.data.
D: Printing data from /usr/share/linda/data/shebang.data.
D: Printing data from /usr/share/linda/data/copyright.data.
D: Printing data from /usr/share/linda/data/examplefiles.data.
D: Printing data from /usr/share/linda/data/files.data.
D: Told to skip type Informational.
D: Printing data from /usr/share/linda/data/changelog.data.
D: Printing data from /usr/share/linda/data/binary.data.
D: Printing data from /usr/share/linda/data/configfile.data.
D: Removing lab directory: /tmp/linda-lab-38724.
D: Processing file: gwtp_4.10-10_i386.deb
D: Creating lab directory: /tmp/linda-lab-47833.
D: Unpacking binary, level 1
D: Instantiating check: ControlFilesCheck
D: Calling ControlFilesCheck.check_binary_1().
D: Instantiating check: ControlCheck
D: Calling ControlCheck.check_binary_1().
D: Instantiating check: DebconfCheck
D: Calling DebconfCheck.check_binary_1().
D: Instantiating check: DpkgCheck
D: Calling DpkgCheck.check_binary_1().
D: Printing data from /usr/share/linda/data/dpkg.data.
D: Printing data from /usr/share/linda/data/debconf.data.
D: Printing data from /usr/share/linda/data/controlfiles.data.
D: Printing data from /usr/share/linda/data/control.data.
D: Jumping to level 2 (binary)
D: Instantiating check: ChangelogCheck
D: Calling ChangelogCheck.check_binary_2().
D: Instantiating check: BinaryCheck
D: Calling BinaryCheck.check_binary_2().
D: Instantiating check: ConfigFileCheck
D: Calling ConfigFileCheck.check_binary_2().
D: Conffiles: {'/etc/geneweb/gwtp/lang/lexicon.txt': ('/etc/geneweb/gwtp/lang', 
'lexicon.txt'), '/etc/logrotate.d/gwtp': ('/etc/logrotate.d', 'gwtp'), 
'/etc/geneweb/gwtp/lang/send.txt': ('/etc/geneweb/gwtp/lang', 'send.txt'), 
'/etc/geneweb/gwtp/lang/recv.txt': ('/etc/geneweb/gwtp/lang', 'recv.txt'), 
'/etc/geneweb/gwtp/lang/send_gedcom.txt': ('/etc/geneweb/gwtp/lang', 
'send_gedcom.txt'), '/etc/geneweb/gwtp/default.gwf': ('/etc/geneweb/gwtp', 
'default.gwf'), '/etc/geneweb/gwtp/lang/conf.txt': ('/etc/geneweb/gwtp/lang', 
'conf.txt'), '/etc/geneweb/gwtp/passwd': ('/etc/geneweb/gwtp', 'passwd')}
D: Instantiating check: DocumentationCheck
D: Calling DocumentationCheck.check_binary_2().
D: Instantiating check: CopyrightCheck
D: Calling CopyrightCheck.check_binary_2().
D: Instantiating check: ExampleFilesCheck
D: Calling ExampleFilesCheck.check_binary_2().
D: Instantiating check: FilesCheck
D: Calling FilesCheck.check_binary_2().
D: Instantiating check: LibraryCheck
D: Calling LibraryCheck.check_binary_2().
D: Instantiating check: PerlCheck
D: Calling PerlCheck.check_binary_2().
D: Instantiating check: ShebangCheck
D: Calling ShebangCheck.check_binary_2().
D: Instantiating check: MenuCheck
D: Calling MenuCheck.check_binary_2().
D: Checking overrides for no-upstream-changelog.
D: Printing data from /usr/share/linda/data/documentation.data.
D: Printing data from /usr/share/linda/data/menu.data.
D: Printing data from /usr/share/linda/data/library.data.
D: Printing data from /usr/share/linda/data/perl.data.
D: Printing data from /usr/share/linda/data/shebang.data.
D: Printing data from /usr/share/linda/data/copyright.data.
D: Printing data from /usr/share/linda/data/examplefiles.data.
D: Printing data from /usr/share/linda/data/files.data.
D: Printing data from /usr/share/linda/data/changelog.data.
D: Told to skip type Informational.
D: Printing data from /usr/share/linda/data/binary.data.
D: Printing data from /usr/share/linda/data/configfile.data.
D: Removing lab directory: /tmp/linda-lab-47833.
?package(geneweb):\
needs="X11"\
section="Apps/Tools"\
title="Geneweb"\
longtitle="Geneweb genealogy software"\
hints="genealogy"\
command="/usr/bin/x-www-browser http://localhost:2317"\
icon="/usr/share/pixmaps/geneweb.xpm"

?package(geneweb):\
needs="text"\
section="Apps/Tools"\
title="Geneweb"\
longtitle="Geneweb genealogy software"\
hints="genealogy"\
command="/usr/bin/www-browser http://localhost:2317"\
icon="/usr/share/pixmaps/geneweb.xpm"

Reply via email to