Bug#482490: wrong error msg when file not found in jed library dir

G. Milde milde at users.sf.net
Fri May 23 07:21:02 UTC 2008


Package: jed
Version: 1:0.99.18+dfsg.1-10
Severity: minor


When Jed is told to evaluate a file (evalfile(), autoload() or require()) it
searches it in the "jed library path" (Jed 0.99.19 will look in the "slang
search path).

If the file is not found in the search path, the error message contains only
the last directory of the search path, e.g.:

S-Lang> message(get_jed_library_path);
  
 /usr/share/jed/lib,usr/share/jed/jed-extra/utils/,/usr/share/jed/jed-extra/

S-Lang> require("pcre");

 Unable to load /usr/share/jed/jed-extra/pcre.slc

This message can lead non-experts to the wrong conclusions, trying to find
out why pcre.slc is missing in /usr/share/jed/jed-extra/ while the reason
for this error is, that /usr/share/slsh/ is missing from the jed-library-path
(cf. Bug #482487).

Guenter



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

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages jed depends on:
ii  jed-common           1:0.99.18+dfsg.1-10 S-Lang runtime files for jed and x
ii  libc6                2.7-10              GNU C Library: Shared libraries
ii  libgpmg1             1.20.3~pre3-3       General Purpose Mouse - shared lib
ii  libslang2            2.1.3-3             The S-Lang programming library - r

jed recommends no packages.

-- no debconf information





More information about the Pkg-jed-devel mailing list