I have installed lxr-cvs(0.9.5) on Unbuntu 8.10 (Intrepid), Genxref was able to index my source code and the appropriate swish-e indexes were generated. I can manually query the indexes.
I am using Apache2 mod_perl, i am able to browse(navigate) the source code via the web interface, but when i click on an identifier or search of an identifier it always says 0 results found, which is not true, since i can manually query the swish-e indexes and it works fine. Below i have listed my lxr-cvs installation paths..
The swish-e indexes and directory paths are properly specified in lxr.conf, i say this since the indexes were generated correctly.
Is there a way i can enable any debugging info so i can know why swish-e is failing to get any results?
I have the same problem with 0.9.6 and glimpse. Everything looks OK but I get no results when I click on an identifier or enter an identifier. This is on fedora 11 x86_64. General searches work OK it seems. Identifier search worked ok with 0.9.6 on fedora 8 i386. I have selinux disabled. I am stumped...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Got it to work by not using mod_perl: Use ScriptAlias in httpd.conf and .htaccess.cgi for .htaccess. It appears there is still something wrong with the "release" table column or something based on these error.log messages when using mod-perl:
[Tue Jul 28 23:32:47 2009] warning: LXR::Index::Mysql, line 175: DBD::mysql::st execute failed: Unknown column 'r.release' in 'where clause' at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/LXR/Index/Mysql.pm line 175.
[Tue Jul 28 23:34:15 2009] [warn] -T switch is ignored, enable with 'PerlSwitches -T' in httpd.conf\n
[Tue Jul 28 23:34:15 2009] warning: LXR::Index::Mysql, line 158: DBD::mysql::st execute failed: Unknown column 'r.release' in 'where clause' at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/LXR/Index/Mysql.pm line 158.
[Tue Jul 28 23:34:15 2009] warning: LXR::Index::Mysql, line 175: DBD::mysql::st execute failed: Unknown column 'r.release' in 'where clause' at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/LXR/Index/Mysql.pm line 175.
[Tue Jul 28 23:34:18 2009] [warn] -T switch is ignored, enable with 'PerlSwitches -T' in httpd.conf\n
[Tue Jul 28 23:34:23 2009] [warn] -T switch is ignored, enable with 'PerlSwitches -T' in httpd.conf\n
[Tue Jul 28 23:34:24 2009] [warn] -T switch is ignored, enable with 'PerlSwitches -T' in httpd.conf\n
[Tue Jul 28 23:34:28 2009] [warn] -T switch is ignored, enable with 'PerlSwitches -T' in httpd.conf\n
[Tue Jul 28 23:34:30 2009] [warn] -T switch is ignored, enable with 'PerlSwitches -T' in httpd.conf\n
[Tue Jul 28 23:34:37 2009] warning: LXR::Index::Mysql, line 158: DBD::mysql::st execute failed: Unknown column 'r.release' in 'where clause' at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/LXR/Index/Mysql.pm line 158.
[Tue Jul 28 23:34:37 2009] warning: LXR::Index::Mysql, line 175: DBD::mysql::st execute failed: Unknown column 'r.release' in 'where clause' at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/LXR/Index/Mysql.pm line 175.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Try using 0.9.6 - there have been a TON of fixes and changes since 0.9.5 that are in the new release. I've successfully used it for swish-e and glimpse.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have installed lxr-cvs(0.9.5) on Unbuntu 8.10 (Intrepid), Genxref was able to index my source code and the appropriate swish-e indexes were generated. I can manually query the indexes.
I am using Apache2 mod_perl, i am able to browse(navigate) the source code via the web interface, but when i click on an identifier or search of an identifier it always says 0 results found, which is not true, since i can manually query the swish-e indexes and it works fine. Below i have listed my lxr-cvs installation paths..
The swish-e indexes and directory paths are properly specified in lxr.conf, i say this since the indexes were generated correctly.
Is there a way i can enable any debugging info so i can know why swish-e is failing to get any results?
Thanks,
-rcn
/.
/etc
/etc/lxr-cvs
/etc/lxr-cvs/html-dir.html
/etc/lxr-cvs/html-find.html
/etc/lxr-cvs/html-head.html
/etc/lxr-cvs/html-ident-refs.html
/etc/lxr-cvs/html-ident.html
/etc/lxr-cvs/html-search-glimpse.html
/etc/lxr-cvs/html-search-swish.html
/etc/lxr-cvs/html-tail.html
/etc/lxr-cvs/lxr.conf
/etc/lxr-cvs/lxr.css
/etc/apache2
/etc/apache2/conf.d
/etc/apache2/conf.d/lxr-cvs.apache2
/usr
/usr/bin
/usr/bin/genxref
/usr/lib
/usr/lib/cgi-bin
/usr/lib/cgi-bin/lxr
/usr/lib/cgi-bin/lxr/diff
/usr/lib/cgi-bin/lxr/find
/usr/lib/cgi-bin/lxr/ident
/usr/lib/cgi-bin/lxr/search
/usr/lib/cgi-bin/lxr/source
/usr/share
/usr/share/doc
/usr/share/doc/lxr-cvs
/usr/share/doc/lxr-cvs/examples
/usr/share/doc/lxr-cvs/examples/htaccess
/usr/share/doc/lxr-cvs/examples/htaccess_cgi
/usr/share/doc/lxr-cvs/examples/initdb-mysql
/usr/share/doc/lxr-cvs/examples/initdb-oracle.sql
/usr/share/doc/lxr-cvs/examples/initdb-postgres
/usr/share/doc/lxr-cvs/examples/notes
/usr/share/doc/lxr-cvs/examples/swish-e.conf
/usr/share/doc/lxr-cvs/CREDITS.txt
/usr/share/doc/lxr-cvs/BUGS
/usr/share/doc/lxr-cvs/HACKING
/usr/share/doc/lxr-cvs/README.Debian
/usr/share/doc/lxr-cvs/copyright
/usr/share/doc/lxr-cvs/INSTALL.gz
/usr/share/doc/lxr-cvs/changelog.Debian.gz
/usr/share/perl5
/usr/share/perl5/LXR
/usr/share/perl5/LXR/Common.pm
/usr/share/perl5/LXR/Config.pm
/usr/share/perl5/LXR/Files
/usr/share/perl5/LXR/Files/Plain.pm
/usr/share/perl5/LXR/Files/BK.pm
/usr/share/perl5/LXR/Files/CVS.pm
/usr/share/perl5/LXR/Files/GIT.pm
/usr/share/perl5/LXR/Files.pm
/usr/share/perl5/LXR/Index
/usr/share/perl5/LXR/Index/Mysql.pm
/usr/share/perl5/LXR/Index/DB.pm
/usr/share/perl5/LXR/Index/DBI.pm
/usr/share/perl5/LXR/Index/Oracle.pm
/usr/share/perl5/LXR/Index/Postgres.pm
/usr/share/perl5/LXR/Index.pm
/usr/share/perl5/LXR/Lang
/usr/share/perl5/LXR/Lang/Cobol.pm
/usr/share/perl5/LXR/Lang/Generic.pm
/usr/share/perl5/LXR/Lang/Java.pm
/usr/share/perl5/LXR/Lang/Perl.pm
/usr/share/perl5/LXR/Lang/Python.pm
/usr/share/perl5/LXR/Lang/ectags.conf
/usr/share/perl5/LXR/Lang/ectags.conf.documentation
/usr/share/perl5/LXR/Lang/generic.conf
/usr/share/perl5/LXR/Lang.pm
/usr/share/perl5/LXR/Local.pm
/usr/share/perl5/LXR/SimpleParse.pm
/usr/share/perl5/LXR/Tagger.pm
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/genxref.1.gz
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/lxr-cvs
/var
/var/lib
/var/lib/lxr-cvs
/var/lib/lxr-cvs/index
/usr/lib/cgi-bin/lxr/lxr.css
I have the same problem with 0.9.6 and glimpse. Everything looks OK but I get no results when I click on an identifier or enter an identifier. This is on fedora 11 x86_64. General searches work OK it seems. Identifier search worked ok with 0.9.6 on fedora 8 i386. I have selinux disabled. I am stumped...
Correction: Worked ok with 0.9.5 on fedora 8.
Got it to work by not using mod_perl: Use ScriptAlias in httpd.conf and .htaccess.cgi for .htaccess. It appears there is still something wrong with the "release" table column or something based on these error.log messages when using mod-perl:
[Tue Jul 28 23:32:47 2009] warning: LXR::Index::Mysql, line 175: DBD::mysql::st execute failed: Unknown column 'r.release' in 'where clause' at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/LXR/Index/Mysql.pm line 175.
[Tue Jul 28 23:34:15 2009] [warn] -T switch is ignored, enable with 'PerlSwitches -T' in httpd.conf\n
[Tue Jul 28 23:34:15 2009] warning: LXR::Index::Mysql, line 158: DBD::mysql::st execute failed: Unknown column 'r.release' in 'where clause' at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/LXR/Index/Mysql.pm line 158.
[Tue Jul 28 23:34:15 2009] warning: LXR::Index::Mysql, line 175: DBD::mysql::st execute failed: Unknown column 'r.release' in 'where clause' at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/LXR/Index/Mysql.pm line 175.
[Tue Jul 28 23:34:18 2009] [warn] -T switch is ignored, enable with 'PerlSwitches -T' in httpd.conf\n
[Tue Jul 28 23:34:23 2009] [warn] -T switch is ignored, enable with 'PerlSwitches -T' in httpd.conf\n
[Tue Jul 28 23:34:24 2009] [warn] -T switch is ignored, enable with 'PerlSwitches -T' in httpd.conf\n
[Tue Jul 28 23:34:28 2009] [warn] -T switch is ignored, enable with 'PerlSwitches -T' in httpd.conf\n
[Tue Jul 28 23:34:30 2009] [warn] -T switch is ignored, enable with 'PerlSwitches -T' in httpd.conf\n
[Tue Jul 28 23:34:37 2009] warning: LXR::Index::Mysql, line 158: DBD::mysql::st execute failed: Unknown column 'r.release' in 'where clause' at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/LXR/Index/Mysql.pm line 158.
[Tue Jul 28 23:34:37 2009] warning: LXR::Index::Mysql, line 175: DBD::mysql::st execute failed: Unknown column 'r.release' in 'where clause' at /usr/lib64/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/LXR/Index/Mysql.pm line 175.
Try using 0.9.6 - there have been a TON of fixes and changes since 0.9.5 that are in the new release. I've successfully used it for swish-e and glimpse.