From: heino <he...@ie...> - 2003-04-14 13:53:23
|
Hi! After my Installation on Mandrake 9.1 (shouldn`t matter!) I can`t use 'sandweb-admin --add-user bob', because of ????? I got this as error, but my Perl is not as well as to follow this error and fix to a specific error! This is my output : _______ [root@unsa cgi-bin]# sandweb-admin --add-user bob Using a hash as a reference is deprecated at /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 352. Using a hash as a reference is deprecated at /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 353. unable to open config file: ../etc/sandweb.cfg return data: <pre>$VAR1 = { 'errlev' => 0, 'data' => {} }; </pre>[root@unsa cgi-bin]# _______ I got the 66.67% error with 'make test' but there was a thread and there was told to go on with 'make install' " ... it should run ...." This is what I get after 'make test' : _______ [root@unsa sandweb]# make test cp bin/sandweb-admin blib/script/sandweb-admin /usr/bin/perl5.8.0 "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/sandweb-admin PERL_DL_NONLAZY=1 /usr/bin/perl5.8.0 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/auth..........ok t/file..........ok t/repository....ok 8/190+1 Records ein 0+1 Records aus Can't call method "debug" without a package or object reference at /space/sandweb/blib/lib/SandWeb/Repository/cvs.pm line 2603. t/repository....dubious Test returned status 1 (wstat 256, 0x100) Scalar found where operator expected at (eval 151) line 1, near "'int' $__val" (Missing operator before $__val?) DIED. FAILED tests 9-19 Failed 11/19 tests, 42.11% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/repository.t 1 256 19 11 57.89% 9-19 Failed 1/3 test scripts, 66.67% okay. 11/30 subtests failed, 63.33% okay. make: *** [test_dynamic] Fehler 2 [root@unsa sandweb]# _______ There should be an error here at my host, because nobody else is 'crying' here, but I don`t know where to start searching and for what! Help is really welcome! Thx for reading thru output `til here! Heino |
From: Rob H. <ro...@ro...> - 2003-04-14 18:00:41
|
Hello, On Mon, Apr 14, 2003 at 03:52:29PM +0200, heino wrote: > [root@unsa cgi-bin]# sandweb-admin --add-user bob > Using a hash as a reference is deprecated at > /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 352. > Using a hash as a reference is deprecated at > /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 353. > unable to open config file: ../etc/sandweb.cfg > return data: <pre>$VAR1 = { > 'errlev' => 0, > 'data' => {} > }; > </pre>[root@unsa cgi-bin]# Hmm.. well, the "Using a hash as a reference" warning is probably from Perl 5.8.0 ( we're still using 5.6 ), I should probably upgrade :) The "unable to open config file: ../etc/sandweb.cfg" is rather odd. Can you send your "install.cfg" to the list? > _______ > > I got the 66.67% error with 'make test' but there was a thread and there > was told to go on with 'make install' " ... it should run ...." > This is what I get after 'make test' : > > _______ > [root@unsa sandweb]# make test > cp bin/sandweb-admin blib/script/sandweb-admin > /usr/bin/perl5.8.0 "-MExtUtils::MY" -e "MY->fixin(shift)" > blib/script/sandweb-admin > PERL_DL_NONLAZY=1 /usr/bin/perl5.8.0 "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/auth..........ok > > t/file..........ok > > t/repository....ok 8/190+1 Records ein > > 0+1 Records aus > Can't call method "debug" without a package or object reference at > /space/sandweb/blib/lib/SandWeb/Repository/cvs.pm line 2603. > t/repository....dubious I figured out what this is, it's because I negelected to update the test after adding a password file ( it makes the password handling more secure ). It's just the test that is broken, SandWeb itself is ok. > > Test returned status 1 (wstat 256, 0x100) > Scalar found where operator expected at (eval 151) line 1, near "'int' > $__val" > (Missing operator before $__val?) I haven't seen this, but it could be that perl 5.8 is more verbose. I'll have to check it out. > DIED. FAILED tests 9-19 > Failed 11/19 tests, 42.11% okay > Failed Test Stat Wstat Total Fail Failed List of Failed > ------------------------------------------------------------------------------- > t/repository.t 1 256 19 11 57.89% 9-19 > Failed 1/3 test scripts, 66.67% okay. 11/30 subtests failed, 63.33% okay. > make: *** [test_dynamic] Fehler 2 > [root@unsa sandweb]# > _______ > > There should be an error here at my host, because nobody else is > 'crying' here, but I don`t know where to start searching and for what! > Help is really welcome! > Thx for reading thru output `til here! > Heino Send your install.cfg, I don't know why sandweb-admin would be looking in "../etc" for sandweb.cfg The location of sandweb.cfg is set at install time. -- Rob |
From: Heino E. <hei...@ie...> - 2003-04-15 14:23:15
|
Am Mon, 2003-04-14 um 20.05 schrieb Rob Helmer: > Hello, > > > On Mon, Apr 14, 2003 at 03:52:29PM +0200, heino wrote: > > [root@unsa cgi-bin]# sandweb-admin --add-user bob > > Using a hash as a reference is deprecated at > > /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 352. > > Using a hash as a reference is deprecated at > > /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 353. > > unable to open config file: ../etc/sandweb.cfg > > return data: <pre>$VAR1 = { > > 'errlev' => 0, > > 'data' => {} > > }; > > </pre>[root@unsa cgi-bin]# > > Hmm.. well, the "Using a hash as a reference" warning is probably > from Perl 5.8.0 ( we're still using 5.6 ), I should probably upgrade :) > > The "unable to open config file: ../etc/sandweb.cfg" is rather > odd. Can you send your "install.cfg" to the list? I `ve made a link from /etc/sandweb.cfg ->/usr/local/etc/sandweb/sandweb.cfg When I start it from the root ('/') sandweb-admin was able to open ../etc/sandweb.cfg (there are no serious errors) : _______ [root@unsa /]# cd / [root@unsa /]# sandweb-admin --add-user bob Using a hash as a reference is deprecated at /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 352. Using a hash as a reference is deprecated at /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 353. Enter password for bob: Username bob successfully added! [root@unsa /]# _______ So this works, and I can log in now w my browser. But when I enter the Full Name and want to let write sandweb.cgi bob`s config-file, sandweb.cgi is "Unable write config file for bob." There must be something wrong with my Paths/Rights, I think! > Send your install.cfg, I don't know why sandweb-admin would be looking > in "../etc" for sandweb.cfg > > The location of sandweb.cfg is set at install time. I`ve download/unzip sandweb to this dir ('/space/sandweb'), customized the install.cfg (but it looked god, so I`ve done no changes) and typed 'make install'. Here is my install.cfg : _______ [root@unsa /]# locate install.cfg /space/sandweb/install.cfg /space/sandweb/debian/install.cfg [root@unsa /]# cat /space/sandweb/install.cfg # Installation configuration variables. package config; $bindir = '/usr/local/bin'; $cfgdir = '/usr/local/etc/sandweb'; $cgidir = '/var/www/cgi-bin'; $imgdir = '/var/www/images'; $tmpldir = '/usr/local/lib/sandweb/templates'; $cachedir = '/usr/local/share/sandweb'; $logdir = '/var/log'; $httpuser = 'www'; $expectbin = '/usr/bin/expect'; $ssh_bin = '/usr/bin/ssh'; $cvs_bin = '/usr/bin/cvs'; 1; [root@unsa /]# _______ I thought, that this are my dirs/places where sandweb looks and works after the installation, is this correct? All dirs/paths/_bins exists! I can use them manually! Hope this can help you to help me ;-) Thx Heino |
From: Rob H. <ro...@ro...> - 2003-04-17 18:24:33
|
On Tue, Apr 15, 2003 at 04:21:50PM +0200, Heino Erps wrote: > Am Mon, 2003-04-14 um 20.05 schrieb Rob Helmer: > # Installation configuration variables. > package config; > > $bindir = '/usr/local/bin'; > $cfgdir = '/usr/local/etc/sandweb'; > $cgidir = '/var/www/cgi-bin'; > $imgdir = '/var/www/images'; > $tmpldir = '/usr/local/lib/sandweb/templates'; > $cachedir = '/usr/local/share/sandweb'; > $logdir = '/var/log'; > $httpuser = 'www'; > $expectbin = '/usr/bin/expect'; > $ssh_bin = '/usr/bin/ssh'; > $cvs_bin = '/usr/bin/cvs'; Weird. Can you send your /usr/local/etc/sandweb/sandweb.cfg ? I'd like to take a look. Also, what version of SandWeb are you using? The other error you got looks like permissions, but I don't know what's going wrong. The install should take care of all that. Did "make install" ask you any questions? Also, I think I already asked, what OS are you using? Thanks, Rob |
From: Rob H. <ro...@ro...> - 2003-04-26 06:42:12
|
Hello, This bug seems to be that an unconfigured sandweb-admin gets installed into /usr/bin. Can you please try reinstalling sandweb, and removing /usr/bin/sandweb-admin ? This bug will be fixed in RC3, so alternatively you can just wait for that. -- Rob On Tue, Apr 15, 2003 at 04:21:50PM +0200, Heino Erps wrote: > Am Mon, 2003-04-14 um 20.05 schrieb Rob Helmer: > > Hello, > > > > > > On Mon, Apr 14, 2003 at 03:52:29PM +0200, heino wrote: > > > [root@unsa cgi-bin]# sandweb-admin --add-user bob > > > Using a hash as a reference is deprecated at > > > /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 352. > > > Using a hash as a reference is deprecated at > > > /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 353. > > > unable to open config file: ../etc/sandweb.cfg > > > return data: <pre>$VAR1 = { > > > 'errlev' => 0, > > > 'data' => {} > > > }; > > > </pre>[root@unsa cgi-bin]# > > > > Hmm.. well, the "Using a hash as a reference" warning is probably > > from Perl 5.8.0 ( we're still using 5.6 ), I should probably upgrade :) > > > > The "unable to open config file: ../etc/sandweb.cfg" is rather > > odd. Can you send your "install.cfg" to the list? > I `ve made a link from > /etc/sandweb.cfg ->/usr/local/etc/sandweb/sandweb.cfg > > When I start it from the root ('/') sandweb-admin was able to open > ../etc/sandweb.cfg (there are no serious errors) : > > _______ > [root@unsa /]# cd / > [root@unsa /]# sandweb-admin --add-user bob > Using a hash as a reference is deprecated at > /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 352. > Using a hash as a reference is deprecated at > /usr/lib/perl5/site_perl/5.8.0/SandWeb/Config.pm line 353. > Enter password for bob: > Username bob successfully added! > [root@unsa /]# > _______ > So this works, and I can log in now w my browser. > But when I enter the Full Name and want to let write sandweb.cgi bob`s > config-file, sandweb.cgi is "Unable write config file for bob." > There must be something wrong with my Paths/Rights, I think! > > > Send your install.cfg, I don't know why sandweb-admin would be looking > > in "../etc" for sandweb.cfg > > > > The location of sandweb.cfg is set at install time. > > I`ve download/unzip sandweb to this dir ('/space/sandweb'), customized > the install.cfg (but it looked god, so I`ve done no changes) and typed > 'make install'. > Here is my install.cfg : > _______ > [root@unsa /]# locate install.cfg > /space/sandweb/install.cfg > /space/sandweb/debian/install.cfg > > [root@unsa /]# cat /space/sandweb/install.cfg > # Installation configuration variables. > package config; > > $bindir = '/usr/local/bin'; > $cfgdir = '/usr/local/etc/sandweb'; > $cgidir = '/var/www/cgi-bin'; > $imgdir = '/var/www/images'; > $tmpldir = '/usr/local/lib/sandweb/templates'; > $cachedir = '/usr/local/share/sandweb'; > $logdir = '/var/log'; > $httpuser = 'www'; > $expectbin = '/usr/bin/expect'; > $ssh_bin = '/usr/bin/ssh'; > $cvs_bin = '/usr/bin/cvs'; > > 1; > [root@unsa /]# > _______ > > I thought, that this are my dirs/places where sandweb looks and works > after the installation, is this correct? > > All dirs/paths/_bins exists! I can use them manually! > Hope this can help you to help me ;-) > Thx Heino > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Sandweb-users mailing list > San...@li... > https://lists.sourceforge.net/lists/listinfo/sandweb-users > |