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.
# 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',
})
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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',
})
Do you still have this problem, or have you solved it? I am experiencing the exact same thing on my local system.
Thanks
Thomas
me tooooooooooooo.
why??
who can help us?
/Jing