[Lxr-dev] Re: lxr some problems & an Oracle AddOn
Brought to you by:
ajlittoz
From: Malcolm B. <ma...@br...> - 2002-02-26 14:54:10
|
Hi Jens, Heimann, Jens wrote: >Hi Malcolm, hi all, > >[for Malcolm] >1) first much thanks for your support the last times!! >perhaps you remember my last problems, with ident? the solution was, that my >ectags was not e - enough!! (too old unix version) there where no >warnings/failure - messages to see it easy! > I'm glad you managed to sort that one out - it had me stumped. I'll see if there's some way to add a version check to the ctags stuff - shouldn't be too hard. As you say, currently you don't get any warning, and with all the different versions of ctags around that's A Bad Thing. >- an idea for a next version of lxr: the "buttons":< source navigation, diff >markup, identifier search, freetext search, file search > should be simple >to disable (in lxr.conf or lxr.css) > They are easy to disable - simply edit the html-head template to not include the $modes expression and they will vanish. >[for all] >2) I have something to expand the lxr (Oracle-DB support, see attached file >(archive), i hope i don't forgot anything) > Excellent, thank you very much. I'll add this to CVS. I can't test this out, so if anyone else would like to bash on it that would be good. >[surely all] >3) I have a few problems/question > >- my most ugly problem: file and directory -names that contains a "+" cannot >be opended in the webpart of lxr!! i get the failure: > ** Fatal: Can't open /view/[...]/ThirdParty/ACE TAO/ at >lib/LXR/Files/Plain.pm line 103 > --> ACE TAO is really named ACE+TAO >knows somebody a solution to get this possible?? > The problem is in the http_wash function in Common.pm. It is used to clean up filenames and other data from the web browser before passing it to any internal routines. For security, it's pretty anal about what it lets through - and one of the characters it replaces is '+'. I'm not yet sure what the security implications of changing this are, but if you can live with the uncertainty then just comment out the line that reads: $t =~ s/\+/ /g; >- i get the failure-Message: "Can't run ectags, Not enough space at >lib/LXR/Lang/Generic.pm line 66." while genxref?? does somebody know what >the problem is?? do you know a solution? if i try to start the >error-throwing file with ectags in the shell there seems to be no problem!? > No idea - line 66 in Generic.pm doesn't even access ctags - the error message you quote appears to come from line 102 (as of current CVS version of LXR). Assuming you mean that line, I can't see what could cause this to run out of space. All I can suggest is stepping though it in the debugger and seeing what shows up. >- if i restart the webserver (iPlanet) and i restart the lxr-tool, >(http://[webserver]:[port]/lxr/source) i get the failure: Can't find >Database! [...] the Message comes from Index.pm and it acts, because dbname >ist empty!! It is not realy a problem, because i can push refresh in the >browser and everything is OK!! but i'am very pleased if somebody has a >solution! > This error message is usually caused by not being able to setup the configuration properly from lxr.conf. I'm adding some more diagnostic code to Config.pm to help show this up. >thanks for lxr! > You're welcome - and thanks for the Oracle support! Malcolm |