Welcome to iraf.net Thursday, March 28 2024 @ 01:49 PM GMT


 Forum Index > Archives > Sitemail Archives
 help generation problem
   
Anonymous: Guest
 10/05/2005 02:42PM (Read 1869 times)  



Hi Olivier,There are several things we can try to pinpoint the problem.First, which version of IRAF have you installed? Was it the redhat 9
distribution?Second, could you send me the output of "hdbexamine verbose+"?Finally, could you send me the stack trace of mkhelpdb? You can turn
the stack trace on by typing "d_trace" before mkhelpdb. typing d_trace
again will turn it off. Could you also include the stack trace output
of "help images"?Regards,Phillip

 
Anonymous: Guest
 10/05/2005 02:42PM  



Hi Olivier,Thanks for the output from the traces. I have a few more things to try.If you have used a previous version of IRAF, there may be some settings
in the login.cl file that are in conflict with the new version. To test
this, make a new directory, cd to that directory, and run 'mkiraf', then
log into the cl. If you still have the error, then I suspect there are
still issues with the extern.pkg file.The issues with the extern.pkg file are as follows. As mentioned in my
first reply, there should be no empty lines within the quoted
definitions. You should also ensure that there are no trailing spaces
or tabs after the backslash that continues to the next line. If there
are spaces, the cl will interpret the backslash-space as an escaped
space, and hence will give errors. Also, if you are using emacs,
closing may not write the end-of-file marker. This EOF marker is needed
by the cl when interpreting the extern.pkg file.Finally, could you attatch your extern.pkg file in your reply (if you
still have problems), as well as your login.cl file?Regards,Phillipn Wed, 28 Jan 2004 18:22:49 +0100
Olivier HERENT <herent@isaac.u-strasbg.fr> wrote:>
>
> Phillip Warner wrote:
> > Hi Olivier,
> >
> > There are several things we can try to pinpoint the problem.
> >
> > First, which version of IRAF have you installed? Was it the redhat
> > 9 distribution?
>
> Yes, it is the redhat9 distribution at this adress
> ftp://iraf.noao.edu/iraf/v212/PCIX/redhat9/
> In fact I began to install a redhat classical distribution for redhat
> 5 or 6 and I get a problem with installation of external packages.
> rtar function doesn't work and compilation problem.
> With this version (redhat 9) all these problems disapeared! except the
> help function...
>
> > Second, could you send me the output of "hdbexamine verbose+"?
>
> package name `' (hd=) is not unique
> ERROR: helpdir: missing '=' in ldir declaration
>
>
>
> > Finally, could you send me the stack trace of mkhelpdb? You can
> > turn the stack trace on by typing "d_trace" before mkhelpdb. typing
> > d_trace again will turn it off.
>
> mkhelpdb
> ----- task cl -----
> 15+5: call mkhelpdb
> 20+2: exec
> ----- exec external task mkhelpdb -----
> mkhelpdb\nverbose=no\nmode="ql"\n$nargs=0\n
> --------------------------------
> ----- task mkhelpdb -----
> 24+4: inspect helpdir
> root help directory to be compiled (lib$root.hd):
> 28+2: end
> ----- task mkhelpdb -----
> 24+4: inspect helpdb
> name of help database to be created (lib$helpdb.mip):
> 28+2: end
> 1 root (lib$root.hd): 4 help modules
> 2 clpackage (lib$clpackage.hd): 1 help modules
> 3 clpackage (clpackage$clpackage.hd): 12 help modules
> 4 dataio (pkg$dataio/dataio.hd): 14 help modules
> (cannot access `pkg$dbms/dbms.hd')
> 4 images (pkg$images/images.hd): 8 help modules
> 5 imcoords (pkg$images/imcoords/imcoords.hd): 14 help
> modules 5 imfilter (pkg$images/imfilter/imfilter.hd): 14
> help modules 5 imfit (pkg$images/imfit/imfit.hd): 4 help
> modules 5 imgeom (pkg$images/imgeom/imgeom.hd): 10 help
> modules 5 immatch (pkg$images/immatch/immatch.hd): 19 help
> modules 5 imutil (pkg$images/imutil/imutil.hd): 24 help
> modules 5 tv (pkg$images/tv/tv.hd): 8 help modules
> 6 iis (images$tv/iis/iis.hd): 11 help modules
> 4 language (pkg$language/language.hd): 73 help modules
> 4 lists (pkg$lists/lists.hd): 9 help modules
> 4 obsolete (pkg$obsolete/obsolete.hd): 9 help modules
> 4 plot (pkg$plot/plot.hd): 28 help modules
> 4 proto (pkg$proto/proto.hd): 19 help modules
> 4 softools (pkg$softools/softools.hd): 14 help modules
> 4 system (pkg$system/system.hd): 36 help modules
> 4 utilities (pkg$utilities/utilities.hd): 11 help modules
> 4 xtools (pkg$xtools/doc/xtools.hd): 25 help modules
> 5 catquery (pkg$xtools/catquery/doc/catquery.hd): 46 help
> modules 5 skywcs (pkg$xtools/skywcs/doc/skywcs.hd): 19
> help modules 2 _sys (sys$_sys.hd): 1 help modules
> 3 sys (sys$sys.hd): 15 help modules
> 4 clio (sys$clio/doc/clio.hd): 36 help modules
> (cannot access `sys$dbio/doc/dbio.hd')
> (cannot access `sys$debug/doc/debug.hd')
> 4 etc (sys$etc/doc/etc.hd): 25 help modules
> 4 fio (sys$fio/doc/fio.hd): 50 help modules
> 4 fmtio (sys$fmtio/doc/fmtio.hd): 73 help modules
> (cannot access `sys$gio/doc/gio.hd')
> 4 imfort (sys$imfort/doc/imfort.hd): 38 help modules
> (cannot access `sys$imio/doc/imio.hd')
> (cannot access `sys$memio/doc/memio.hd')
> (cannot access `sys$mtio/doc/mtio.hd')
> 4 os (host$os/doc/os.hd): 64 help modules
> (cannot access `sys$tty/doc/tty.hd')
> (cannot access `sys$vops/doc/vops.hd')
> 2 _math (math$_math.hd): 1 help modules
> 3 math (math$math.hd): 11 help modules
> (cannot access `math$bevington/doc/bev.hd')
> 4 curfit (math$curfit/doc/curfit.hd): 20 help modules
> (cannot access `math$deboor/doc/deboor.hd')
> 4 gsurfit (math$gsurfit/doc/gsurfit.hd): 21 help modules
> (cannot access `math$ieee/doc/ieee.hd')
> 4 iminterp (math$iminterp/doc/iminterp.hd): 32 help modules
> (cannot access `math$interp/doc/interp.hd')
> (cannot access `math$llsq/doc/llsq.hd')
> 4 nlfit (math$nlfit/doc/nlfit.hd): 8 help modules
> 4 slalib (math$slalib/doc/slalib.hd): 179 help modules
> 4 surfit (math$surfit/doc/surfit.hd): 15 help modules
> 2 _doc (doc$_doc.hd): 1 help modules
> 3 doc (doc$doc.hd): 16 help modules
> 0 (_index): 42 help modules
> free(): invalid pointer 0xb73f102e!
>
> PANIC in `/iraf/iraf/bin.redhat/x_system.e': Memory has been corrupted
>
>
>
>
>
>
> Could you also include the stack trace output
> > of "help images"?
> This is not the stack trace of help images but the one of noao.
> Because I have made a mkhelpdb, the helpdb.mip has been empty (Before
> it was not). Hence, I untared again as.picx.gen.gz in /iraf/iraf to
> replace helpdb.mip. Now for help image I got only:
> No help available for `image'
> But the problem remains for noao:
>
> help noao
> ----- task cl -----
> 0+4: call help
> 4+7: pushconst `noao'
> 11+3: indirposset 0
> 14+2: exec
> ----- exec external task help -----
> help\ntemplate="noao"\nfile_template=no\noption="help"\n
> device="terminal"\nall=no\nparameter="all"\nsection="all
> "\n
> page=yes\nnlpp=59\nlmargin=1\nrmargin=72\nsearch=no\nhom
> e=""\n
> printer="printer"\nshowtype=no\nquickref="uparm$quick.re
> f"\n
> uifname="lib$scr/help.gui"\nhelpdb="helpdb"\ncurpack="As
> kCL"\n mode="ql"\n$nargs=1\n
> --------------------------------
> ----- task help -----
> 18+4: call stty
> 22+7: pushconst `resize'
> 29+3: indirposset 0
> 32+2: exec
> ----- exec builtin stty -----
> 34+2: end
> ----- task help -----
> 18+5: call _curpack
> 23+2: exec
> ----- exec builtin _curpack -----
> 25+2: end
> ----- task help -----
> 18+4: call error
> 22+5: pushconst 14
> 27+3: posargset 0
> 30+16: pushconst `helpdir: missing '=' in ldir
> declaration' 46+3: posargset 1
> 49+2: exec
> ----- exec builtin error -----
> ERROR: helpdir: missing '=' in ldir declaration
>
>

 
Anonymous: Guest
 10/05/2005 02:42PM  



On Wed, 28 Jan 2004 21:46:44 +0100
Olivier HERENT <herent@isaac.u-strasbg.fr> wrote:> I have made some attempts in the extern.pkg file. In this file when I
> remove # for local stuff I get the same error for help images.
> But if I keep these # I get No help available for `images' and ERROR:
> helpdir: missing '=' in ldir declaration for help noao.
> I'm so sorry to bother you about that but I have miserably failed...
> And on Wed, 28 Jan 2004 21:58:36 +0100
Olivier HERENT <herent@isaac.u-strasbg.fr> wrote:> I have put # on the help line for noao and now I get the help for
> images!! It seems there is a problem for the other lines of help...
> Hi Olivier,There is a possibility that when you downloaded the as.pcix.gen.gz file,
that it didn't fully complete. Could you perform a checksum on this
file, e.g., 'sum as.pcix.gen.gz' and send that information to me?Also, could you do the same for the lib$helpdb.mip file as well?Regards,Phillip

 
Anonymous: Guest
 10/05/2005 02:42PM  



On Thu, 29 Jan 2004 09:35:11 +0100
Olivier HERENT <herent@isaac.u-strasbg.fr> wrote:> Hi Phillip,
>
> sum as.pcix.gen.gz
> 26350 29896
>
> sum lib$helpdb.mip
> 43695 83
>
> Cheers,
>
> Olivier
>
Hi Olivier,The checksum on helpdb.mip appears to match what I have for the
different redhat versions. However, the as.pcix.gen.gz does not match.
Here is the results I get from checksumming the two versions:64437 29896 rh9/as.pcix.gen.gz (RH version = 9)
24935 27962 rh/as.pcix.gen.gz (RH version < 9)I would suggest that you download the redhat9 as.pcix.gen.gz file again,
as your previous download may have been corrupted somehow. Also be sure
that you set the download mode to 'binary'. Run the checksum on the
file to be sure that the sum matches what I have above. Once you verify
that they match, you should uncompress/untar that file.I hope that helps.Regards,Phillip

 
Anonymous: Guest
 10/05/2005 02:42PM  



On Thu, 29 Jan 2004 19:10:50 +0100
Olivier HERENT <herent@isaac.u-strasbg.fr> wrote:> Hi Philip,
>
> Something very interesting:
> command help doesn't work even after dowloading a new version of
> as.pcix.gen. But command "? task" is working fine!!!!! for all the
> tasks !!!! I do not understand anyting.
>
> Cheers,
>
> Olivier
> Hi Olivier,Are you having the same errors while running 'help'?You may want to double check the checksums for the ib.rhux.x86.gz and
the nb.rhux.x86.gz files to ensure that neither of these were
corrupted.17551 12929 ib.rhux.x86.gz
18764 12924 redhat9/ib.rhux.x86.gz46662 18306 nb.rhux.x86.gz
51075 18293 redhat9/nb.rhux.x86.gzIf the files you downloaded either match the version for older redhat
systems, or do not match any of these at all, you should download those
files again as well.I hope that helps.Cheers,Phillip

 
Anonymous: Guest
 10/05/2005 02:42PM  



Post generated using Mail2Forum (http://www.mail2forum.com)

 
Anonymous: Guest
 10/05/2005 02:42PM  



On Tue, 03 Feb 2004 15:05:11 +0100
Olivier HERENT <herent@isaac.u-strasbg.fr> wrote:> Hi Phillip,
>
> Command implot dev$pix doesn't work properly. I manage to get the
> graphic but when I want to quit I get:
> PANIC in `/sandbox/astrosoft/iraf/iraf/bin.redhat/x_plot.e': Memory
> has been corrupted
>
> sum x_system.e
> 30985 686
>
> ldd x_system.e
> libm.so.6 => /lib/tls/libm.so.6 (0xb75b6000)
> libc.so.6 => /lib/tls/libc.so.6 (0xb747e000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0xb75eb000)
>
> cl> reset helpdb=lib$helpdb.mip
> cl> flpr 0
> cl> help noao -> No help available for `noao'
> cl> help images -> No help available for `images'
> cl> help implot -> No help available for `implot'
>
> cl> reset helpdb=noao$lib/helpdb.mip
> cl> help images -> No help available for `images'
> cl> help noao -> return the help
> cl> help daophot -> return the help
>
> cl> reset helpdb=lib$helpdb.mip,noao$lib/helpdb.mip
> cl> help images -> ERROR: helpdir: missing '=' in ldir declaration
> cl> help noao -> return the help
> cl> help daophot -> return the help
>
> Cheers,
>
> Olivier
>
Hi Olivier,Have you tried running either of the following as root? sysctl -w kernel.exec-shield=0
or
echo 0 > /proc/sys/kernel/exec-shieldIf you cannot run these as root (i.e., no root access), you will need to
have your systems administrator make these modifications.Could you also send me the output from "rpm -qa | grep glibc"? This
shows the version of glibc that is on your system.Also, what is the value of $host (i.e., 'echo $host' on the unix
command-line)?There is also the option that I could login to your machine and test it
from here. If you would like to do that, I would need access to the
iraf user.Regards,Phillip

 
Anonymous: Guest
 10/05/2005 02:42PM  



Hi Olivier,We were able to track down the problems with the memory corruption.Basically, the problem could have been fixed by disabling
exec-shielding, however, RHE3 does not have this feature (Fedora does).The workaround has already been added to your system, which is simply a
line added to cl.csh (in $iraf/unix/hlib/). This line is: limit stacksize unlimitedYou may wish to install V2.12.2, which will be released soon. This
release addresses a number of issues and bugs, and will include the
workaround above.You may also want to do more testing if you still plan to use V2.12.1
for a while. When I attempted to compile a task, it failed (which is
one issue supposedly fixed in the new release.Let us know if you have further questions or problems.Cheers,Phillip

 
   

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login