From: Bryce H. <br...@os...> - 2003-04-25 17:52:13
|
I got the following warning when running sandweb-admin after installation: Using a hash as a reference is deprecated at ../lib/SandWeb/Config.pm line 352. Using a hash as a reference is deprecated at ../lib/SandWeb/Config.pm line 353. sandweb was unable to find its config files. It was looking in ../etc instead of ../etc/sandweb. Furthermore, relative paths did not seem to work properly at all. I changed all instances of '../etc' to '/usr/local/etc/sandweb'. For some reason that I could not determine, the javascript for one of the tests in repository.js always fails. This is the isEmpty(document.repository.repo_root.value) validation command. The other validation commands work fine. I tried it on Konqueror and Netscape 4.x. I ended up just commenting it out. I was getting errors when trying to update user info and it wasn't "setting". On line 2977 it sets the user params via: $user->{'personal'}->{"$param"} = param("$param") || ''; However there was no $user->{'personal'} value in the $user hash at this point so it failed. To fix this I added above the loop: $user->{personal} = { }; create_repo() always seems to return success, even when it actually fails. Also, the way it writes the XML files appears to be in error. I can add a new repos but when I look at the list of repositories, instead of showing a single repos with the name I gave, it shows repositories with each of the fieldnames of a repository. I suspect this issue may be related to the 'using hash as a reference' issue above. After having gone through all that, I was finally able to select the repository and request checkout of the module 'foo' I needed. However, it simply errored saying something about "Filename foo could not be found". All that I really need is to connect this to a single cvs repository, and the number of users is going to be determinant, so if I could just write the config files manually to set up the repository and users, that would help. What I'm trying to determine is if it is possible to edit text files through this interface and have them automatically get checked back into cvs. I see that there is an edit_file.html template, and am curious to see how this works. Thanks, Bryce On Fri, 25 Apr 2003, Nick Jennings wrote: > On Fri, Apr 25, 2003 at 09:09:33AM -0700, Bryce Harrington wrote: > > I was playing around a bit with Sandweb (the release candidate), but > > have been having a lot of difficulty getting it to work properly. Is > > the next release scheduled for release soon? > > Hi Bryce, the installation shouldn't be a problem, what difficulties > are you having? > > - Nick > |