From liuchangjohn at gmail.com Thu Dec 1 10:49:22 2005 From: liuchangjohn at gmail.com (liu chang) Date: Thu, 1 Dec 2005 23:49:22 +0800 Subject: [Borges-users] Problem running /borges/config Message-ID: <94e43e390512010749o3e7c9c83qf223afa99814f88d@mail.gmail.com> Hi, I've subscribed to this mailing list for a while and apparently there's not much traffic going on... Anyway, finally got around to try borges out and when I go to http://localhost:7000/borges/config I get the following error: wrong number of arguments (0 for 1) /usr/local/lib/ruby/site_ruby/1.8/Borges/Session/AuthenticatedSession.rb:20:in `start' /usr/local/lib/ruby/site_ruby/1.8/Borges/Session/AuthenticatedSession.rb:20:in `start' /usr/local/lib/ruby/site_ruby/1.8/Borges/Session/AuthenticatedSession.rb:19:in `call' /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:114:in `filter' /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:51:in `basic_auth_do' /usr/local/lib/ruby/site_ruby/1.8/Borges/Session/AuthenticatedSession.rb:19:in `start' /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:105:in `enter_session_with' /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:105:in `call' /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:96:in `enter_session' /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:94:in `call' /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:310:in `with_error_handler' /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:94:in `enter_session' /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:93:in `call' /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:319:in `with_escape_continuation' /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:317:in `callcc' /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:317:in `with_escape_continuation' /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:93:in `enter_session' (Many more lines) Is there anything wrong with my setup? I'm running ruby 1.8.2 (2004-12-25) [powerpc-darwin7.8.0] on Mac OS X 10.3. Regards, Liu Chang From liuchangjohn at gmail.com Sat Dec 3 11:15:37 2005 From: liuchangjohn at gmail.com (liu chang) Date: Sun, 4 Dec 2005 00:15:37 +0800 Subject: [Borges-users] Problem running /borges/config In-Reply-To: <94e43e390512010749o3e7c9c83qf223afa99814f88d@mail.gmail.com> References: <94e43e390512010749o3e7c9c83qf223afa99814f88d@mail.gmail.com> Message-ID: <94e43e390512030815ia94413bp80903a34495caafe@mail.gmail.com> On 12/1/05, liu chang wrote: > Hi, > > I've subscribed to this mailing list for a while and apparently > there's not much traffic going on... Anyway, finally got around to try > borges out and when I go to > > http://localhost:7000/borges/config > > I get the following error: > > wrong number of arguments (0 for 1) > > /usr/local/lib/ruby/site_ruby/1.8/Borges/Session/AuthenticatedSession.rb:20:in > `start' > /usr/local/lib/ruby/site_ruby/1.8/Borges/Session/AuthenticatedSession.rb:20:in > `start' > /usr/local/lib/ruby/site_ruby/1.8/Borges/Session/AuthenticatedSession.rb:19:in > `call' > /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:114:in > `filter' > /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:51:in > `basic_auth_do' > /usr/local/lib/ruby/site_ruby/1.8/Borges/Session/AuthenticatedSession.rb:19:in > `start' > /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:105:in > `enter_session_with' > /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:105:in `call' > /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:96:in > `enter_session' > /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:94:in `call' > /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:310:in > `with_error_handler' > /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:94:in > `enter_session' > /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:93:in `call' > /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:319:in > `with_escape_continuation' > /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:317:in > `callcc' > /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:317:in > `with_escape_continuation' > /usr/local/lib/ruby/site_ruby/1.8/Borges/RequestHandler/Session.rb:93:in > `enter_session' > > (Many more lines) > > Is there anything wrong with my setup? I'm running ruby 1.8.2 > (2004-12-25) [powerpc-darwin7.8.0] on Mac OS X 10.3. > > Regards, > Liu Chang > I haven't fixed the problem but if I changed Component/ApplicationList.rb:75 from register_authenticated_application('config', 'seaside', 'admin') to register_application('config') then it works. Liu Chang From eule at space.ch Thu Dec 8 04:44:31 2005 From: eule at space.ch (Kaspar Schiess) Date: Thu, 8 Dec 2005 10:44:31 +0100 Subject: [Borges-users] Problem running /borges/config In-Reply-To: <94e43e390512030815ia94413bp80903a34495caafe@mail.gmail.com> References: <94e43e390512010749o3e7c9c83qf223afa99814f88d@mail.gmail.com> <94e43e390512030815ia94413bp80903a34495caafe@mail.gmail.com> Message-ID: Hello, The config application has been somewhat neglected in the past, since we want to come up with a on the fly application loading scheme as in cocoon etc... - so the present smalltalkish config didn't help much. Thank you for pointing out a bug and I will see to it that it is fixed in CVS. Best regards, kaspar