Menu

Source script cannot find directory

Help
2003-07-25
2013-01-02
  • Paul Murphy

    Paul Murphy - 2003-07-25

    Hi all,

    I've got LXR indexing my files correctly, and I've wandered through various mod_perl issues, but when it comes to the money shot it won't display my files!!

    I get the following error from the source script.

    The directory /etv/home/paul/etv3/www/lxr/etv/CVS-REPOS// does not exist .

    ** Warning: Unable to open /etv/home/paul/etv3/www/lxr/etv/CVS-REPOS//

    Now this is weird because this is the directory that the files were indexed in.

    I've attached the relevant bits of my lxr.conf below. Any comments/insight are very gratefully welcomed.

    Cheers

    Paul

    # -*- mode: perl -*-
    # Configuration file
    #
    (
    {
      # Global configuration

      # 'glimpsebin'    => '/info/lxr/bin/glimpse',
      'ectagsbin'    => '/usr/local/bin/ctags',
      'tmpdir'        => '/tmp',
      # Location of the Generic.pm config file
      'genericconf' => '/home/paul/etv3/www/lxr/lib/LXR/Lang/generic.conf'

    },

    {
           # baseurl is used to select configuration block.

         'baseurl'        => 'http://192.168.1.7/paul/lxr',
         'virtroot'        => '/lxr',
        
         'variables' => {
         # Define typed variable "v", read valueset from file.
         'v' => {'name'    => 'Version',
    #         'range'   => [ readfile('src/cvsversions') ],

             # If files within a tree can have different versions,
             # e.g in a CVS tree, 'range' can be specified as a
             # function to call for each file:
             #'range'   => sub { return
             #            ($files->allreleases($LXR::Common::pathname),
             #             $files->allrevisions($LXR::Common::pathname))
             #            }, # deferred function call.

             'default' => 'Build-11'
    },
        

         },
        

    # sourceroot can either be the name of an ordinary directory
    # containing one directory for each version, or cvs: and the name of a
    # cvs repository

         'sourceroot'    => 'cvs:/etv/home/paul/etv3/www/lxr/etv/CVS-REPOS',
         'sourcerootname'    => 'eTV3',
    # where to look for include files inside the sourcetree
      'incprefix'    => ['/utils/include', '/tvia/include'],

      
       'dbname'        => 'dbi:Pg:dbname=lxr',
    # Used with the mysql backend
    #  'dbpass'        => 'foo',
    #  'dbuser'        => 'lxr'
      #     'dbname'        => 'src/db',
    })

     
    • banesong

      banesong - 2004-12-14

      Do you still have this problem, or have you solved it?  I am experiencing the exact same thing on my local system.

      Thanks

      Thomas

       
    • Jing

      Jing - 2006-01-04

      me tooooooooooooo.
      why??
      who can help us?

      /Jing

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.