vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] Tags not working, how to diagnose?


From: Chris G
Subject: Re: [vile] Tags not working, how to diagnose?
Date: Sat, 20 Oct 2007 20:26:58 +0100
User-agent: Mutt/1.5.16 (2007-06-09)

On Sat, Oct 20, 2007 at 11:53:58AM -0400, Paul Fox wrote:
> chris wrote:
>  > Same directory, same file that vile can't read/see for some reason.
>  > 
>  > As a final test I copied the whole directory where I just did the
>  > successful test on my work system to my home system and tried vile
>  > there.  With the identical tags file that works with vile on Fedora 7
>  > at work I get "[No tags file available.]".
> 
> would it be worth running with strace, to see where vile is actually
> looking for the file?
> 
Here's the (hopefully) relevant bit of the result:-

    rt_sigprocmask(SIG_BLOCK, [ALRM], [], 8) = 0
    select(1, [0], NULL, NULL, {0, 0})      = 0 (Timeout)
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
    access("tags", R_OK)                    = 0
    stat("/home/chris/wmsfixbuildTFEE7.5.0dev/SUN5/TV", {st_mode=S_IFDIR|0775, 
st_size=4096, ...>
    write(1, "\33[76;1H[No tags file available.]", 32) = 32
    write(1, "\33[37;27H", 8)               = 8
    rt_sigprocmask(SIG_BLOCK, [ALRM], [], 8) = 0
    select(1, [0], NULL, NULL, {0, 0})      = 0 (Timeout)
    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0


It's as if the stat() call isn't returning a sensible/correct value.

If I do "ls -al" in /home/chris/wmsfixbuildTFEE7.5.0dev/SUN5/TV I get:-

    drwxrwxr-x 2 chris chris   4096 2007-10-20 20:19 .
    drwxrwxr-x 3 chris chris   4096 2007-10-20 15:11 ..
    -r--r--r-- 1 chris chris   2212 2007-10-20 15:11 Makefile
    -rw-r--r-- 1 chris chris  38795 2007-10-20 15:11 tags
    -r--r--r-- 1 chris chris 100412 2007-10-20 15:11 TV_absence.C
    -r--r--r-- 1 chris chris   9563 2007-10-20 15:11 TV_absence.h
    -r--r--r-- 1 chris chris  31900 2007-10-20 15:11 TV_absence.sql
    -r--r--r-- 1 chris chris  47261 2007-10-20 15:11 TV.C
    -r--r--r-- 1 chris chris  11350 2007-10-20 15:11 TV_ch.C
    -r--r--r-- 1 chris chris     93 2007-10-20 15:11 TV_ch.cfg
    -r--r--r-- 1 chris chris   6543 2007-10-20 15:11 TV_ch_tlv.C
    -r--r--r-- 1 chris chris  11773 2007-10-20 15:11 TV_class.h
    -r--r--r-- 1 chris chris  13576 2007-10-20 15:11 TV_delete.C
    -r--r--r-- 1 chris chris   3011 2007-10-20 15:11 TV_delete.sql
    -r--r--r-- 1 chris chris   6687 2007-10-20 15:11 TV_dt.C
    -r--r--r-- 1 chris chris   1620 2007-10-20 15:11 TV_dt.h
    -r--r--r-- 1 chris chris   1489 2007-10-20 15:11 TV_dt_test.C
    -r--r--r-- 1 chris chris   5621 2007-10-20 15:11 TV_linktest.C
    -r--r--r-- 1 chris chris   5426 2007-10-20 15:11 TV_lock.sql
    -r--r--r-- 1 chris chris   2212 2007-10-20 15:11 TV.mk
    -r--r--r-- 1 chris chris    508 2007-10-20 15:11 TV_peek.C
    -r--r--r-- 1 chris chris  15831 2007-10-20 15:11 TV_request.C
    -r--r--r-- 1 chris chris  10332 2007-10-20 15:11 TV_response.C
    -r--r--r-- 1 chris chris   2614 2007-10-20 15:11 TV_sh.C
    -r--r--r-- 1 chris chris   6524 2007-10-20 15:11 TV.sql
    -r--r--r-- 1 chris chris   1611 2007-10-20 15:11 TV_stream_id.h
    -r--r--r-- 1 chris chris   6555 2007-10-20 15:11 TV_suspend.C
    -r--r--r-- 1 chris chris 119419 2007-10-20 15:11 TV_update.C
    -r--r--r-- 1 chris chris    677 2007-10-20 15:11 TV_update.h
    -r--r--r-- 1 chris chris  14472 2007-10-20 15:11 TV_update.sql
    -r--r--r-- 1 chris chris  84269 2007-10-20 15:11 TV_wkg_hrs.C
    -r--r--r-- 1 chris chris   7048 2007-10-20 15:11 TV_wkg_hrs.h
    -r--r--r-- 1 chris chris  26974 2007-10-20 15:11 TV_wkg_hrs.sql
    -rw-rw-r-- 1 chris chris  85543 2007-10-20 20:20 vile.trace

Looks OK to me.

-- 
Chris Green




reply via email to

[Prev in Thread] Current Thread [Next in Thread]