From: Meinolf S. <uc...@de...> - 2003-05-11 18:08:32
|
* Quoting Rob Helmer <ro...@ro...>: Hello Rob, > 1) install the debian package > 2) edit /etc/sandweb.cfg, turn "debug" on > 3) use SandWeb, and you'll see debug info at the bottom > of each page. Done. > We have a debug msg for each file that's opened using the > Browse object, so that should help us figure out what the > problem is. > > So, your steps inside SandWeb should be : > > 1) go to "repository" menu, set up connection to remote/local > repository > 2) go to "sandbox" menu, checkout module > 3) check pop-up output, did the checkout go ok? Well, the checkout was okay (I didn't notice any error messages), but I believe I should have seen some more files. > 4) click on module's name in the "sandbox" menu I only saw directories ... > 5) send debug output to this list :) I'll attach /var/log/sandweb.log here. DEBUG: SandWeb::Auth username: ms, password: abd14c3e099496b8377238593c0258c4 LOG: ms logged on. LOG: ms logged on. DEBUG: main entering sandbox_menu() DEBUG: main action: repository - submit: DEBUG: main module_description: DEBUG: main loading prefs DEBUG: main <pre> $VAR1 = bless( { 'repo' => {}, 'config_dir' => '/usr/share/sandweb/users/ms', 'config_file' => '.user.cfg', 'personal' => { 'full_name' => 'Meinolf Sander', 'confirm_delete' => 'on' }, 'log_obj' => bless( { 'debug_msgs' => [ '(main) action: repository - submit: ', '(main) module_description: ', '(main) loading prefs' ], 'log_dir' => '/var/log', 'toggle' => { 'log' => '1', 'debug' => '1' } }, 'SandWeb::Log' ) }, 'SandWeb::Config' ); </pre> DEBUG: main entering repository_menu DEBUG: main <pre>$VAR1 = { 'new_repository' => '', 'repo_root' => '', 'repo_name' => '', 'remember_repo_password' => '', 'repo_connection' => '', 'ck_auth' => 'wUIPWFYCPEGq3RXOoyAz', 'repository_selected' => '', 'repo_username' => '', 'repo_type' => '', 'repo_server' => '' }; </pre> DEBUG: main @repos: repository_selected: 'Add a new repository' DEBUG: main action: repository - submit: Commit DEBUG: main module_description: DEBUG: main loading prefs DEBUG: main <pre> $VAR1 = bless( { 'repo' => {}, 'config_dir' => '/usr/share/sandweb/users/ms', 'config_file' => '.user.cfg', 'personal' => { 'full_name' => 'Meinolf Sander', 'confirm_delete' => 'on' }, 'log_obj' => bless( { 'debug_msgs' => [ '(main) action: repository - submit: Commit', '(main) module_description: ', '(main) loading prefs' ], 'log_dir' => '/var/log', 'toggle' => { 'log' => '1', 'debug' => '1' } }, 'SandWeb::Log' ) }, 'SandWeb::Config' ); </pre> DEBUG: main <pre>$VAR1 = { 'new_repository' => '', 'submit' => 'Commit', 'repo_root' => '/var/local/cvs', 'repo_name' => 'GRUB', 'repo_password' => 'testpass', 'remember_repo_password' => 'on', 'repo_connection' => 'local', 'ck_auth' => 'wUIPWFYCPEGq3RXOoyAz', 'repository_selected' => 'Add a new repository', 'repo_username' => 'ms', 'repo_type' => 'CVS', 'repo_server' => 'localhost' }; </pre> DEBUG: main creating /usr/share/sandweb/users/ms/GRUB DEBUG: SandWeb::File creating folder : /usr/share/sandweb/users/ms/GRUB DEBUG: SandWeb::File::Unix creating folder : /usr/share/sandweb/users/ms/GRUB DEBUG: main done Add a new repository 'Commit' DEBUG: main write_config() DEBUG: main entering repository_menu DEBUG: main <pre>$VAR1 = { 'ck_auth' => 'wUIPWFYCPEGq3RXOoyAz', 'repository_selected' => 'GRUB' }; </pre> DEBUG: main @repos: GRUB repository_selected: 'GRUB' DEBUG: main action: sandbox - submit: DEBUG: main module_description: DEBUG: main loading prefs DEBUG: main <pre> $VAR1 = bless( { 'repo' => { 'GRUB' => { 'password' => 'testpass', 'root' => '/var/local/cvs', 'server' => 'localhost', 'name' => 'GRUB', 'module' => {}, 'remember_repo_password' => 'on', 'username' => 'ms', 'connection' => 'local', 'type' => 'CVS' } }, 'config_dir' => '/usr/share/sandweb/users/ms', 'config_file' => '.user.cfg', 'personal' => { 'full_name' => 'Meinolf Sander', 'confirm_delete' => 'on' }, 'log_obj' => bless( { 'debug_msgs' => [ '(main) action: sandbox - submit: ', '(main) module_description: ', '(main) loading prefs' ], 'log_dir' => '/var/log', 'toggle' => { 'log' => '1', 'debug' => '1' } }, 'SandWeb::Log' ) }, 'SandWeb::Config' ); </pre> DEBUG: main entering sandbox_menu() DEBUG: main action: sandbox - submit: Checkout DEBUG: main module_description: testdescr DEBUG: main loading prefs DEBUG: main <pre> $VAR1 = bless( { 'repo' => { 'GRUB' => { 'password' => 'testpass', 'root' => '/var/local/cvs', 'server' => 'localhost', 'name' => 'GRUB', 'module' => {}, 'remember_repo_password' => 'on', 'username' => 'ms', 'connection' => 'local', 'type' => 'CVS' } }, 'config_dir' => '/usr/share/sandweb/users/ms', 'config_file' => '.user.cfg', 'personal' => { 'full_name' => 'Meinolf Sander', 'confirm_delete' => 'on' }, 'log_obj' => bless( { 'debug_msgs' => [ '(main) action: sandbox - submit: Checkout', '(main) module_description: testdescr ', '(main) loading prefs' ], 'log_dir' => '/var/log', 'toggle' => { 'log' => '1', 'debug' => '1' } }, 'SandWeb::Log' ) }, 'SandWeb::Config' ); </pre> DEBUG: SandWeb::Config module_description = 'testdescr' DEBUG: main write_config() DEBUG: main module_name: DEBUG: main username: ms DEBUG: main location: DEBUG: main main_window_url: http://localhost/cgi-bin/sandweb.cgi?action=sandbox DEBUG: main Repo name: GRUB DEBUG: main Repo root: /var/local/cvs DEBUG: main VCS sandbox: /usr/share/sandweb/users/ms/GRUB// DEBUG: main Repo type: CVS DEBUG: main Filename(s): grub-0.93 DEBUG: SandWeb::Repository Performing checkout operation DEBUG: SandWeb::Repository Params: file grub-0.93 DEBUG: SandWeb::Repository::cvs Performing checkout operation DEBUG: SandWeb::Repository::cvs Params: checkout -d grub-0.93 DEBUG: SandWeb::Repository::cvs File: grub-0.93 DEBUG: SandWeb::Repository::cvs Creating Shell object DEBUG: SandWeb::Shell VCS call to Unix shell DEBUG: SandWeb::Shell VCS command is : cd /usr/share/sandweb/users/ms/GRUB// && MESSAGE_FILE="/usr/share/sandweb/users/ms/commitmsg" && export MESSAGE_FILE && CVSEDITOR=/usr/bin/sandweb-editor && export CVSEDITOR && SSH_BIN=/usr/bin/ssh && export SSH_BIN && CVS_RSH=/usr/bin/sandweb-ssh && export CVS_RSH && /usr/bin/cvs -q -d /var/local/cvs checkout -d grub-0.93 'grub-0.93' DEBUG: SandWeb::Shell Not using VCS username/password DEBUG: main action: sandbox - submit: DEBUG: main module_description: DEBUG: main loading prefs DEBUG: main <pre> $VAR1 = bless( { 'repo' => { 'GRUB' => { 'password' => 'testpass', 'root' => '/var/local/cvs', 'server' => 'localhost', 'name' => 'GRUB', 'module' => { 'grub-0.93' => { 'description' => 'testdescr', 'name' => 'grub-0.93' } }, 'remember_repo_password' => 'on', 'username' => 'ms', 'connection' => 'local', 'type' => 'CVS' } }, 'config_dir' => '/usr/share/sandweb/users/ms', 'config_file' => '.user.cfg', 'personal' => { 'full_name' => 'Meinolf Sander', 'confirm_delete' => 'on' }, 'log_obj' => bless( { 'debug_msgs' => [ '(main) action: sandbox - submit: ', '(main) module_description: ', '(main) loading prefs' ], 'log_dir' => '/var/log', 'toggle' => { 'log' => '1', 'debug' => '1' } }, 'SandWeb::Log' ) }, 'SandWeb::Config' ); </pre> DEBUG: main entering sandbox_menu() DEBUG: main action: browse_module - submit: DEBUG: main module_description: DEBUG: main loading prefs DEBUG: main <pre> $VAR1 = bless( { 'repo' => { 'GRUB' => { 'password' => 'testpass', 'root' => '/var/local/cvs', 'server' => 'localhost', 'name' => 'GRUB', 'module' => { 'grub-0.93' => { 'description' => 'testdescr', 'name' => 'grub-0.93' } }, 'remember_repo_password' => 'on', 'username' => 'ms', 'connection' => 'local', 'type' => 'CVS' } }, 'config_dir' => '/usr/share/sandweb/users/ms', 'config_file' => '.user.cfg', 'personal' => { 'full_name' => 'Meinolf Sander', 'confirm_delete' => 'on' }, 'log_obj' => bless( { 'debug_msgs' => [ '(main) action: browse_module - submit: ', '(main) module_description: ', '(main) loading prefs' ], 'log_dir' => '/var/log', 'toggle' => { 'log' => '1', 'debug' => '1' } }, 'SandWeb::Log' ) }, 'SandWeb::Config' ); </pre> DEBUG: main entering browse_module_menu() DEBUG: main creating Repository object DEBUG: main creating Browse object DEBUG: main creating File object DEBUG: SandWeb::Browse Opened folder : /usr/share/sandweb/users/ms/GRUB/grub-0.93/ DEBUG: SandWeb::Browse Entries : . .. CVS docs grub lib netboot stage1 stage2 util DEBUG: SandWeb::Browse Return: CVS docs grub lib netboot stage1 stage2 util DEBUG: main action: browse_module - submit: DEBUG: main module_description: DEBUG: main loading prefs DEBUG: main <pre> $VAR1 = bless( { 'repo' => { 'GRUB' => { 'password' => 'testpass', 'root' => '/var/local/cvs', 'server' => 'localhost', 'name' => 'GRUB', 'module' => { 'grub-0.93' => { 'description' => 'testdescr', 'name' => 'grub-0.93' } }, 'remember_repo_password' => 'on', 'username' => 'ms', 'connection' => 'local', 'type' => 'CVS' } }, 'config_dir' => '/usr/share/sandweb/users/ms', 'config_file' => '.user.cfg', 'personal' => { 'full_name' => 'Meinolf Sander', 'confirm_delete' => 'on' }, 'log_obj' => bless( { 'debug_msgs' => [ '(main) action: browse_module - submit: ', '(main) module_description: ', '(main) loading prefs' ], 'log_dir' => '/var/log', 'toggle' => { 'log' => '1', 'debug' => '1' } }, 'SandWeb::Log' ) }, 'SandWeb::Config' ); </pre> DEBUG: main entering browse_module_menu() DEBUG: main creating Repository object DEBUG: main creating Browse object DEBUG: main creating File object DEBUG: SandWeb::Browse Opened folder : /usr/share/sandweb/users/ms/GRUB/grub-0.93//docs DEBUG: SandWeb::Browse Entries : . .. CVS DEBUG: SandWeb::Browse Return: CVS > Thanks, > Rob Thanks to you, Meinolf -- Q: Heard about the <ethnic> who couldn't spell? A: He spent the night in a warehouse. |