Bug#592693: fv: incorrect path to help files
Package: fv
Version: 3.0-17
Severity: normal
To reproduce:
% fv
select the 'help' item from the main menu
this results in an error message box containing this:
-------------------------------------- start -------------------------------
couldn't open "/usr/lib/fv/doc/deskTopManager.html": no such file or directory
couldn't open "/usr/lib/fv/doc/deskTopManager.html": no such file or directory
while executing
"error $err"
(object "::.hyperHelp" method "::iwidgets::Hyperhelp::_readtopic" body line 19)
invoked from within
"_readtopic $filepath $anchorpart"
(object "::.hyperHelp" method "::iwidgets::Hyperhelp::showtopic" body line 21)
invoked from within
".hyperHelp showtopic $topic"
(procedure "hhelp" line 23)
invoked from within
"hhelp deskTopManager"
invoked from within
".fvwinkeeper.menu invoke active"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke active]"
(procedure "tkMenuInvoke" line 47)
invoked from within
"tkMenuInvoke .fvwinkeeper.menu 1
"
(command bound to event)
-------------------------------------- end -------------------------------
The file is actually in /usr/share/doc/fv.
% ls -l /usr/lib/fv
drwxr-xr-x 2 root root 4096 2010-08-12 14:24 class/
-rw-r--r-- 1 root root 482 2000-11-23 02:38 fvInit.tcl
% ls -l /usr/share/doc/fv/fv/ | grep deskT
-rw-r--r-- 1 root root 2832 2000-11-23 02:38 deskTopManager.html
The problem appears to be in /usr/lib/fv/fvInit.tcl,
# Add pathes for help files.
set env(FV_HELPDIR) [file join "$env(FITSVIEWER_LIBRARY)" doc]
but I'm not sure what the correct patch is, possibly setting FV_HELPDIR
in the /usr/bin/fv wrapper and checking for it being set in fvInit.tcl.
-- System Information:
Debian Release: 5.0.4
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages fv depends on:
ii itcl3.1 3.1.0-9 [incr Tcl] OOP extension for Tcl 8
ii itk3.1 3.1.0-9 [incr Tk] OOP extension for Tk 8.3
ii iwidgets3.1 3.1.0-9 [incr Widgets] OOP extension for T
ii libc6 2.7-18lenny4 GNU C Library: Shared libraries
ii libcfitsio3 3.080-2 shared library for I/O with FITS f
fv recommends no packages.
fv suggests no packages.
-- no debconf information
Reply to: